CheckAuthenticationBotToken constructor

CheckAuthenticationBotToken(
  1. {required String token,
  2. int? extra,
  3. int? clientId}
)

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 setAuthenticationPhoneNumber and checkAuthenticationCode to log in

Returns Ok

Implementation

CheckAuthenticationBotToken