Paid media, see here » for more info.
inputMediaPaidMedia#c4103386 flags:# stars_amount:long extended_media:Vector<InputMedia> payload:flags.0?string = InputMedia;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
stars_amount | long | The price of the media in Telegram Stars. |
extended_media | Vector<InputMedia> | Photos or videos. |
payload | flags.0?string | Bots only, specifies a custom payload that will then be passed in updateBotPurchasedPaidMedia when a payment is made (this field will not be visible to the user) |
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.
Bots only: a user has purchased a 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.