Class: Telnyx::Models::WhatsappInteractive
Defined Under Namespace
Modules: Type
Classes: Action, Body, Footer, Header
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#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
|
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 31
|
Instance Attribute Details
9
|
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 9
optional :action, -> { Telnyx::WhatsappInteractive::Action }
|
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 }
|
24
|
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 24
optional :header, -> { Telnyx::WhatsappInteractive::Header }
|
#type ⇒ Symbol, ...
29
|
# File 'lib/telnyx/models/whatsapp_interactive.rb', line 29
optional :type, enum: -> { Telnyx::WhatsappInteractive::Type }
|
Instance Method Details
#to_hash ⇒ {
51
|
# File 'sig/telnyx/models/whatsapp_interactive.rbs', line 51
def to_hash: -> {
|