@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
17 lines • 660 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HtEventFallback = void 0;
const types_1 = require("../types");
const ht_event_1 = require("./ht-event");
class HtEventFallback extends ht_event_1.HtEvent {
constructor(event, requestData) {
super(event, requestData);
this.type = types_1.EventType.BotEvent;
this.action = types_1.EventAction.Fallback;
this.user_input = event.userInput;
this.fallback_out = event.fallbackOut;
this.fallback_message_id = event.fallbackMessageId;
}
}
exports.HtEventFallback = HtEventFallback;
//# sourceMappingURL=ht-event-fallback.js.map