• Iterate over saved star gifts of a user, wrapper over getSavedStarGifts

    Parameters

    • client: ITelegramClient
    • params: {
          excludeLimited?: boolean;
          excludeSaved?: boolean;
          excludeUnique?: boolean;
          excludeUnlimited?: boolean;
          excludeUnsaved?: boolean;
          limit?: number;
          offset?: string;
          owner: InputPeerLike;
          sortByValue?: boolean;
      }
      • OptionalexcludeLimited?: boolean

        Whether to exclude gifts with limited availability

      • OptionalexcludeSaved?: boolean

        Whether to exclude saved gifts

      • OptionalexcludeUnique?: boolean

        Whether to exclude unique gifts

      • OptionalexcludeUnlimited?: boolean

        Whether to exclude gifts with unlimited availability

      • OptionalexcludeUnsaved?: boolean

        Whether to exclude unsaved gifts

      • Optionallimit?: number

        Limit for pagination

      • Optionaloffset?: string

        Offset for pagination

      • owner: InputPeerLike

        Peer to get saved gifts from

      • OptionalsortByValue?: boolean

        Whether to sort by value

    Returns AsyncIterableIterator<SavedStarGift>