Optionalpayload?: {The payload of the event. The contents of this object depend on the type of event.
Optionalclient?: Types.ClientThe removed client.
Optionalconversation?: ConversationTruncated | nullThe conversation associated with the removal of the client. This field is only present
when the reason is theft, linkCancelled or linkFailed.
Note that for the theft reason, the conversation will not be present if it has been deleted.
Optionalerror?: { [key: string]: unknown } | nullObject containing details of what went wrong. This field will only be present when the reason is linkCancelled or linkFailed.
Optionalreason?: "api" | "linkCancelled" | "linkFailed" | "sdk" | "theft"The reason for which the client was removed.
api - The client was removed using the API.linkCancelled - The user cancelled a channel link.linkFailed - The client was removed after a channel link attempt failed.sdk - The client was removed using the SDK.theft - The client was transferred to another user due to a channel link.Optionalsource?: SourceWebhookThe source where this event originated from. This could be the API or an SDK device.
Optionaluser?: UserTruncatedReadableThe user associated with the client.
client:remove