@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
15 lines (14 loc) • 436 B
TypeScript
import { EventAction, EventType, HtEventProps, RequestData } from '../types';
export declare class HtEvent {
chat_id?: string;
type: EventType;
format_version?: number;
bot_version?: string;
flow_version?: string;
action: EventAction;
bot_interaction_id?: string;
user_locale: string;
user_country: string;
system_locale: string;
constructor(event: HtEventProps, requestData: RequestData);
}