text: ﻿class Message {
      constructor(sender, receiver, text, sendDate) {
          this.sender = sender;
          this.receiver = receiver;
          this.text = text;
          this.sendDate = sendDate;
      }
  }