CancelUploadFile

public struct CancelUploadFile : Codable, Equatable, TDFunction

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

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Identifier of the file to stop uploading

    Declaration

    Swift

    public let fileId: Int32
  • Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined

    Declaration

    Swift

    public init(fileId: Int32)

    Parameters

    fileId

    Identifier of the file to stop uploading