CheckAuthenticationBotToken constructor

const CheckAuthenticationBotToken({
  1. required String token,
})

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

Implementation

const CheckAuthenticationBotToken({
  required this.token,
});