public static class TdApi.WriteGeneratedFilePart extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
byte[] |
data
The data to write.
|
long |
generationId
The identifier of the generation process.
|
long |
offset
The offset from which to write the data to the file.
|
| Constructor and Description |
|---|
WriteGeneratedFilePart()
Default constructor for a function, which writes a part of a generated file.
|
WriteGeneratedFilePart(long generationId,
long offset,
byte[] data)
Creates a function, which writes a part of a generated file.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long generationId
public long offset
public byte[] data
public static final int CONSTRUCTOR
public WriteGeneratedFilePart()
Returns Ok
public WriteGeneratedFilePart(long generationId,
long offset,
byte[] data)
Returns Ok
generationId - The identifier of the generation process.offset - The offset from which to write the data to the file.data - The data to write.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object