OwnedGiftUnique
Describes a unique gift received and owned by a user or a chat.
Поля
typeString
Type of the gift, always “unique”
Information about the unique gift
Unique identifier of the received gift for the bot; for gifts received on behalf of business accounts only
Sender of the gift if it is a known user
send_dateInteger
Date the gift was sent in Unix time
True, if the gift is displayed on the account's profile page; for gifts received on behalf of business accounts only
True, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only
Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift
Point in time (Unix timestamp) when the gift can be transferred. If it is in the past, then the gift can be transferred now.
Минимальный JSON
JSON
{
"type": "unique",
"gift": {
"gift_id": "...",
"base_name": "...",
"name": "...",
"number": 1,
"model": {},
"symbol": {},
"backdrop": {}
},
"send_date": 1
}Где используется
Типы