GetFileDownloadedPrefixSize

public struct GetFileDownloadedPrefixSize : Codable, Equatable, TDFunction

Returns file downloaded prefix size from a given offset

  • Undocumented

    Declaration

    Swift

    public typealias Result = Count
  • Identifier of the file

    Declaration

    Swift

    public let fileId: Int32
  • Offset from which downloaded prefix size should be calculated

    Declaration

    Swift

    public let offset: Int32
  • Returns file downloaded prefix size from a given offset

    Declaration

    Swift

    public init(fileId: Int32, offset: Int32)

    Parameters

    fileId

    Identifier of the file

    offset

    Offset from which downloaded prefix size should be calculated