inputMediaPaidMedia

Paid media, see here » for more info.

Constructor schema is available as of layer 187. Switch »

Parameters

Name Type Description
stars_amount long The price of the media in Telegram Stars.
extended_media Vector<InputMedia> Photos or videos.

Type

InputMedia

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.

Go up