Link Search Menu Expand Document

Constructor: botPreviewMedia

Back to constructors index

Represents a Main Mini App preview media, see here » for more info.

Attributes:

NameTypeRequiredDescription
dateintYesWhen was this media last updated.
mediaMessageMediaOptionalThe actual photo/video.

Type: BotPreviewMedia

Example:

$botPreviewMedia = ['_' => 'botPreviewMedia', 'date' => int, 'media' => MessageMedia];