Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>ChatBoostSourceGiveaway

Hydration plugin for API calls and context objects.
Latest
interface ChatBoostSourceGiveaway
import { type ChatBoostSourceGiveaway } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.deno.ts";

The boost was obtained by the creation of a Telegram Premium giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

Properties

source: "giveaway"

Source of the boost, always “giveaway”

giveaway_message_id: number

Identifier of a message in the chat with the giveaway; the message could have been deleted already

optional
user: User

User that won the prize in the giveaway if any

optional
is_unclaimed: true

True, if the giveaway was completed, but there was no user to win the prize