Class: PreludeSDK::Models::NotifySendParams::Context
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PreludeSDK::Models::NotifySendParams::Context
- Defined in:
- lib/prelude_sdk/models/notify_send_params.rb
Instance Attribute Summary collapse
-
#reply_to ⇒ String
The inbound message ID (prefixed with ‘im_`) to reply to.
Instance Method Summary collapse
-
#initialize(template_id:, to:, callback_url: nil, context: nil, correlation_id: nil, document: nil, expires_at: nil, from: nil, locale: nil, preferred_channel: nil, schedule_at: nil, text: nil, variables: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see PreludeSDK::Models::NotifySendParams 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(template_id:, to:, callback_url: nil, context: nil, correlation_id: nil, document: nil, expires_at: nil, from: nil, locale: nil, preferred_channel: nil, schedule_at: nil, text: nil, variables: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see PreludeSDK::Models::NotifySendParams for more details.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/prelude_sdk/models/notify_send_params.rb', line 141 class Context < PreludeSDK::Internal::Type::BaseModel # @!attribute reply_to # The inbound message ID (prefixed with `im_`) to reply to. This ID is provided in # the `inbound.message.received` webhook event. # # @return [String] required :reply_to, String # @!method initialize(reply_to:) # Some parameter documentations has been truncated, see # {PreludeSDK::Models::NotifySendParams::Context} for more details. # # Context for replying to an inbound message. When provided, the message is sent # as a WhatsApp reply within the 24-hour conversation window. # # @param reply_to [String] The inbound message ID (prefixed with `im_`) to reply to. This ID is provided in end |
Instance Attribute Details
#reply_to ⇒ String
The inbound message ID (prefixed with ‘im_`) to reply to. This ID is provided in the `inbound.message.received` webhook event.
147 |
# File 'lib/prelude_sdk/models/notify_send_params.rb', line 147 required :reply_to, String |