Unicom360.WhatsApp.ListRow (Unicom360 v0.1.0)

Copy Markdown View Source

A row of an interactive list message (Unicom360.WhatsApp.Session.list/5). The builder also takes maps.

Summary

Functions

Builds a row, with an optional description.

Types

t()

@type t() :: %Unicom360.WhatsApp.ListRow{
  description: String.t() | nil,
  id: String.t(),
  title: String.t()
}

Functions

new(id, title, description \\ nil)

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

Builds a row, with an optional description.