Module: Telnyx::Models::MessageSendLongCodeParams::Encoding

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

Overview

Encoding to use for the message. auto (default) uses smart encoding to automatically select the most efficient encoding. gsm7 forces GSM-7 encoding (returns 400 if message contains characters that cannot be encoded). ucs2 forces UCS-2 encoding and disables smart encoding. When set, this overrides the messaging profile's smart_encoding setting.

Constant Summary collapse

AUTO =

Returns:

  • (:auto)
:auto
GSM7 =

Returns:

  • (:gsm7)
:gsm7
UCS2 =

Returns:

  • (:ucs2)
:ucs2

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::MessageSendLongCodeParams::encoding]

Returns:

  • (::Array[Telnyx::Models::MessageSendLongCodeParams::encoding])


106
# File 'sig/telnyx/models/message_send_long_code_params.rbs', line 106

def self?.values: -> ::Array[Telnyx::Models::MessageSendLongCodeParams::encoding]