Layer 220
BotsPreviewInfo
Contains info about Main Mini App previews, see here for more info.
constructor
bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo;
Parameters
| Name | Type | Description |
|---|---|---|
| Media | Vector<BotPreviewMedia> | All preview medias for the language code passed to bots. get Preview Info. |
| LangCodes | Vector<string> | All available language codes for which preview medias were uploaded (regardless of the language code passed to bots. get Preview Info ). |
Returns
bots.PreviewInfoGogram Example
// Creating BotsPreviewInfo constructor obj := &tg.BotsPreviewInfo{ Media: []tg.BotPreviewMedia{&tg.BotPreviewMedia{}}, LangCodes: "...", }