@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
13 lines • 496 B
JavaScript
import { EventAction, EventType } from '../types';
import { HtEvent } from './ht-event';
export class HtEventFallback extends HtEvent {
constructor(event, requestData) {
super(event, requestData);
this.type = EventType.BotEvent;
this.action = EventAction.Fallback;
this.user_input = event.userInput;
this.fallback_out = event.fallbackOut;
this.fallback_message_id = event.fallbackMessageId;
}
}
//# sourceMappingURL=ht-event-fallback.js.map