Class: Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings

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

Defined Under Namespace

Modules: Interruptible, InterruptibleGreeting Classes: Language

Instance Attribute Summary collapse

Class Method 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(url:, dtmf_detection: nil, interruptible: nil, interruptible_greeting: nil, languages: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings for more details.

Conversation Relay connection settings. This object is used by TeXML Call Scripting’s ‘<ConversationRelay>` verb. The `interruptible` and `interruptible_greeting` fields are shorthand for `interruption_settings.interruptible` and `interruption_settings.interruptible_greeting`; use top-level `interruption_settings` for the full interruption settings shape.

Parameters:



# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 238

Instance Attribute Details

#dtmf_detectionBoolean?

Whether to enable DTMF detection during the relay session.

Returns:

  • (Boolean, nil)


211
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 211

optional :dtmf_detection, Telnyx::Internal::Type::Boolean

#interruptibleSymbol, ...

Controls when caller input can interrupt assistant speech. ‘any` allows speech or DTMF interruptions; `none` disables interruptions; `speech` allows speech only; `dtmf` allows DTMF only.



219
220
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 219

optional :interruptible,
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Interruptible }

#interruptible_greetingSymbol, ...

Controls when caller input can interrupt assistant speech. ‘any` allows speech or DTMF interruptions; `none` disables interruptions; `speech` allows speech only; `dtmf` allows DTMF only.



228
229
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 228

optional :interruptible_greeting,
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::InterruptibleGreeting }

#languagesArray<Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language>?

Language-specific TTS and transcription settings.



235
236
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 235

optional :languages,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language] }

#urlString

WebSocket URL for your Conversation Relay server. Must start with ‘ws://` or `wss://`.

Returns:

  • (String)


205
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 205

required :url, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 273