Class: Telnyx::Models::WhatsappMessageTemplateUpdateParams::Component::Body
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WhatsappMessageTemplateUpdateParams::Component::Body
- Defined in:
- lib/telnyx/models/whatsapp_message_template_update_params.rb
Defined Under Namespace
Classes: Example
Instance Attribute Summary collapse
-
#example ⇒ Telnyx::Models::WhatsappMessageTemplateUpdateParams::Component::Body::Example?
Sample values for body variables.
-
#text ⇒ String?
Body text content.
- #type ⇒ Symbol, :BODY
Instance Method Summary collapse
-
#initialize(example: nil, text: nil, type: :BODY) ⇒ Object
constructor
Some parameter documentations has been truncated, see Body 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(example: nil, text: nil, type: :BODY) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::WhatsappMessageTemplateUpdateParams::Component::Body for more details.
The main text content of the message. Supports multiple variable parameters ({1}, {2}, etc.). Variables cannot be at the start or end. Maximum 1024 characters.
|
|
# File 'lib/telnyx/models/whatsapp_message_template_update_params.rb', line 172
|
Instance Attribute Details
#example ⇒ Telnyx::Models::WhatsappMessageTemplateUpdateParams::Component::Body::Example?
Sample values for body variables. Required when body text contains parameters.
162 |
# File 'lib/telnyx/models/whatsapp_message_template_update_params.rb', line 162 optional :example, -> { Telnyx::WhatsappMessageTemplateUpdateParams::Component::Body::Example } |
#text ⇒ String?
Body text content. Use {1}, {2}, etc. for variable placeholders. Required for MARKETING and UTILITY templates. Optional for AUTHENTICATION templates where Meta provides the built-in OTP body.
170 |
# File 'lib/telnyx/models/whatsapp_message_template_update_params.rb', line 170 optional :text, String |
#type ⇒ Symbol, :BODY
156 |
# File 'lib/telnyx/models/whatsapp_message_template_update_params.rb', line 156 required :type, const: :BODY |