Skip to content

GramIO API Reference / gramio/dist / TelegramChatBoostSourceGiveaway

Interface: TelegramChatBoostSourceGiveaway

Defined in: @gramio/types/out/objects.d.ts:5382

The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways.

Documentation

Properties

PropertyTypeDescriptionDefined in
giveaway_message_idnumberIdentifier of a message in the chat with the giveaway; the message could have been deleted already. May be 0 if the message isn't sent yet.@gramio/types/out/objects.d.ts:5390
is_unclaimed?trueOptional. True, if the giveaway was completed, but there was no user to win the prize@gramio/types/out/objects.d.ts:5402
prize_star_count?numberOptional. The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only@gramio/types/out/objects.d.ts:5398
source"giveaway"Source of the boost, always “giveaway”@gramio/types/out/objects.d.ts:5386
user?TelegramUserOptional. User that won the prize in the giveaway if any; for Telegram Premium giveaways only@gramio/types/out/objects.d.ts:5394