Class TdApi.CancelUploadFile

Enclosing class:
TdApi

public static class TdApi.CancelUploadFile
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details