Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grammy/types.web.ts>GiveawayCompleted

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