Raw.UrlAuthResultRequest

Raw.UrlAuthResultRequest

Details about the authorization request, for more info click here

urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult;
export namespace Raw {
  export class UrlAuthResultRequest {
    constructor(params: { requestWriteAccess?: boolean; bot: Raw.TypeUser; domain: string }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x92d33a0e

Property

  • requestWriteAccess : boolean or undefined

    Whether the bot would like to send messages to the user

  • bot : Raw.TypeUser

    Username of a bot, which will be used for user authorization. if not specified, the current bot’s username will be assumed. the url’s domain must be the same as the domain linked with the bot. see linking your domain to the bot for more details.

  • domain : string

    The domain name of the website on which the user will log in.