SunshineConversationsClient::UserMergeEventAllOfPayload

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
merged_usersUserMergeEventAllOfPayloadMergedUsers[optional]
merged_conversationsUserMergeEventAllOfPayloadMergedConversations[optional]
merged_clientsUserMergeEventAllOfPayloadMergedClients[optional]
discarded_metadataHash<String, Object>A flat object with the set of metadata properties that were discarded when merging the two users. This should contain values only if the combined metadata fields exceed the 4KB limit.[optional]
reasonStringThe reason for which the users merged. * `api` - The users were merged using the API. * `channelLinking` - The users were merged as a result of initiating a channel link. * `sdkLogin` - The users were merged as a result of logging into an SDK device.[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::UserMergeEventAllOfPayload.new(
  merged_users: null,
  merged_conversations: null,
  merged_clients: null,
  discarded_metadata: {&quot;lang&quot;:&quot;en-ca&quot;},
  reason: null
)