Raw.auth.ImportBotAuthorization

Raw.auth.ImportBotAuthorization

Login as a bot

auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;
export namespace Raw {
  export namespace auth {
    export class ImportBotAuthorization {
      constructor(params: {
        flags: number;
        apiId: number;
        apiHash: string;
        botAuthToken: string;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x67a3ff2c

Property

  • flags : number

    Reserved for future use

  • apiId : number

    Application identifier (see. app configuration)

  • apiHash : string

    Application identifier hash (see. app configuration)

  • botAuthToken : string

    Bot token (see bots)

Results

Raw.auth.TypeAuthorization

Bots can use