Class: Telnyx::Models::RcsAgentMessage::ContentMessage::RichCard::CarouselCard

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

Overview

See Also:

Defined Under Namespace

Modules: CardWidth

Instance Attribute 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(card_contents:, card_width:) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::RcsAgentMessage::ContentMessage::RichCard::CarouselCard for more details.

Carousel of cards.

Parameters:



# File 'lib/telnyx/models/rcs_agent_message.rb', line 106

Instance Attribute Details

#card_contentsArray<Telnyx::Models::RcsCardContent>

The list of contents for each card in the carousel. A carousel can have a minimum of 2 cards and a maximum 10 cards.

Returns:



97
# File 'lib/telnyx/models/rcs_agent_message.rb', line 97

required :card_contents, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::RcsCardContent] }

#card_widthSymbol, Telnyx::Models::RcsAgentMessage::ContentMessage::RichCard::CarouselCard::CardWidth

The width of the cards in the carousel.



103
104
# File 'lib/telnyx/models/rcs_agent_message.rb', line 103

required :card_width,
enum: -> { Telnyx::RcsAgentMessage::ContentMessage::RichCard::CarouselCard::CardWidth }