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
  • id

    The storage id used to download the encrypted file contents

    Declaration

    Swift

    public let id: UInt64
  • key

    The key used to encrypt the file contents before upload

    Declaration

    Swift

    public let key: Data