Raw.bots.GetPreviewInfo

Raw.bots.GetPreviewInfo

Bot owners only, fetch main mini app preview information, see here for more info.

bots.getPreviewInfo#423ab3ad bot:InputUser lang_code:string = bots.PreviewInfo;
export namespace Raw {
  export namespace bots {
    export class GetPreviewInfo {
      constructor(params: { bot: Raw.TypeInputUser; langCode: string }) {}
    }
  }
}

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

Layer: 198
Constructor ID: 0x423ab3ad

Property

  • bot : Raw.TypeInputUser

    The bot that owns the main mini app.

  • langCode : string

    Fetch previews for the specified iso 639-1 language code.

Results

Raw.bots.TypePreviewInfo