Raw.account.GetAuthorizationForm

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 : bigint

    User identifier of the service’s bot

  • scope : string

    Telegram passport element types requested by the service

  • publicKey : string

    Service’s public key

Results

Raw.account.TypeAuthorizationForm