Class: Zavudev::Models::BroadcastContent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::BroadcastContent
- Defined in:
- lib/zavudev/models/broadcast_content.rb
Instance Attribute Summary collapse
-
#filename ⇒ String?
Filename for documents.
-
#media_id ⇒ String?
Media ID if already uploaded.
-
#media_url ⇒ String?
URL of the media file.
-
#mime_type ⇒ String?
MIME type of the media.
-
#template_id ⇒ String?
Template ID for template messages.
-
#template_variables ⇒ Hash{Symbol=>String}?
Default template variables (can be overridden per contact).
Instance Method Summary collapse
-
#initialize(filename: nil, media_id: nil, media_url: nil, mime_type: nil, template_id: nil, template_variables: nil) ⇒ Object
constructor
Content for non-text broadcast message types.
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(filename: nil, media_id: nil, media_url: nil, mime_type: nil, template_id: nil, template_variables: nil) ⇒ Object
Content for non-text broadcast message types.
|
|
# File 'lib/zavudev/models/broadcast_content.rb', line 42
|
Instance Attribute Details
#filename ⇒ String?
Filename for documents.
10 |
# File 'lib/zavudev/models/broadcast_content.rb', line 10 optional :filename, String |
#media_id ⇒ String?
Media ID if already uploaded.
16 |
# File 'lib/zavudev/models/broadcast_content.rb', line 16 optional :media_id, String, api_name: :mediaId |
#media_url ⇒ String?
URL of the media file.
22 |
# File 'lib/zavudev/models/broadcast_content.rb', line 22 optional :media_url, String, api_name: :mediaUrl |
#mime_type ⇒ String?
MIME type of the media.
28 |
# File 'lib/zavudev/models/broadcast_content.rb', line 28 optional :mime_type, String, api_name: :mimeType |
#template_id ⇒ String?
Template ID for template messages.
34 |
# File 'lib/zavudev/models/broadcast_content.rb', line 34 optional :template_id, String, api_name: :templateId |