Skip to content

GramIO API Reference / gramio/dist / TelegramGift

Interface: TelegramGift

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

This object represents a gift that can be sent by the bot.

Documentation

Properties

PropertyTypeDescriptionDefined in
background?TelegramGiftBackgroundOptional. Background of the gift@gramio/types/out/objects.d.ts:4774
has_colors?trueOptional. True, if the gift can be used (after being upgraded) to customize a user's appearance@gramio/types/out/objects.d.ts:4754
idstringUnique identifier of the gift@gramio/types/out/objects.d.ts:4734
is_premium?trueOptional. True, if the gift can only be purchased by Telegram Premium subscribers@gramio/types/out/objects.d.ts:4750
personal_remaining_count?numberOptional. The number of remaining gifts of this type that can be sent by the bot; for limited gifts only@gramio/types/out/objects.d.ts:4770
personal_total_count?numberOptional. The total number of gifts of this type that can be sent by the bot; for limited gifts only@gramio/types/out/objects.d.ts:4766
publisher_chat?TelegramChatOptional. Information about the chat that published the gift@gramio/types/out/objects.d.ts:4782
remaining_count?numberOptional. The number of remaining gifts of this type that can be sent by all users; for limited gifts only@gramio/types/out/objects.d.ts:4762
star_countnumberThe number of Telegram Stars that must be paid to send the sticker@gramio/types/out/objects.d.ts:4742
stickerTelegramStickerThe sticker that represents the gift@gramio/types/out/objects.d.ts:4738
total_count?numberOptional. The total number of gifts of this type that can be sent by all users; for limited gifts only@gramio/types/out/objects.d.ts:4758
unique_gift_variant_count?numberOptional. The total number of different unique gifts that can be obtained by upgrading the gift@gramio/types/out/objects.d.ts:4778
upgrade_star_count?numberOptional. The number of Telegram Stars that must be paid to upgrade the gift to a unique one@gramio/types/out/objects.d.ts:4746