View Source ExTDLib.Method.SearchFileDownloads (ExTDLib v0.0.4)
Searches for files in the file download list or recently downloaded files from the list. Returns object_ptr<FoundFileDownloads>.
| Name | Type | Description |
|---|---|---|
| query | string | Query to search for; may be empty to return all downloaded files. |
| only_active | bool | Pass true to search only for active downloads, including paused. |
| only_completed | bool | Pass true to search only for completed downloads. |
| offset | string | Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results. |
| limit | number | The maximum number of files to be returned. |
More details on telegram's documentation.