P2PMessage
@Serializable
Represents a peer-to-peer message.
Parameters
from
the sender of the message.
to
the recipient of the message.
text
the content of the message.
timeStamp
the timestamp of the message.
id
the unique identifier of the message.