checkAuthenticationWebToken¶
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
checkAuthenticationWebToken(
token: string,
dc_id: int32
) → Ok