updateBotPurchasedPaidMedia

Bots only: a user has purchased a paid media.

updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;

Parameters

Name Type Description
user_id long The user that bought the media
payload string Payload passed by the bot in inputMediaPaidMedia.payload
qts int New qts value, see updates » for more info.

Type

Update

Related pages

inputMediaPaidMedia

Paid media, see here » for more info.

Working with Updates

How to subscribe to updates and handle them properly.

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.