Type alias TorrentIds

TorrentIds: number | "recently-active" | (number | string)[]

"ids", which specifies which torrents to use. All torrents are used if the "ids" argument is omitted.

"ids" should be one of the following:

  1. an integer referring to a torrent id
  2. a list of torrent id numbers, sha1 hash strings, or both
  3. a string, "recently-active", for recently-active torrents