Message
public final class Message : Identifiable, ObservableObject
extension Message: Equatable
An object representing a message.
-
The identifier of this message.
Declaration
Swift
@Published public var id: OrangeChatKey { get set }
-
The sender of this message.
Declaration
Swift
@Published public var senderName: String { get set }
-
The text of this message.
Declaration
Swift
@Published public var text: String { get set }
-
The send date of this message.
Declaration
Swift
@Published public var sendDate: Date { get set }
-
A booelan indicating if this message is sent by the current user.
Declaration
Swift
@Published public var isSentByCurrentUser: Bool { get set }
-
File (image) URL string
Declaration
Swift
@Published public var fileUrlString: String? { get set }
-
Thumbnail URL
Declaration
Swift
@Published public var thumbnailUrlString: String? { get set }
-
Declaration
Swift
public static func == (lhs: Message, rhs: Message) -> Bool