Gift
interfaceThis object represents a gift that can be sent by the bot.
Declaration
interface Gift Properties
has_colors?: boolean;Optional. True, if the gift can be used (after being upgraded) to customize a user's appearance
personal_remaining_count?: number;Optional. The number of remaining gifts of this type that can be sent by the bot; for limited gifts only
personal_total_count?: number;Optional. The total number of gifts of this type that can be sent by the bot; for limited gifts only
publisher_chat?: Chat;Optional. Information about the chat that published the gift
remaining_count?: number;Optional. The number of remaining gifts of this type that can be sent by all users; for limited gifts only
star_count: number;The number of Telegram Stars that must be paid to send the sticker
total_count?: number;Optional. The total number of gifts of this type that can be sent by all users; for limited gifts only
unique_gift_variant_count?: number;Optional. The total number of different unique gifts that can be obtained by upgrading the gift
upgrade_star_count?: number;Optional. The number of Telegram Stars that must be paid to upgrade the gift to a unique one