Class: Telnyx::Models::MessageSendWhatsappResponse::Data::Body::Interactive::Action

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

Overview

See Also:

Defined Under Namespace

Classes: Button, Card, Parameters, Section

Instance Attribute Summary collapse

Class Method 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(display_text: nil, url: nil) ⇒ Object

Parameters:

  • display_text (String) (defaults to: nil)

    button label text, 20 character maximum

  • url (String) (defaults to: nil)

    button URL to load when tapped by the user



# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 630

Instance Attribute Details

#buttonString?

Returns:

  • (String, nil)


391
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 391

optional :button, String

#catalog_idString?

Returns:

  • (String, nil)


408
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 408

optional :catalog_id, String

#modeString?

Returns:

  • (String, nil)


413
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 413

optional :mode, String

#nameString?

Returns:

  • (String, nil)


418
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 418

optional :name, String

#product_retailer_idString?

Returns:

  • (String, nil)


429
# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 429

optional :product_retailer_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/message_send_whatsapp_response.rb', line 491