LinkUp-P2P-Chat/chatBot/includes/TextMessage.js

10 lines
257 B
JavaScript

class TextMessage {
public TextMessage(chatRoom, userPeer, message, timestamp) {
this.chatRoom = chatRoom;
this.userPeer = userPeer;
this.message = message;
this.timestamp = timestamp;
}
}
export default TextMessage;