pub fn new(content: String, from: UserID, to: UserID) -> Self {
        Self {
            from,
            to,
            time: SystemTime::now(),
            content,
        }
    }
/// Creates new message with current system time.
Creates new message with current system time.
Creates new message with current system time .
pub fn new(content: String, from: UserID, to: UserID) -> Self {
        Self {
            from,
            to,
            time: SystemTime::now(),
            content,
        }
    }
pub fn new ( content : String , from : UserID , to : UserID ) -> Self { Self { from , to , time : SystemTime :: now ( ) , content , } }
Creates new message with current system time.
Creates new message with current system time .
content
String
from
UserID
to
UserID