Fires when a user temporarily stops your bot. While stopped, the user cannot exchange messages with it.
💡 Stopping is reversible — the user stays subscribed. Expect userStartedBot if they turn it back on, and userLeftBot if they remove it for good.
method is "userStoppedBot".
| Field | Type | Returned | Description |
|---|---|---|---|
method |
String | Yes | "userStoppedBot" |
user |
User | Yes | The user who stopped the bot. |
None. This event is delivered to every bot.
| SDK | Callback |
|---|---|
| Java | userStoppedBot(User user) |
| JavaScript | userStoppedBot(user) |
| Python | user_stopped_bot(self, user) |
{
"method": "userStoppedBot",
"user": {
"id": "90089584801498185"
}
}