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);
This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.