public static class TdApi.WriteGeneratedFilePart extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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.
|
int |
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,
int offset,
byte[] data)
Creates a function, which writes a part of a generated file.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long generationId
public int offset
public byte[] data
public static final int CONSTRUCTOR
public WriteGeneratedFilePart()
Returns Ok
public WriteGeneratedFilePart(long generationId, int 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()
getConstructor
in class TdApi.Function