Available types

GiveawayCompleted

This object represents a service message about the completion of a giveaway without public winners.

fields

fieldtyperequireddescription
winner_countnumberrequiredNumber of winners in the giveaway
unclaimed_prize_countnumberoptionalOptional. Number of undistributed prizes
giveaway_messageMessageoptionalOptional. Message with the giveaway that was completed, if it wasn't deleted
is_star_giveawaybooleanoptionalOptional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.

import

types.ts
import type { GiveawayCompleted } from "@yaebal/types";

used by

types