OwnedGifts

class aiogram.types.owned_gifts.OwnedGifts(*, total_count: int, gifts: list[OwnedGiftRegular | OwnedGiftUnique], next_offset: str | None = None, **extra_data: Any)[source]

Contains the list of gifts received and owned by a user or a chat.

Source: https://core.telegram.org/bots/api#ownedgifts

total_count: int

The total number of gifts owned by the user or the chat

gifts: list[OwnedGiftUnion]

The list of gifts

next_offset: str | None

Optional. Offset for the next request. If empty, then there are no more results