Module: CloudWaba::Models::Templates

Defined in:
lib/cloud_waba/models/templates/list.rb,
lib/cloud_waba/models/templates/button.rb,
lib/cloud_waba/models/templates/example.rb,
lib/cloud_waba/models/templates/response.rb,
lib/cloud_waba/models/templates/component.rb,
lib/cloud_waba/models/templates/buttons/otp.rb,
lib/cloud_waba/models/templates/buttons/url.rb,
lib/cloud_waba/models/templates/body_component.rb,
lib/cloud_waba/models/templates/footer_component.rb,
lib/cloud_waba/models/templates/message_template.rb,
lib/cloud_waba/models/templates/buttons/copy_code.rb,
lib/cloud_waba/models/templates/buttons_component.rb,
lib/cloud_waba/models/templates/buttons/quick_reply.rb,
lib/cloud_waba/models/templates/buttons/phone_number.rb,
lib/cloud_waba/models/templates/header_text_component.rb,
lib/cloud_waba/models/templates/header_media_component.rb,
lib/cloud_waba/models/templates/header_location_component.rb

Defined Under Namespace

Modules: Buttons Classes: BodyComponent, ButtonsComponent, Example, FooterComponent, HeaderLocationComponent, HeaderMediaComponent, HeaderTextComponent, List, MessageTemplate, Response

Constant Summary collapse

Button =
T.type_alias do
  T.any(
    ::CloudWaba::Models::Templates::Buttons::CopyCode,
    ::CloudWaba::Models::Templates::Buttons::Otp,
    ::CloudWaba::Models::Templates::Buttons::PhoneNumber,
    ::CloudWaba::Models::Templates::Buttons::QuickReply,
    ::CloudWaba::Models::Templates::Buttons::Url,
  )
end
Component =
T.type_alias do
  T.any(
    ::CloudWaba::Models::Templates::HeaderTextComponent,
    ::CloudWaba::Models::Templates::HeaderMediaComponent,
    ::CloudWaba::Models::Templates::HeaderLocationComponent,
    ::CloudWaba::Models::Templates::BodyComponent,
    ::CloudWaba::Models::Templates::FooterComponent,
    ::CloudWaba::Models::Templates::ButtonsComponent,
  )
end