UniqueGiftInfo¶
- class aiogram.types.unique_gift_info.UniqueGiftInfo(*, gift: UniqueGift, origin: str, owned_gift_id: str | None = None, transfer_star_count: int | None = None, **extra_data: Any)[source]¶
Describes a service message about a unique gift that was sent or received.
Source: https://core.telegram.org/bots/api#uniquegiftinfo
- gift: UniqueGift¶
Information about the gift
- origin: str¶
Origin of the gift. Currently, either ‘upgrade’ or ‘transfer’
- owned_gift_id: str | None¶
Optional. Unique identifier of the received gift for the bot; only present for gifts received on behalf of business accounts
- 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