• Check your Two-Step verification password and log in

    Parameters

    • client: ITelegramClient
    • password: string

      Your Two-Step verification password

    Returns Promise<User>

    The authorized user

    BadRequestError In case the password is invalid