logo
When a user permanently leaves the API (bot) from their device, the userLeftBot method is returned along with the user object. After stopping or leaving the bot, the user will not be able to exchange messages with it."
Field
Type
Returned
Description
method
String
Yes
"userLeftBot"
user
Yes
User Object.

Preconditions for API Functionality

The following table outlines the preconditions that must be met for the API to function correctly. Failure to meet these conditions may result in errors or unexpected behavior.
Condition
Description
No condition
There is no condition for API to retrieve its profile.

Examples:

json
{ "method": "userLeftBot", "user": { "id": "90089584801498185" } }