Raw.bots.PreviewInfo

Raw.bots.PreviewInfo

Contains info about main mini app previews, see here for more info.

bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo;
export namespace Raw {
  export namespace bots {
    export class PreviewInfo {
      constructor(params: { media: Array<Raw.TypeBotPreviewMedia>; langCodes: Array<string> }) {}
    }
  }
}
🚫

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

Layer: 198
Constructor ID: 0xca71d64

Property

  • media : Array of Raw.TypeBotPreviewMedia

    All preview medias for the language code passed to bots.getpreviewinfo.

  • langCodes : Array of string

    All available language codes for which preview medias were uploaded (regardless of the language code passed to bots.getpreviewinfo).