Raw.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.
auth.exportLoginToken#b7e085fe api_id:int api_hash:string except_ids:Vector<long> = auth.LoginToken;export namespace Raw {
export namespace auth {
export class ExportLoginToken {
constructor(params: { apiId: number; apiHash: string; exceptIds: Array<bigint> }) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0xb7e085fe
Property
apiId: numberApplication identifier (see. app configuration)
apiHash: stringApplication identifier hash (see. app configuration)
exceptIds: Array of bigintList of already logged-in user ids, to prevent logging in twice with the same user