Class: Telnyx::Models::Calls::ActionStartConversationRelayParams::InterruptionSettings

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

Defined Under Namespace

Modules: Interruptible, InterruptibleGreeting, WelcomeGreetingInterruptible

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(enable: nil, interruptible: nil, interruptible_greeting: nil, welcome_greeting_interruptible: nil) ⇒ Object

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

Settings for handling caller interruptions during Conversation Relay speech.

Parameters:



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

Instance Attribute Details

#enableBoolean?

Legacy boolean form. ‘true` is equivalent to `interruptible=any`; `false` is equivalent to `interruptible=none`.

Returns:

  • (Boolean, nil)


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

optional :enable, 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.



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

optional :interruptible,
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::InterruptionSettings::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.



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

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

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



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

optional :welcome_greeting_interruptible,
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::InterruptionSettings::WelcomeGreetingInterruptible }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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