Constructor: bots.previewInfo
Contains info about Main Mini App previews, see here » for more info.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
media | Array of BotPreviewMedia | Yes | All preview medias for the language code passed to bots.getPreviewInfo. |
lang_codes | Array of string | Yes | All available language codes for which preview medias were uploaded (regardless of the language code passed to bots.getPreviewInfo). |
Type: bots.PreviewInfo
Example:
$bots_previewInfo = ['_' => 'bots.previewInfo', 'media' => [BotPreviewMedia, BotPreviewMedia], 'lang_codes' => ['string', 'string']];