Module tdlight.api

Class TdApi.ToggleAllDownloadsArePaused

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.ToggleAllDownloadsArePaused
Enclosing class:
TdApi

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

    • arePaused

      public boolean arePaused
      Pass true to pause all downloads; pass false to unpause them.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ToggleAllDownloadsArePaused

      public ToggleAllDownloadsArePaused()
      Changes pause state of all files in the file download list. Returns Ok
    • ToggleAllDownloadsArePaused

      public ToggleAllDownloadsArePaused(boolean arePaused)
      Changes pause state of all files in the file download list. Returns Ok
      Parameters:
      arePaused - boolean Pass true to pause all downloads; pass false to unpause them.
    • ToggleAllDownloadsArePaused

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