ServerMessageInfo
Holds message's information created by server.
Fields
id
String
The unique identifier for the message.
This property returns the messageId
converted to a String
to serve as the unique identifier.
Static Methods
==(::)
Compares two ServerMessageInfo
instances for equality.
This function compares the messageId
, threadId
, createDate
, and author
fields of the two instances.
Params
lhs
privmx.endpoint.thread.ServerMessageInfo
The left-hand side ServerMessageInfo
instance.
rhs
privmx.endpoint.thread.ServerMessageInfo
The right-hand side ServerMessageInfo
instance.
Returns
Bool
·
true
if all relevant fields of both instances are equal, otherwise false
.
Methods
hash(into:)
Generates a hash value for the ServerMessageInfo
instance.
This function combines the messageId
and threadId
properties into the hash to uniquely identify the message info.
Params
hasher
inout Hasher
The Hasher
instance used to compute the hash value.
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.