aimpress-chatbot/node_modules/botbuilder/lib/eventFactory.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

33 lines
No EOL
1.2 KiB
TypeScript

/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Activity, ConversationAccount, Transcript, TurnContext } from 'botbuilder-core';
/**
* Contains utility methods for creating various event types.
*/
export declare class EventFactory {
/**
* Create handoff initiation event.
*
* @param context The context object for the turn.
* @param handoffContext Agent hub-specific context.
* @param transcript Transcript of the conversation.
* @returns The handoff event activity.
*/
static createHandoffInitiation<T = unknown>(context: TurnContext, handoffContext: T, transcript?: Transcript): Activity;
/**
* Create handoff status event.
*
* @param conversation Conversation being handed over.
* @param state State, possible values are: "accepted", "failed", "completed".
* @param message Additional message for failed handoff.
* @returns The handoff event activity.
*/
static createHandoffStatus(conversation: ConversationAccount, state: string, message?: string): Activity;
/**
* @private
*/
private static createHandoffEvent;
}
//# sourceMappingURL=eventFactory.d.ts.map