diffusion
Version:
Diffusion JavaScript client
27 lines (26 loc) • 851 B
JavaScript
;
/**
* @module Services.TopicNotifications
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TopicNotificationDescendantEvent = void 0;
/**
* Data type for a TOPIC_DESCENDANT_EVENTS request.
*/
var TopicNotificationDescendantEvent = /** @class */ (function () {
/**
* Create a new TopicNotificationDescendantEvent instance
*
* @param cid the conversation ID
* @param path the path that the topic notification refers to
* @param type the notification type
*/
function TopicNotificationDescendantEvent(cid, path, type) {
this.cid = cid;
this.path = path;
this.type = type;
this.isDescendantEvent = true;
}
return TopicNotificationDescendantEvent;
}());
exports.TopicNotificationDescendantEvent = TopicNotificationDescendantEvent;