Module: HubSpotSDK::Models::Conversations::ChannelIntegrationMessageEgg::Attachment

Extended by:
Internal::Type::Union
Defined in:
lib/hubspot_sdk/models/conversations/channel_integration_message_egg.rb

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

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

#initialize(attachments:, channel_account_id:, message_direction:, recipients:, senders:, text:, timestamp:, associate_with_contact_id: nil, in_reply_to_id: nil, integration_idempotency_id: nil, integration_thread_id: nil, pre_resolved_contacts: nil, rich_text: nil) ⇒ Object

Parameters:



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/hubspot_sdk/models/conversations/channel_integration_message_egg.rb', line 94

module Attachment
  extend HubSpotSDK::Internal::Type::Union

  variant -> { HubSpotSDK::Conversations::FileAttachment }

  variant -> { HubSpotSDK::Conversations::LocationAttachment }

  variant -> { HubSpotSDK::Conversations::ContactAttachment }

  variant -> { HubSpotSDK::Conversations::UnsupportedContentAttachment }

  variant -> { HubSpotSDK::Conversations::MessageHeaderAttachment }

  variant -> { HubSpotSDK::Conversations::QuickRepliesAttachment }

  variant -> { HubSpotSDK::Conversations::SocialMetadataIntegrationAttachment }

  # @!method self.variants
  #   @return [Array(HubSpotSDK::Models::Conversations::FileAttachment, HubSpotSDK::Models::Conversations::LocationAttachment, HubSpotSDK::Models::Conversations::ContactAttachment, HubSpotSDK::Models::Conversations::UnsupportedContentAttachment, HubSpotSDK::Models::Conversations::MessageHeaderAttachment, HubSpotSDK::Models::Conversations::QuickRepliesAttachment, HubSpotSDK::Models::Conversations::SocialMetadataIntegrationAttachment)]
end