Raw.BotInfo

Raw.BotInfo

Info about bots (available bot commands, etc)

botInfo#8f300b57 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton = BotInfo;
export namespace Raw {
  export class BotInfo {
    constructor(params: {
      hasPreviewMedias?: boolean;
      userId?: bigint;
      description?: string;
      descriptionPhoto?: Raw.TypePhoto;
      descriptionDocument?: Raw.TypeDocument;
      commands?: Array<Raw.TypeBotCommand>;
      menuButton?: Raw.TypeBotMenuButton;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x8f300b57

Property