ExternalChatMessage
public struct ExternalChatMessage : Hashable, Identifiable, Comparable
ChatMessage represents both sent and received messages.
Messages supports a variety of different content. For example images, buttons and attachments.
-
Declaration
Swift
public let id: String -
Declaration
Swift
public static func < (lhs: ExternalChatMessage, rhs: ExternalChatMessage) -> Bool -
Declaration
Swift
public static func == (lhs: ExternalChatMessage, rhs: ExternalChatMessage) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher) -
Convert to dictionary for event emission
Declaration
Swift
public func toDictionary() -> [String : Any]
View on GitHub