Class: Telnyx::Models::WhatsappMedia
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::WhatsappMedia
- Defined in:
- lib/telnyx/models/whatsapp_media.rb
Instance Attribute Summary collapse
-
#caption ⇒ String?
media caption.
-
#filename ⇒ String?
file name with extension.
-
#link ⇒ String?
media URL.
-
#voice ⇒ Boolean?
true if voice message.
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(caption: nil, filename: nil, link: nil, voice: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/whatsapp_media.rb', line 30
|
Instance Attribute Details
#caption ⇒ String?
media caption
10 |
# File 'lib/telnyx/models/whatsapp_media.rb', line 10 optional :caption, String |
#filename ⇒ String?
file name with extension
16 |
# File 'lib/telnyx/models/whatsapp_media.rb', line 16 optional :filename, String |
#link ⇒ String?
media URL
22 |
# File 'lib/telnyx/models/whatsapp_media.rb', line 22 optional :link, String |