UNPKG

meses-messaging

Version:

Meses messaging SDK in JavaScript

18 lines (13 loc) 504 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Message = function Message(messageId, message, creatorName, properties) { _classCallCheck(this, Message); this.messageId = messageId; this.message = message; this.creatorName = creatorName; Object.assign(this, properties); }; exports.default = Message;