Skip to main content
Module

x/grammy_types/mod.ts>GiveawayCompleted

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface GiveawayCompleted
import { type GiveawayCompleted } from "https://deno.land/x/grammy_types@v3.5.2/mod.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