export default class MessageEntity { private _id; private _attachments; private _userId; private _chatId; private _sentTime; private _text; constructor(id: string, originUserId: string, destinationChatId: string, sentTime: number, text: string, attachments: string[]); id: string; userId: string; chatId: string; sentTime: number; text: string; attachments: string[]; static parse(json: string): MessageEntity; static fromObject(object: any): MessageEntity; }