Module tdlight.api

Class TdApi.CancelUploadFile

Enclosing class:
TdApi

public static final class TdApi.CancelUploadFile extends TdApi.Function<TdApi.Ok>
Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.

Returns Ok

  • Field Details

    • fileId

      public int fileId
      Identifier of the file to stop uploading.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CancelUploadFile

      public CancelUploadFile()
      Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.

      Returns Ok

    • CancelUploadFile

      public CancelUploadFile(int fileId)
      Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.

      Returns Ok

      Parameters:
      fileId - int Identifier of the file to stop uploading.
    • CancelUploadFile

      public CancelUploadFile(DataInput input) throws IOException
      Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.

      Returns Ok

      Throws:
      IOException
  • Method Details