ft_transcendence/frontend/static/js/api/chat/message.js
2023-12-15 20:32:43 +01:00

11 lines
200 B
JavaScript

class Message {
constructor(channel_id, author_id, content, time) {
this.channel_id = channel_id;
this.author_id = author_id;
this.content = content;
this.time = time;
}
}
export {Message}