Skip to main content

starsGiveawayWinnersOption

Allowed options for the number of giveaway winners.

type tg.StarsGiveawayWinnersOption struct { /* ... */ }

Fields​

NameTypeRequiredDescription
Defaultbool—If set, this option must be pre-selected by default in the option list.
UsersintyesThe number of users that will be randomly chosen as winners.
PerUserStarsint64yesThe number of Telegram Stars each winner will receive.

References​