Class: Zavudev::Models::MessageContent::Button
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::MessageContent::Button
- Defined in:
- lib/zavudev/models/message_content.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(buttons: nil, contacts: nil, cta_display_text: nil, cta_header_media_url: nil, cta_header_text: nil, cta_header_type: nil, cta_url: nil, emoji: nil, filename: nil, footer_text: nil, latitude: nil, list_button: nil, location_address: nil, location_name: nil, longitude: nil, media_id: nil, media_url: nil, mime_type: nil, react_to_message_id: nil, sections: nil, template_button_variables: nil, template_id: nil, template_variables: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Zavudev::Models::MessageContent for more details.
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(buttons: nil, contacts: nil, cta_display_text: nil, cta_header_media_url: nil, cta_header_text: nil, cta_header_type: nil, cta_url: nil, emoji: nil, filename: nil, footer_text: nil, latitude: nil, list_button: nil, location_address: nil, location_name: nil, longitude: nil, media_id: nil, media_url: nil, mime_type: nil, react_to_message_id: nil, sections: nil, template_button_variables: nil, template_id: nil, template_variables: nil) ⇒ Object
Some parameter documentations has been truncated, see Zavudev::Models::MessageContent for more details.
Content for non-text message types (WhatsApp and Telegram).
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'lib/zavudev/models/message_content.rb', line 215 class Button < Zavudev::Internal::Type::BaseModel # @!attribute id # # @return [String] required :id, String # @!attribute title # # @return [String] required :title, String # @!method initialize(id:, title:) # @param id [String] # @param title [String] end |
Instance Attribute Details
#id ⇒ String
219 |
# File 'lib/zavudev/models/message_content.rb', line 219 required :id, String |
#title ⇒ String
224 |
# File 'lib/zavudev/models/message_content.rb', line 224 required :title, String |