Class: Telnyx::Models::WhatsappInteractive

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/whatsapp_interactive.rb

Defined Under Namespace

Modules: Type Classes: Action, Body, Footer, Header

Instance Attribute Summary collapse

Instance Method Summary collapse

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(document: nil, image: nil, sub_text: nil, text: nil, video: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/whatsapp_interactive.rb', line 31

Instance Attribute Details

#actionTelnyx::Models::WhatsappInteractive::Action?



9
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 9

optional :action, -> { Telnyx::WhatsappInteractive::Action }

#bodyTelnyx::Models::WhatsappInteractive::Body?



14
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 14

optional :body, -> { Telnyx::WhatsappInteractive::Body }


19
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 19

optional :footer, -> { Telnyx::WhatsappInteractive::Footer }

#headerTelnyx::Models::WhatsappInteractive::Header?



24
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 24

optional :header, -> { Telnyx::WhatsappInteractive::Header }

#typeSymbol, ...



29
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 29

optional :type, enum: -> { Telnyx::WhatsappInteractive::Type }