Raw.PrepaidStarsGiveaway

Raw.PrepaidStarsGiveaway

Contains info about a prepaid telegram star giveaway.

prepaidStarsGiveaway#9a9d77e0 id:long stars:long quantity:int boosts:int date:int = PrepaidGiveaway;
export namespace Raw {
  export class PrepaidStarsGiveaway {
    constructor(params: {
      id: bigint;
      stars: bigint;
      quantity: number;
      boosts: number;
      date: number;
    }) {}
  }
}
🚫

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

Layer: 198
Constructor ID: 0x9a9d77e0

Property

  • id : bigint

    Prepaid giveaway id.

  • stars : bigint

    Number of given away telegram stars

  • quantity : number

    Number of giveaway winners

  • boosts : number

    Number of boosts the channel will gain by launching the giveaway.

  • date : number

    When was the giveaway paid for