Login token (for QR code login)
Constructor | Description |
---|---|
auth.loginToken | Login token (for QR code login) |
auth.loginTokenMigrateTo | Repeat the query to the specified DC |
auth.loginTokenSuccess | Login via token (QR code) succeeded! |
Method | Description |
---|---|
auth.exportLoginToken | Generate a login token, for login via QR code. The generated login token should be encoded using base64url, then shown as a tg://login?token=base64encodedtoken deep link ยป in the QR code.For more info, see login via QR code. |
auth.importLoginToken | Login using a redirected login token, generated in case of DC mismatch during QR code login. For more info, see login via QR code. |