2018-03-13 00:23:32 -04:00
|
|
|
const utils = require("../utils");
|
|
|
|
|
2018-02-11 14:54:30 -05:00
|
|
|
/**
|
|
|
|
* @property {Number} id
|
|
|
|
* @property {String} thread_id
|
|
|
|
* @property {Number} message_type
|
2020-05-24 18:33:10 -04:00
|
|
|
* @property {Number} message_number
|
2018-02-11 14:54:30 -05:00
|
|
|
* @property {String} user_id
|
|
|
|
* @property {String} user_name
|
|
|
|
* @property {String} body
|
|
|
|
* @property {Number} is_anonymous
|
2020-05-24 18:33:10 -04:00
|
|
|
* @property {String} dm_channel_id
|
|
|
|
* @property {String} dm_message_id
|
|
|
|
* @property {String} inbox_message_id
|
2018-02-11 14:54:30 -05:00
|
|
|
* @property {String} created_at
|
|
|
|
*/
|
|
|
|
class ThreadMessage {
|
|
|
|
constructor(props) {
|
2018-03-13 00:23:32 -04:00
|
|
|
utils.setDataModelProps(this, props);
|
2018-02-11 14:54:30 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = ThreadMessage;
|