Class: Telnyx::Models::Calls::ActionStartConversationRelayParams::Assistant

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

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

#initialize(call_control_id:, conversation_relay_url:, assistant: nil, client_state: nil, command_id: nil, conversation_relay_dtmf_detection: nil, greeting: nil, interruption_settings: nil, language: nil, languages: nil, participants: nil, send_message_history_updates: nil, transcription: nil, transcription_language: nil, tts_language: nil, user_response_timeout_ms: nil, voice: nil, voice_settings: nil, request_options: {}) ⇒ Object

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

Parameters:



196
197
198
199
200
201
202
203
204
205
206
207
208
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 196

class Assistant < Telnyx::Internal::Type::BaseModel
  # @!attribute dynamic_variables
  #   Custom key-value parameters forwarded to the Conversation Relay session.
  #
  #   @return [Hash{Symbol=>String}, nil]
  optional :dynamic_variables, Telnyx::Internal::Type::HashOf[String]

  # @!method initialize(dynamic_variables: nil)
  #   Custom parameters for the Conversation Relay session. Pass key-value data as
  #   `assistant.dynamic_variables` to make it available to the relay session.
  #
  #   @param dynamic_variables [Hash{Symbol=>String}] Custom key-value parameters forwarded to the Conversation Relay session.
end

Instance Attribute Details

#dynamic_variablesHash{Symbol=>String}?

Custom key-value parameters forwarded to the Conversation Relay session.

Returns:

  • (Hash{Symbol=>String}, nil)


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

optional :dynamic_variables, Telnyx::Internal::Type::HashOf[String]