all(text): Bot to text in any language.

This commit is contained in:
Rodrigo Rodriguez 2020-05-17 21:30:56 +00:00
parent e10844dc8e
commit fa4091d6e5

View file

@ -36,10 +36,12 @@ import { GBMinInstance } from "./GBMinInstance";
import { GBDialogStep } from "./GBDialogStep";
export interface IGBConversationalService {
sendEvent(step: GBDialogStep, name: string, value: Object);
sendEvent(step: GBDialogStep, name: string, value: Object);
prompt(min: GBMinInstance, step: GBDialogStep, text: string);
sendText(min: GBMinInstance, step: GBDialogStep, text: string);
sendEvent(min: GBMinInstance, step: GBDialogStep, name: string, value: Object);
sendFile(min: GBMinInstance, step: GBDialogStep, mobile: string, url: string, caption: string);
sendAudio(min: GBMinInstance, step: GBDialogStep, url: string);
prompt(min: GBMinInstance, step: GBDialogStep, text: string);
sendSms(min: GBMinInstance, mobile: string, text: string);
routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise<boolean>;
getCurrentLanguage(step: GBDialogStep);