public static class TdApi.GetFileDownloadedPrefixSize extends TdApi.Function<TdApi.FileDownloadedPrefixSize>
Returns FileDownloadedPrefixSize
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
fileId
Identifier of the file.
|
long |
offset
Offset from which downloaded prefix size needs to be calculated.
|
| Constructor and Description |
|---|
GetFileDownloadedPrefixSize()
Default constructor for a function, which returns file downloaded prefix size from a given offset, in bytes.
|
GetFileDownloadedPrefixSize(int fileId,
long offset)
Creates a function, which returns file downloaded prefix size from a given offset, in bytes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int fileId
public long offset
public static final int CONSTRUCTOR
public GetFileDownloadedPrefixSize()
Returns FileDownloadedPrefixSize
public GetFileDownloadedPrefixSize(int fileId,
long offset)
Returns FileDownloadedPrefixSize
fileId - Identifier of the file.offset - Offset from which downloaded prefix size needs to be calculated.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object