Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/message.ts>GiveawayCompleted

Type declarations of the Telegram Bot API.
Latest
interface GiveawayCompleted
import { type GiveawayCompleted } from "https://deno.land/x/grammy_types@v3.16.0/message.ts";

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

Properties

winner_count: number

Number of winners in the giveaway

optional
unclaimed_prize_count: number

Number of undistributed prizes

optional
giveaway_message: Message

Message with the giveaway that was completed, if it wasn't deleted

optional
is_star_giveaway: true

True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.