Raw.account.GetAuthorizationForm
Returns a telegram passport authorization form for sharing data with a service
account.getAuthorizationForm#a929597a bot_id:long scope:string public_key:string = account.AuthorizationForm;
export namespace Raw {
export namespace account {
export class GetAuthorizationForm {
constructor(params: { botId: bigint; scope: string; publicKey: string }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xa929597a
Property
botId
: bigintUser identifier of the service’s bot
scope
: stringTelegram passport element types requested by the service
publicKey
: stringService’s public key