UNPKG

botframework-connector

Version:

Bot Connector is autorest generated connector client.

27 lines 1.3 kB
"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 azureCoreHttpCompat_1 = require("botbuilder-stdlib/lib/azureCoreHttpCompat"); /** * 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 azureCoreHttpCompat_1.ServiceClientContext { /** * 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) { super(credentials, Object.assign(Object.assign({}, options), { baseUri: (options === null || options === void 0 ? void 0 : options.baseUri) || 'https://api.botframework.com' })); } } exports.TeamsConnectorClientContext = TeamsConnectorClientContext; //# sourceMappingURL=teamsConnectorClientContext.js.map