Link Search Menu Expand Document

Method: botLogin

Parameters:

NameType
tokenA string with the bot token

Return type: auth.Authorization

Example (now fully async!):

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