java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.FoundFileDownloads
- Enclosing class:
- TdApi
Contains a list of downloaded files, found by a search.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The list of files.The offset for the next request.Total number of suitable files, ignoring offset. -
Constructor Summary
ConstructorDescriptionContains a list of downloaded files, found by a search.FoundFileDownloads
(TdApi.DownloadedFileCounts totalCounts, TdApi.FileDownload[] files, String nextOffset) Contains a list of downloaded files, found by a search.FoundFileDownloads
(DataInput input) Contains a list of downloaded files, found by a search. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
totalCounts
Total number of suitable files, ignoring offset. -
files
The list of files. -
nextOffset
The offset for the next request. If empty, there are no more results. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
FoundFileDownloads
public FoundFileDownloads()Contains a list of downloaded files, found by a search. -
FoundFileDownloads
public FoundFileDownloads(TdApi.DownloadedFileCounts totalCounts, TdApi.FileDownload[] files, String nextOffset) Contains a list of downloaded files, found by a search.- Parameters:
totalCounts
- Total number of suitable files, ignoring offset.files
- The list of files.nextOffset
- The offset for the next request. If empty, there are no more results.
-
FoundFileDownloads
Contains a list of downloaded files, found by a search.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-