Layer 220
UpdateBotPurchasedPaidMedia
Bots only: a user has purchased a paid media.
constructor
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| UserId | long | The user that bought the media |
| Payload | string | Payload passed by the bot in input Media Paid Media. payload |
| Qts | int | New qts value, see updates for more info. |
Returns
UpdateGogram Example
// Creating UpdateBotPurchasedPaidMedia constructor obj := &tg.UpdateBotPurchasedPaidMedia{ UserId: int64(0), Payload: "...", Qts: 0, }