Module tdlight.api

Class TdApi.ToggleDownloadIsPaused

Enclosing class:
TdApi

public static final class TdApi.ToggleDownloadIsPaused extends TdApi.Function<TdApi.Ok>
Changes pause state of a file in the file download list. Returns Ok
  • Field Details

    • fileId

      public int fileId
      Identifier of the downloaded file.
    • isPaused

      public boolean isPaused
      Pass true if the download is paused.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleDownloadIsPaused

      public ToggleDownloadIsPaused()
      Changes pause state of a file in the file download list. Returns Ok
    • ToggleDownloadIsPaused

      public ToggleDownloadIsPaused(int fileId, boolean isPaused)
      Changes pause state of a file in the file download list. Returns Ok
      Parameters:
      fileId - int Identifier of the downloaded file.
      isPaused - boolean Pass true if the download is paused.
    • ToggleDownloadIsPaused

      public ToggleDownloadIsPaused(DataInput input) throws IOException
      Changes pause state of a file in the file download list. Returns Ok
      Throws:
      IOException
  • Method Details