updateBotPurchasedPaidMedia

Bots only: a user has purchased a paid media.

Constructor schema is available as of layer 187. Switch »

Parameters

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

Type

Update

Related pages

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.