Machine-readable version of this page: /constructor/updateBotPurchasedPaidMedia.md.

updateBotPurchasedPaidMedia

Bots only: a user has purchased a paid media.

생성자 스키마는 레이어 187부터 사용할 수 있습니다. 전환 »

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.