Class: Telnyx::Models::AI::ConversationAddMessageParams
Overview
Defined Under Namespace
Modules: Metadata, ToolChoice
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
dump_request
included
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
60
|
# File 'sig/telnyx/models/ai/conversation_add_message_params.rbs', line 60
def initialize: (
|
Instance Attribute Details
#content ⇒ String?
25
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 25
optional :content, String
|
#conversation_id ⇒ String
The ID of the conversation
15
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 15
required :conversation_id, String
|
30
31
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 30
optional :metadata,
-> { Telnyx::Internal::Type::HashOf[union: Telnyx::AI::ConversationAddMessageParams::Metadata] }
|
#name ⇒ String?
36
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 36
optional :name, String
|
#role ⇒ String
20
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 20
required :role, String
|
#sent_at ⇒ Time?
41
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 41
optional :sent_at, Time
|
46
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 46
optional :tool_call_id, String
|
51
52
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 51
optional :tool_calls,
Telnyx::Internal::Type::ArrayOf[Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]]
|
57
|
# File 'lib/telnyx/models/ai/conversation_add_message_params.rb', line 57
optional :tool_choice, union: -> { Telnyx::AI::ConversationAddMessageParams::ToolChoice }
|
Instance Method Details
#to_hash ⇒ {
73
|
# File 'sig/telnyx/models/ai/conversation_add_message_params.rbs', line 73
def to_hash: -> {
|