MadelineProtoDocs/docs/bot_login.md

443 B

title description
bot_login bot_login parameters, return type and example

Method: bot_login

Parameters:

Name Type
token A string with the bot token

Return type: auth.Authorization

Example (now fully async!):

$authorization = yield $this->bot_login($token);