payments.GetSavedStarGifts
- class pyrogram.raw.functions.payments.GetSavedStarGifts
Fetch the full list of gifts owned by a peer.
- Details:
Layer:
222ID:
A319E569
- Parameters:
peer (
InputPeer) – Fetch only gifts owned by the specified peer, such as: a user, with peer=inputPeerUser; a channel, with peer=inputPeerChannel; a connected business user (when executing the method as a bot, over the business connection), with peer=inputPeerUser.offset (
str) – Offset for pagination.limit (
int32-bit) – Maximum number of results to return, see paginationexclude_unsaved (
bool, optional) – Exclude gifts not pinned on the profile.exclude_saved (
bool, optional) – Exclude gifts pinned on the profile.exclude_unlimited (
bool, optional) – Exclude gifts that do not have the starGift.limited flag set.exclude_unique (
bool, optional) – Exclude collectible gifts ».sort_by_value (
bool, optional) – If set, sorts the gifts by price instead of reception date.exclude_upgradable (
bool, optional) – Exclude gifts that can be upgraded to collectible gifts ».exclude_unupgradable (
bool, optional) – Exclude gifts that cannot be upgraded to collectible gifts ».peer_color_available (
bool, optional) – N/Aexclude_hosted (
bool, optional) – N/Acollection_id (
int32-bit, optional) – Only returns gifts within the specified collection ».
- Returns: