public static class TdApi.GetFileDownloadedPrefixSize extends TdApi.Function
Returns Count
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
fileId
Identifier of the file.
|
int |
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,
int offset)
Creates a function, which returns file downloaded prefix size from a given offset, in bytes.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int fileId
public int offset
public static final int CONSTRUCTOR
public GetFileDownloadedPrefixSize()
Returns Count
public GetFileDownloadedPrefixSize(int fileId, int offset)
Returns Count
fileId
- Identifier of the file.offset
- Offset from which downloaded prefix size needs to be calculated.public int getConstructor()
getConstructor
in class TdApi.Function