Raw.bots.SetBotInfo

Raw.bots.SetBotInfo

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

bots.setBotInfo#10cf3123 flags:# bot:flags.2?InputUser lang_code:string name:flags.3?string about:flags.0?string description:flags.1?string = Bool;
export namespace Raw {
  export namespace bots {
    export class SetBotInfo {
      constructor(params: {
        bot?: Raw.TypeInputUser;
        langCode: string;
        name?: string;
        about?: string;
        description?: string;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x10cf3123

Property

Results

boolean

Bots can use