Class: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage
- Defined in:
- lib/telnyx/models/ai/assistant_tool.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#message ⇒ String?
The specific message to leave as voicemail (converted to speech).
-
#type ⇒ Symbol, ...
The type of voicemail message.
Instance Method Summary collapse
-
#initialize(message: nil, type: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see VoicemailMessage 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(message: nil, type: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage for more details.
Configuration for the voicemail message to leave. Only applicable when action is ‘leave_message_and_stop_transfer’.
|
|
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 454
|
Instance Attribute Details
#message ⇒ String?
The specific message to leave as voicemail (converted to speech). Only applicable when type is ‘message’.
444 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 444 optional :message, String |
#type ⇒ Symbol, ...
The type of voicemail message. Use ‘message’ to leave a specific TTS message, or ‘warm_transfer_instructions’ to play the warm transfer audio.
451 452 |
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 451 optional :type, enum: -> { Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection::OnVoicemailDetected::VoicemailMessage::Type } |