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

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

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

#initializeObject



253
# File 'sig/telnyx/models/calls/action_start_conversation_relay_params.rbs', line 253

def initialize: (

Instance Attribute Details

#dtmf_detectionBoolean?

Whether to enable DTMF detection during the relay session.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

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.



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

optional :interruptible, enum: -> { Telnyx::Calls::ConversationRelayInterruptible }

#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.



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

optional :interruptible_greeting, enum: -> { Telnyx::Calls::ConversationRelayInterruptible }

#languagesArray<Telnyx::Models::ConversationRelayLanguage>?

Language-specific TTS and transcription settings.



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

optional :languages, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::ConversationRelayLanguage] }

#urlString

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

Parameters:

  • value (String)

Returns:

  • (String)


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

required :url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


261
# File 'sig/telnyx/models/calls/action_start_conversation_relay_params.rbs', line 261

def to_hash: -> {