Link Search Menu Expand Document

Constructor: updateBotPurchasedPaidMedia

Back to constructors index

Bots only: a user has purchased a paid media.

Attributes:

NameTypeRequiredDescription
user_idlongYesThe user that bought the media
payloadstringYesPayload passed by the bot in inputMediaPaidMedia.payload
qtsintYesNew qts value, see updates » for more info.

Type: Update

Example:

$updateBotPurchasedPaidMedia = ['_' => 'updateBotPurchasedPaidMedia', 'user_id' => long, 'payload' => 'string', 'qts' => int];