ChatBoostSourceGiftCode
The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.
fields
| field | type | required | description |
|---|---|---|---|
source | string | required | Source of the boost, always “gift_code” |
user | User | required | User for which the gift code was created |
import
import type { ChatBoostSourceGiftCode } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#chatboostsourcegiftcode