Class: Telnyx::Models::RcsAgentMessage::ContentMessage

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

Overview

See Also:

Defined Under Namespace

Classes: RichCard

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(content_info: nil, rich_card: nil, suggestions: nil, text: nil) ⇒ Object

Parameters:



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

Instance Attribute Details

#content_infoTelnyx::Models::RcsContentInfo?



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

optional :content_info, -> { Telnyx::RcsContentInfo }

#rich_cardTelnyx::Models::RcsAgentMessage::ContentMessage::RichCard?



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

optional :rich_card, -> { Telnyx::RcsAgentMessage::ContentMessage::RichCard }

#suggestionsArray<Telnyx::Models::RcsSuggestion>?

List of suggested actions and replies

Returns:



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

optional :suggestions, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::RcsSuggestion] }

#textString?

Text (maximum 3072 characters)

Returns:

  • (String, nil)


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

optional :text, String