diff --git a/package-lock.json b/package-lock.json index 6d7e06b..6c4c642 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "1.4.2", + "version": "1.4.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4f96472..206a5ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "botlib", - "version": "1.4.2", + "version": "1.4.4", "description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)", "main": "dist/index.js", "types": "dist/index", diff --git a/src/IGBConversationalService.ts b/src/IGBConversationalService.ts index ba38be3..132b5c7 100644 --- a/src/IGBConversationalService.ts +++ b/src/IGBConversationalService.ts @@ -38,11 +38,12 @@ import { GBDialogStep } from "./GBDialogStep"; export interface IGBConversationalService { sendEvent(step: GBDialogStep, name: string, value: Object); sendEvent(step: GBDialogStep, name: string, value: Object); - sendFile(min: GBMinInstance, step: GBDialogStep, url: string); + sendFile(min: GBMinInstance, step: GBDialogStep, url: string, caption: string); sendAudio(min: GBMinInstance, step: GBDialogStep, url: string); sendSms(min: GBMinInstance, mobile: string, text: string); routeNLP(step: GBDialogStep, min: GBMinInstance, text: string): Promise; getCurrentLanguage(step: GBDialogStep); getNewMobileCode(); sendMarkdownToMobile(min: GBMinInstance, step: GBDialogStep, mobile: string, text: string); + }