Module: SurgeAPI::Models::Message::Attachment::Type

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

Overview

The type of attachment.

See Also:

  • SurgeAPI::Models::Message::Attachment#type

Constant Summary collapse

FILE =

Returns:

:file
IMAGE =

Returns:

:image
:link
CONTACT =

Returns:

:contact
VIDEO =

Returns:

:video

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[SurgeAPI::Models::Message::Attachment::type_]

Returns:



110
# File 'sig/surge_api/models/message.rbs', line 110

def self?.values: -> ::Array[SurgeAPI::Models::Message::Attachment::type_]