messageMediaPaidMedia

Paid media, see here » for more info.

messageMediaPaidMedia#a8852491 stars_amount:long extended_media:Vector<MessageExtendedMedia> = MessageMedia;

Parameters

Name Type Description
stars_amount long The price of the media in Telegram Stars.
extended_media Vector<MessageExtendedMedia> Either the paid-for media, or super low resolution media previews if the media wasn't purchased yet, see here » for more info.

Type

MessageMedia

Related pages

Telegram Stars

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

Paid media

Content creators can accept Stars by publishing paid photos or videos on their channels. Subscribers will be allowed to view such posts only after paying the author to unlock them.