Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _default = exports["default"] = function _default(client) {
  var channel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  var payload = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  var user = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  var newDate = new Date();
  client.dispatchEvent(Object.assign({
    channel: channel,
    cid: channel.cid,
    created_at: newDate,
    received_at: newDate,
    type: 'notification.mark_unread',
    user: user
  }, payload));
};
//# sourceMappingURL=notificationMarkUnread.js.map