AttachmentInfo
public class AttachmentInfo : CustomStringConvertible
Information about an attached file that has been encrypted and uploaded
(use SignalClient.uploadAttachment(...) to get these)
-
The file name
Declaration
Swift
public let name: String -
The file size in bytes
Declaration
Swift
public let size: Int -
The file modification time
Declaration
Swift
public let mtime: Date -
The content integrity hash
Declaration
Swift
public let hash: Data? -
The file content mime type
Declaration
Swift
public let type: String -
The storage id used to download the encrypted file contents
Declaration
Swift
public let id: UInt64 -
The key used to encrypt the file contents before upload
Declaration
Swift
public let key: Data
-
A human-readable summary of this info
Declaration
Swift
public var description: String { get }
View on GitHub
Install in Dash
AttachmentInfo Class Reference