Raw.bots.GetBotInfo

Raw.bots.GetBotInfo

Get localized name, about text and description of a bot (or of the current account, if called by a bot).

bots.getBotInfo#dcd914fd flags:# bot:flags.0?InputUser lang_code:string = bots.BotInfo;
export namespace Raw {
  export namespace bots {
    export class GetBotInfo {
      constructor(params: { bot?: Raw.TypeInputUser; langCode: string }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xdcd914fd

Property

  • bot : Raw.TypeInputUser or undefined

    If called by a user, must contain the peer of a bot we own.

  • langCode : string

    Language code, if left empty this method will return the fallback about text and description.

Results

Raw.bots.TypeBotInfo

Bots can use