GiveawayCompleted
This object represents a service message about the completion of a giveaway without public winners.
fields
| field | type | required | description |
|---|---|---|---|
winner_count | number | required | Number of winners in the giveaway |
unclaimed_prize_count | number | optional | Optional. Number of undistributed prizes |
giveaway_message | Message | optional | Optional. Message with the giveaway that was completed, if it wasn't deleted |
is_star_giveaway | boolean | optional | Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway. |
import
import type { GiveawayCompleted } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#giveawaycompleted