CheckAuthenticationWebToken constructor

const CheckAuthenticationWebToken({
  1. required String token,
  2. required int dcId,
})

Checks a web token to log in to the corresponding account; for official Telegram apps only. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation

Implementation

const CheckAuthenticationWebToken({required this.token, required this.dcId});