Class TdApi.SetFileGenerationProgress

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetFileGenerationProgress
Enclosing class:
TdApi

public static class TdApi.SetFileGenerationProgress
extends TdApi.Function
Informs TDLib on a file generation progress.

Returns Ok

  • Field Details

    • generationId

      public long generationId
      The identifier of the generation process.
    • expectedSize

      public int expectedSize
      Expected size of the generated file, in bytes; 0 if unknown.
    • localPrefixSize

      public int localPrefixSize
      The number of bytes already generated.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SetFileGenerationProgress

      public SetFileGenerationProgress()
      Informs TDLib on a file generation progress.

      Returns Ok

    • SetFileGenerationProgress

      public SetFileGenerationProgress​(long generationId, int expectedSize, int localPrefixSize)
      Informs TDLib on a file generation progress.

      Returns Ok

      Parameters:
      generationId - long The identifier of the generation process.
      expectedSize - int Expected size of the generated file, in bytes; 0 if unknown.
      localPrefixSize - int The number of bytes already generated.
    • SetFileGenerationProgress

      public SetFileGenerationProgress​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details