UNPKG

1.38 kBTypeScriptView Raw
1import { ClaimsIdentity } from 'botframework-connector';
2import { Activity, BotAdapter, ResourceResponse, SkillConversationIdFactoryBase, TurnContext } from 'botbuilder-core';
3/**
4 * @internal
5 */
6export declare class SkillHandlerImpl {
7 private readonly skillConversationReferenceKey;
8 private readonly adapter;
9 private readonly logic;
10 private readonly conversationIdFactory;
11 private readonly getOauthScope;
12 constructor(skillConversationReferenceKey: symbol, adapter: BotAdapter, logic: (context: TurnContext) => Promise<void>, conversationIdFactory: SkillConversationIdFactoryBase, getOauthScope?: () => string | undefined);
13 onSendToConversation(claimsIdentity: ClaimsIdentity, conversationId: string, activity: Activity): Promise<ResourceResponse>;
14 onReplyToActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string, activity: Activity): Promise<ResourceResponse>;
15 onUpdateActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string, activity: Activity): Promise<ResourceResponse>;
16 onDeleteActivity(claimsIdentity: ClaimsIdentity, conversationId: string, activityId: string): Promise<void>;
17 private getSkillConversationReference;
18 private processActivity;
19 private continueConversation;
20 private applySkillActivityToTurnContext;
21}
22//# sourceMappingURL=skillHandlerImpl.d.ts.map
\No newline at end of file