aimpress-chatbot/node_modules/botframework-connector/lib/teams/teamsConnectorClientContext.js
“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.3 KiB
JavaScript

"use strict";
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TeamsConnectorClientContext = void 0;
const core_http_1 = require("@azure/core-http");
/**
* The Bot Connector REST API extension for Microsoft Teams allows your
* bot to perform extended operations on the Microsoft Teams channel
* configured in the [Bot Framework Developer Portal](https://dev.botframework.com).
* The Connector service uses industry-standard REST and JSON over HTTPS.
*/
class TeamsConnectorClientContext extends core_http_1.ServiceClient {
/**
* Initializes a new instance of the TeamsConnectorClientContext class.
*
* @param credentials Subscription credentials which uniquely identify client subscription.
* @param [options] The parameter options
*/
constructor(credentials, options) {
if (!options) {
options = {};
}
super(credentials, options);
this.baseUri = options.baseUri || this.baseUri || 'https://api.botframework.com';
this.requestContentType = 'application/json; charset=utf-8';
this.credentials = credentials;
}
}
exports.TeamsConnectorClientContext = TeamsConnectorClientContext;
//# sourceMappingURL=teamsConnectorClientContext.js.map