Class: Telnyx::Models::Messages::RcSendParams::MmsFallback
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Messages::RcSendParams::MmsFallback
- Defined in:
- lib/telnyx/models/messages/rc_send_params.rb
Instance Attribute Summary collapse
-
#from ⇒ String?
Phone number in +E.164 format.
-
#media_urls ⇒ Array<String>?
List of media URLs.
-
#subject ⇒ String?
Subject of the message.
-
#text ⇒ String?
Text.
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(agent_id:, agent_message:, messaging_profile_id:, to:, mms_fallback: nil, sms_fallback: nil, type: nil, webhook_url: nil, request_options: {}) ⇒ Object
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/telnyx/models/messages/rc_send_params.rb', line 75 class MmsFallback < Telnyx::Internal::Type::BaseModel # @!attribute from # Phone number in +E.164 format # # @return [String, nil] optional :from, String # @!attribute media_urls # List of media URLs # # @return [Array<String>, nil] optional :media_urls, Telnyx::Internal::Type::ArrayOf[String] # @!attribute subject # Subject of the message # # @return [String, nil] optional :subject, String # @!attribute text # Text # # @return [String, nil] optional :text, String # @!method initialize(from: nil, media_urls: nil, subject: nil, text: nil) # @param from [String] Phone number in +E.164 format # # @param media_urls [Array<String>] List of media URLs # # @param subject [String] Subject of the message # # @param text [String] Text end |
Instance Attribute Details
#from ⇒ String?
Phone number in +E.164 format
80 |
# File 'lib/telnyx/models/messages/rc_send_params.rb', line 80 optional :from, String |
#media_urls ⇒ Array<String>?
List of media URLs
86 |
# File 'lib/telnyx/models/messages/rc_send_params.rb', line 86 optional :media_urls, Telnyx::Internal::Type::ArrayOf[String] |
#subject ⇒ String?
Subject of the message
92 |
# File 'lib/telnyx/models/messages/rc_send_params.rb', line 92 optional :subject, String |
#text ⇒ String?
Text
98 |
# File 'lib/telnyx/models/messages/rc_send_params.rb', line 98 optional :text, String |