ft_transcendence/frontend/static/js/api/chat/message.js

11 lines
200 B
JavaScript
Raw Permalink Normal View History

2023-12-15 14:32:43 -05:00
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}