import { MessageOptions } from './types'; /** * Class for a message in the chat * @author Eirik Måseidvåg */ export default class Message { /** * The ID of the message */ id: string; /** * The ID of the user that sent the message */ userId: string; /** * The timestamp the message was sent */ timestamp: number; /** * The message itself */ message: string; /** * Construct the message * @param {MessageOptions} options: the message options */ constructor(options: MessageOptions); }