ChatAttachmentMessage

@objc(ZDKChatAttachmentMessage)
public final class ChatAttachmentMessage : ChatLog

The Chat Log attachment

  • Declaration

    Swift

    @objc
    public let message: String
  • Underlying attachment model

    Declaration

    Swift

    @objc
    public let attachment: ChatAttachment
  • url

    Returns the URL associated with the attachment. Preferring remote over local. Nil if neither exist.

    Declaration

    Swift

    @objc
    public var url: URL? { 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?) -> Bool

    Parameters

    object

    the object to compare against