Skip to main content

User Unsubscribed

Description

The user unsubscribed event is triggered when a user unsubscribes from your bot. The user will have the option to unsubscribe from the bot at any time.

Event Payload

The event payload is a JSON object with the following properties:

Example
{
"event":"unsubscribed",
"timestamp":1457764197627,
"user_id":"jc9HsWTZ2Yf2NkRZ8KcNug==",
"message_token":4912661846655238145
}
PropertyDescriptionNotes
eventThe event name.Always unsubscribed
timestampThe time the event was triggered.Unix timestamp in milliseconds
user_idThe unique ID of the user.
message_tokenUnique ID of the message