ChatAttachment
@objc(ZDKChatAttachment)
public final class ChatAttachment : NSObject, DataConvertible, ReflectedStringConvertible
The ZDKChatAttachment model, contains information about attachments that were sent or received
by the visitor.
-
Nameof the attachmentDeclaration
Swift
@objc public let name: String -
Mimetypeassociated with the attachmentDeclaration
Swift
@objc public let mimeType: String -
The
sizeof the attachment in kbDeclaration
Swift
@objc public let size: Int -
The remote
urlwhere the attachemt is storedDeclaration
Swift
@objc public let url: String -
The local
urlwhere the attachemt is storedDeclaration
Swift
@objc public let localURL: URL? -
The
attachmentErroris provided, when attachment upload has failedDeclaration
Swift
public internal(set) var attachmentError: ChatAttachmentError? { get } -
Returns a Boolean value that indicates whether the receiver and a given object are equal.
Declaration
Swift
@objc override public func isEqual(_ object: Any?) -> BoolParameters
objectthe object to compare against
Install in Dash
ChatAttachment Class Reference