• Get a list of saved star gifts of a user/channel

    Note that filters currently only work for channels

    Parameters

    • client: ITelegramClient
    • params: {
          excludeHidden?: boolean;
          excludeLimited?: boolean;
          excludePublic?: boolean;
          excludeUnique?: boolean;
          excludeUnlimited?: boolean;
          limit?: number;
          offset?: string;
          owner: InputPeerLike;
          sortByValue?: boolean;
      }
      • OptionalexcludeHidden?: boolean

        Whether to exclude hidden gifts

      • OptionalexcludeLimited?: boolean

        Whether to exclude gifts with limited availability

      • OptionalexcludePublic?: boolean

        Whether to exclude publicly visible gifts

      • OptionalexcludeUnique?: boolean

        Whether to exclude unique gifts

      • OptionalexcludeUnlimited?: boolean

        Whether to exclude gifts with unlimited availability

      • 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 Promise<ArrayPaginated<SavedStarGift, string>>