TgKit library and website are still in early development!

GiveawayWinners Interface

Properties

additionalChatCount number

The number of other chats the user had to join in order to be eligible for the giveaway

See the code

chat Chat

The chat that created the giveaway

See the code

giveawayMessageId number

Identifier of the message with the giveaway in the chat

See the code

onlyNewMembers boolean

*true*, if only users who had joined the chats after the giveaway started were eligible to win

See the code

premiumSubscriptionMonthCount number

The number of months the Telegram Premium subscription won from the giveaway will be active for

See the code

prizeDescription string

Description of additional giveaway prize

See the code

unclaimedPrizeCount number

Number of undistributed prizes

See the code

wasRefunded boolean

*true*, if the giveaway was canceled because the payment for it was refunded

See the code

winnerCount number

Total number of winners in the giveaway

See the code

winners

List of up to 100 winners of the giveaway

See the code

winnersSelectionDate Date

Point in time when winners of the giveaway were selected

See the code