OwnedGiftUnique¶
- class aiogram.types.owned_gift_unique.OwnedGiftUnique(*, type: Literal[OwnedGiftType.UNIQUE] = OwnedGiftType.UNIQUE, gift: UniqueGift, send_date: int, owned_gift_id: str | None = None, sender_user: User | None = None, is_saved: bool | None = None, can_be_transferred: bool | None = None, transfer_star_count: int | None = None, **extra_data: Any)[source]¶
Describes a unique gift received and owned by a user or a chat.
Source: https://core.telegram.org/bots/api#ownedgiftunique
- type: Literal[OwnedGiftType.UNIQUE]¶
Type of the gift, always ‘unique’
- gift: UniqueGift¶
Information about the unique gift
- send_date: int¶
Date the gift was sent in Unix time
- owned_gift_id: str | None¶
Optional. Unique identifier of the received gift for the bot; for gifts received on behalf of business accounts only
- is_saved: bool | None¶
Optional. True, if the gift is displayed on the account’s profile page; for gifts received on behalf of business accounts only
- can_be_transferred: bool | None¶
Optional. True, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only
- transfer_star_count: int | None¶
Optional. Number of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift