Optionalpayload?: {The payload of the event. The contents of this object depend on the type of event.
OptionaldiscardedMetadata?: Metadata | nullA 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.
OptionalmergedClients?: { discarded?: Types.Client; surviving?: Types.Client } | nullContains information about the clients that were merged together as a result of the operation, if applicable. If no clients were merged, this property is omitted.
OptionalmergedConversations?: { discarded?: ConversationTruncated; surviving?: ConversationTruncated } | nullContains information about the conversations that were merged together as a result of the operation, if applicable. If no conversations were merged, this property is omitted.
OptionalmergedUsers?: { discarded?: UserWritable; surviving?: UserWritable }Contains information about the users that were merged together.
Optionaldiscarded?: UserWritableThe user that was unified into the surviving user object.
Optionalsurviving?: UserWritableThe user that now represents the merged user object.
Optionalreason?: "api" | "channelLinking" | "sdkLogin"The 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.
user:merge