Class: Telnyx::Models::RcsCardContent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::RcsCardContent
- Defined in:
- lib/telnyx/models/rcs_card_content.rb
Defined Under Namespace
Classes: Media
Instance Attribute Summary collapse
-
#description ⇒ String?
Description of the card (at most 2000 characters).
-
#media ⇒ Telnyx::Models::RcsCardContent::Media?
A media file within a rich card.
-
#suggestions ⇒ Array<Telnyx::Models::RcsSuggestion>?
List of suggestions to include in the card.
-
#title ⇒ String?
Title of the card (at most 200 characters).
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(description: nil, media: nil, suggestions: nil, title: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/rcs_card_content.rb', line 30
|
Instance Attribute Details
#description ⇒ String?
Description of the card (at most 2000 characters)
10 |
# File 'lib/telnyx/models/rcs_card_content.rb', line 10 optional :description, String |
#media ⇒ Telnyx::Models::RcsCardContent::Media?
A media file within a rich card.
16 |
# File 'lib/telnyx/models/rcs_card_content.rb', line 16 optional :media, -> { Telnyx::RcsCardContent::Media } |
#suggestions ⇒ Array<Telnyx::Models::RcsSuggestion>?
List of suggestions to include in the card. Maximum 10 suggestions.
22 |
# File 'lib/telnyx/models/rcs_card_content.rb', line 22 optional :suggestions, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::RcsSuggestion] } |
#title ⇒ String?
Title of the card (at most 200 characters)
28 |
# File 'lib/telnyx/models/rcs_card_content.rb', line 28 optional :title, String |