Raw.StarsGiveawayWinnersOption

Raw.StarsGiveawayWinnersOption

Allowed options for the number of giveaway winners.

starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
export namespace Raw {
  export class StarsGiveawayWinnersOption {
    constructor(params: { default?: boolean; users: number; perUserStars: bigint }) {}
  }
}
🚫

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

Layer: 198
Constructor ID: 0x54236209

Property

  • default : boolean or undefined

    If set, this option must be pre-selected by default in the option list.

  • users : number

    The number of users that will be randomly chosen as winners.

  • perUserStars : bigint

    The number of telegram stars each winner will receive.