Class: Telnyx::Models::Whatsapp::WhatsappTemplateFooterComponent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Whatsapp::WhatsappTemplateFooterComponent
- Defined in:
- lib/telnyx/models/whatsapp/whatsapp_template_footer_component.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#code_expiration_minutes ⇒ Integer?
OTP code expiration time in minutes.
-
#text ⇒ String?
Footer text.
- #type ⇒ Symbol, Telnyx::Models::Whatsapp::WhatsappTemplateFooterComponent::Type
Instance Method Summary collapse
-
#initialize(type:, code_expiration_minutes: nil, text: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see WhatsappTemplateFooterComponent for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(type:, code_expiration_minutes: nil, text: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Whatsapp::WhatsappTemplateFooterComponent for more details.
Optional footer displayed at the bottom of the message. Does not support variables.
|
|
# File 'lib/telnyx/models/whatsapp/whatsapp_template_footer_component.rb', line 25
|
Instance Attribute Details
#code_expiration_minutes ⇒ Integer?
OTP code expiration time in minutes. Used in AUTHENTICATION template footers instead of free-form text.
17 |
# File 'lib/telnyx/models/whatsapp/whatsapp_template_footer_component.rb', line 17 optional :code_expiration_minutes, Integer |
#text ⇒ String?
Footer text. Maximum 60 characters. For non-authentication templates.
23 |
# File 'lib/telnyx/models/whatsapp/whatsapp_template_footer_component.rb', line 23 optional :text, String |
#type ⇒ Symbol, Telnyx::Models::Whatsapp::WhatsappTemplateFooterComponent::Type
10 |
# File 'lib/telnyx/models/whatsapp/whatsapp_template_footer_component.rb', line 10 required :type, enum: -> { Telnyx::Whatsapp::WhatsappTemplateFooterComponent::Type } |