Raw.BotInfo

Raw.BotInfo

Info about bots (available bot commands, etc)

botInfo#4d8a0299 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 privacy_policy_url:flags.7?string app_settings:flags.8?BotAppSettings verifier_settings:flags.9?BotVerifierSettings = 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;
      privacyPolicyUrl?: string;
      appSettings?: Raw.TypeBotAppSettings;
      verifierSettings?: Raw.TypeBotVerifierSettings;
    }) {}
  }
}
🚫

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

Layer: 198
Constructor ID: 0x4d8a0299

Property