aboutsummaryrefslogtreecommitdiff
path: root/src/data/ThreadMessage.js
blob: 270428703b8b0d383aa5f0442f40aa21a02940cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const utils = require("../utils");

/**
 * @property {Number} id
 * @property {String} thread_id
 * @property {Number} message_type
 * @property {String} user_id
 * @property {String} user_name
 * @property {String} body
 * @property {Number} is_anonymous
 * @property {Number} dm_message_id
 * @property {String} created_at
 */
class ThreadMessage {
  constructor(props) {
    utils.setDataModelProps(this, props);
  }
}

module.exports = ThreadMessage;