Module

x/grammy_types/mod.ts>GiveawayCompleted

Type declarations of the Telegram Bot API.
Latest
interface GiveawayCompleted
import { type GiveawayCompleted } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/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

optional
is_star_giveaway: true

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