View Source ExTDLib.Method.CheckAuthenticationBotToken (ExTDLib v0.0.4)
Checks the authentication token of a bot; to log in as a bot. Works only when the current authorization state is authorizationStateWaitPhoneNumber. Can be used instead of setAuthenticationPhoneNumber and checkAuthenticationCode to log in. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| token | string | The bot token. |
More details on telegram's documentation.