LastChatMessage
struct LastChatMessage
Holds information about the last sent message in a conversation.
-
The ID of the message.
Declaration
Swift
let messageId: String -
Timestamp of the collaboration server.
Declaration
Swift
let serverTime: Double -
The text of the message.
Declaration
Swift
let text: String -
The ID of the sender person.
Declaration
Swift
let senderPersonId: String -
The name of the sender person.
Declaration
Swift
let senderName: String -
A string representing the sender person’s avatar URL.
Declaration
Swift
let avatarUrl: String? -
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
static func == (lhs: LastChatMessage, rhs: LastChatMessage) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
-
Creates a new instance by decoding from the given decoder.
This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
init(from decoder: any Decoder) throws