check_authentication_bot_token


Description:

public async Ok check_authentication_bot_token (string token) throws TDLibError

Checks the authentication token of a bot; to log in as a bot. Works only when the current authorization state is authorizationStateWaitPhoneNumber. Can be used instead of Client.set_authentication_phone_number and Client.check_authentication_code to log in

Parameters:

token

The bot token