GiftInfo
Describes a service message about a regular gift that was sent or received.
Properties
gift
(Gift): Information about the giftowned_gift_id
(str
): Optional. Unique identifier of the received gift for the bot; only present for gifts received on behalf of business accountsconvert_star_count
(int
): Optional. Number of Telegram Stars that can be claimed by the receiver by converting the gift; omitted if conversion to Telegram Stars is impossibleprepaid_upgrade_star_count
(int
): Optional. Number of Telegram Stars that were prepaid by the sender for the ability to upgrade the giftcan_be_upgraded
(bool
): Optional. True, if the gift can be upgraded to a unique gifttext
(str
): Optional. Text of the message that was added to the giftentities
(List of MessageEntity): Optional. Special entities that appear in the textis_private
(bool
): Optional. True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them