aimpress-chatbot/node_modules/botbuilder-core/lib/adapterExtensions.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

19 lines
No EOL
719 B
TypeScript

/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { BotAdapter } from './botAdapter';
import { BotState } from './botState';
/**
* Adds middleware to the adapter to register one or more BotState objects on the turn context.
* The middleware registers the state objects on the turn context at the start of each turn.
*
* @param botAdapter The adapter on which to register the state objects.
* @param botStates The state objects to register.
* @returns The updated adapter.
*/
export declare function useBotState(botAdapter: BotAdapter, ...botStates: BotState[]): BotAdapter;
//# sourceMappingURL=adapterExtensions.d.ts.map