Module: Telnyx::Models::CallAIGatherPartialResults::Payload::MessageHistory::Role

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/call_ai_gather_partial_results.rb,
sig/telnyx/models/call_ai_gather_partial_results.rbs

Overview

The role of the message sender

See Also:

  • Telnyx::Models::CallAIGatherPartialResults::Payload::MessageHistory#role

Constant Summary collapse

ASSISTANT =

Returns:

  • (:assistant)
:assistant
USER =

Returns:

  • (:user)
:user

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.values::Array[Telnyx::Models::CallAIGatherPartialResults::Payload::MessageHistory::role]

Returns:

  • (::Array[Telnyx::Models::CallAIGatherPartialResults::Payload::MessageHistory::role])


176
# File 'sig/telnyx/models/call_ai_gather_partial_results.rbs', line 176

def self?.values: -> ::Array[Telnyx::Models::CallAIGatherPartialResults::Payload::MessageHistory::role]