aimpress-chatbot/node_modules/botbuilder/lib/interfaces/webRequest.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

45 lines
No EOL
1.2 KiB
TypeScript

/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Represents an Express or Restify request object.
*
* This interface supports the framework and is not intended to be called directly for your code.
*/
export interface WebRequest {
/**
* Optional. The request body.
*/
body?: any;
/***
* Optional. The request headers.
*/
headers: any;
/***
* Optional. The request method.
*/
method?: any;
/***
* Optional. The request parameters from the url.
*/
params?: any;
/***
* Optional. The values from the query string.
*/
query?: any;
/**
* When implemented in a derived class, adds a listener for an event.
* The framework uses this method to retrieve the request body when the
* [body](xref:botbuilder.WebRequest.body) property is `null` or `undefined`.
*
* @param event The event name.
* @param args Arguments used to handle the event.
* @returns A reference to the request object.
*/
on?(event: string, ...args: any[]): any;
}
//# sourceMappingURL=webRequest.d.ts.map