Link Search Menu Expand Document

Constructor: messageMediaPaidMedia

Back to constructors index

Paid media, see here » for more info.

Attributes:

NameTypeRequiredDescription
stars_amountlongYesThe price of the media in Telegram Stars.
extended_mediaArray of MessageExtendedMediaYesEither the paid-for media, or super low resolution media previews if the media wasn’t purchased yet, see here » for more info.

Type: MessageMedia

Example:

$messageMediaPaidMedia = ['_' => 'messageMediaPaidMedia', 'stars_amount' => long, 'extended_media' => [MessageExtendedMedia, MessageExtendedMedia]];