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

x/grammy/types.ts>GiveawayCompleted

The Telegram Bot Framework.
Very Popular
Go to Latest
interface GiveawayCompleted
import { type GiveawayCompleted } from "https://deno.land/x/grammy@v1.31.1/types.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.