Layer 220
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

Update

Gogram Example

// Creating UpdateBotPurchasedPaidMedia constructor
obj := &tg.UpdateBotPurchasedPaidMedia{
    UserId: int64(0),
    Payload: "...",
    Qts: 0,
}