Wax.Messages.Interactive.Section.Row (wax v1.1.4)

A Section Row struct

It is used in Interactive type messages

Summary

Functions

Creates a new section row object

Validates that the Row struct follows the Cloud API requirements

Types

t()

@type t() :: %Wax.Messages.Interactive.Section.Row{
  description: String.t(),
  id: String.t(),
  title: String.t()
}

Functions

new(id, title, description \\ nil)

@spec new(String.t(), String.t(), String.t()) :: t()

Creates a new section row object

validate(row)

@spec validate(t()) :: :ok | {:error, String.t()}

Validates that the Row struct follows the Cloud API requirements