A section of an interactive list message (Unicom360.WhatsApp.Session.list/5): rows of
Unicom360.WhatsApp.ListRow, with an optional title. The builder also takes maps.
Summary
Functions
Builds a section, with an optional title.
Types
@type t() :: %Unicom360.WhatsApp.ListSection{ rows: [Unicom360.WhatsApp.ListRow.t() | map()], title: String.t() | nil }
Functions
@spec new([Unicom360.WhatsApp.ListRow.t() | map()], String.t() | nil) :: t()
Builds a section, with an optional title.