postman-node/Message.js
2020-03-20 02:37:55 +07:00

15 lines
275 B
JavaScript

function Message(client, attributes) {
this.client = client;
this.attributes = attributes;
}
Message.prototype.id = function id() {
return this.attributes.id;
}
Message.prototype.token = function token() {
return this.attributes.token;
}
module.exports = Message;