Raw.BotApp

Raw.BotApp

Contains information about a direct link mini app.

botApp#95fcd1d6 flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document hash:long = BotApp;
export namespace Raw {
  export class BotApp {
    constructor(params: {
      id: bigint;
      accessHash: bigint;
      shortName: string;
      title: string;
      description: string;
      photo: Raw.TypePhoto;
      document?: Raw.TypeDocument;
      hash: bigint;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x95fcd1d6

Property

  • id : bigint

    Bot mini app id

  • accessHash : bigint

    Bot mini app access hash

  • shortName : string

    Bot mini app short name, used to generate direct mini app deep links.

  • title : string

    Bot mini app title.

  • description : string

    Bot mini app description.

  • photo : Raw.TypePhoto

    Bot mini app photo.

  • document : Raw.TypeDocument or undefined

    Bot mini app animation.

  • hash : bigint

    Hash to pass to messages.getbotapp, to avoid refetching bot app info if it hasn’t changed.