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 Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int fileId
      Identifier of the file to stop uploading.
    • Constructor Summary

      Constructors 
      Constructor Description
      CancelUploadFile()
      Default constructor.
      CancelUploadFile​(int fileId)
      Constructor for initialization of all fields.
    • 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.
      • CancelUploadFile

        public CancelUploadFile​(int fileId)
        Constructor for initialization of all fields.
        Parameters:
        fileId - Identifier of the file to stop uploading.