auth.importBotAuthorization
Login as a bot
Example
TL schema
Parameters
Name
Type
Description
Result
Returns an auth.Authorization object with information on the new authorization.
Possible errors
Code
Type
Description
400
ACCESS_TOKEN_EXPIRED
Bot token expired
400
ACCESS_TOKEN_INVALID
The provided token is not valid
400
API_ID_INVALID
The api_id/api_hash combination is invalid
401
AUTH_KEY_INVALID
Auth key invalid
Can bots use this methd ?
yes
Related pages
Last updated