Unicom360.WhatsApp.TemplateButtonInfo (Unicom360 v0.1.0)

Copy Markdown View Source

A button of an approved template (Unicom360.WhatsApp.TemplateInfo): index, type ("url", "quick_reply", "otp", ...; open), and text, url and otp_type when the type has them.

Summary

Types

t()

@type t() :: %Unicom360.WhatsApp.TemplateButtonInfo{
  extra: map(),
  index: non_neg_integer() | nil,
  otp_type: String.t() | nil,
  raw: map(),
  text: String.t() | nil,
  type: String.t() | nil,
  url: String.t() | nil
}