MadelineProto/docs/bot_login.md
Daniil Gentili a4b8a39437 Better docs
2017-08-18 13:27:44 +02:00

415 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:

$MadelineProto = new \danog\MadelineProto\API();

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