Fires when a user restarts your bot after having stopped it. Messaging resumes from this point.
💡 A user who joins for the first time produces userJoinedBot, not this event.
method is "userStartedBot".
| Field | Type | Returned | Description |
|---|---|---|---|
method |
String | Yes | "userStartedBot" |
user |
User | Yes | The user who restarted the bot. |
None. This event is delivered to every bot.
| SDK | Callback |
|---|---|
| Java | userStartedBot(User user) |
| JavaScript | userStartedBot(user) |
| Python | user_started_bot(self, user) |
{
"method": "userStartedBot",
"user": {
"id": "90089584801498185"
}
}