When a user joins the API (bot) from their device(start), the
userJoinedBot
method is returned along with the user
object. After joining and/or starting the bot, the user can exchange messages with it.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": "userJoinedBot", "user": { "id": "90089584801498185" } }