Skip to content

MessageGiveawayWinners

Type · TDLib 1.8.67 · d1085f9c

A giveaway with public winners has been completed for the chat

MessageGiveawayWinners(
  boosted_chat_id: int53,
  giveaway_message_id: int53,
  additional_chat_count: int32,
  actual_winners_selection_date: int32,
  only_new_members: Bool,
  was_refunded: Bool,
  prize: GiveawayPrize,
  prize_description: string,
  winner_count: int32,
  winner_user_ids: list of int53,
  unclaimed_prize_count: int32
) → MessageContent

boosted_chat_id

int53

Identifier of the supergroup or channel chat, which was automatically boosted by the winners of the giveaway

giveaway_message_id

int53

Identifier of the message with the giveaway in the boosted chat

additional_chat_count

int32

Number of other chats that participated in the giveaway

actual_winners_selection_date

int32

Point in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in parameters of the giveaway

only_new_members

Bool

True, if only new members of the chats were eligible for the giveaway

was_refunded

Bool

True, if the giveaway was canceled and was fully refunded

prize

GiveawayPrize

Prize of the giveaway

prize_description

string

Additional description of the giveaway prize

winner_count

int32

Total number of winners in the giveaway

winner_user_ids

list of int53

Up to 100 user identifiers of the winners of the giveaway

unclaimed_prize_count

int32

Number of undistributed prizes; for Telegram Premium giveaways only