Raw.UpdateBotPurchasedPaidMedia

Raw.UpdateBotPurchasedPaidMedia

Bots only: a user has purchased a paid media.

updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
export namespace Raw {
  export class UpdateBotPurchasedPaidMedia {
    constructor(params: { userId: bigint; payload: string; qts: number }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 198
Constructor ID: 0x283bd312

Property

  • userId : bigint

    The user that bought the media

  • payload : string

    Payload passed by the bot in inputmediapaidmedia.payload

  • qts : number

    New qts value, see updates for more info.