Module tdlight.api

Class TdApi.SetFileGenerationProgress

Enclosing class:
TdApi

public static final class TdApi.SetFileGenerationProgress extends TdApi.Function<TdApi.Ok>
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:
  • 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
      Informs TDLib on a file generation progress.

      Returns Ok

      Throws:
      IOException
  • Method Details