aimpress-chatbot/node_modules/botframework-connector/lib/skills/botFrameworkClient.d.ts
“SamoilenkoVadym” 195299ece0 Initial commit
2025-04-27 17:05:18 +01:00

15 lines
No EOL
807 B
TypeScript

import { Activity, InvokeResponse } from 'botframework-schema';
export interface BotFrameworkClient {
/**
* Forwards an activity to a another bot.
*
* @param fromBotId The MicrosoftAppId of the bot sending the activity.
* @param toBotId The MicrosoftAppId of the bot receiving the activity.
* @param toUrl The URL of the bot receiving the activity.
* @param serviceUrl The callback Url for the skill host.
* @param conversationId A conversation ID to use for the conversation with the skill.
* @param activity Activity to forward.
*/
postActivity: <T = any>(fromBotId: string, toBotId: string, toUrl: string, serviceUrl: string, conversationId: string, activity: Activity) => Promise<InvokeResponse<T>>;
}
//# sourceMappingURL=botFrameworkClient.d.ts.map