Raw.PrepaidGiveaway

Raw.PrepaidGiveaway

Contains info about a prepaid giveaway.

prepaidGiveaway#b2539d54 id:long months:int quantity:int date:int = PrepaidGiveaway;
export namespace Raw {
  export class PrepaidGiveaway {
    constructor(params: { id: bigint; months: number; quantity: number; date: number }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xb2539d54

Property

  • id : bigint

    Prepaid giveaway id.

  • months : number

    Duration in months of each gifted telegram premium subscription.

  • quantity : number

    Number of given away telegram premium subscriptions.

  • date : number

    Payment date.