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 Detail

      • fileId

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

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CancelUploadFile

        public CancelUploadFile()
        Default constructor for a function, which 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)
        Creates a function, which 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 - Identifier of the file to stop uploading.