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 long expectedSize
      Expected size of the generated file, in bytes; 0 if unknown.
    • localPrefixSize

      public long 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, long expectedSize, long localPrefixSize)
      Informs TDLib on a file generation progress. Returns Ok
      Parameters:
      generationId - long The identifier of the generation process.
      expectedSize - long Expected size of the generated file, in bytes; 0 if unknown.
      localPrefixSize - long 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