From 1cabb54b7f095c5e75ff9958ddd081f945e464b9 Mon Sep 17 00:00:00 2001 From: Eric Dahlvang Date: Wed, 1 Jul 2020 13:56:38 -0700 Subject: [PATCH] Make ConnectorClientOptions.baseUri optional (#2447) * Make ConnectorClientOptions.baseUri optional * Add comment explaining optional baseUri --- .../botframework-connector/src/connectorApi/models/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/botframework-connector/src/connectorApi/models/index.ts b/libraries/botframework-connector/src/connectorApi/models/index.ts index 7d6d733c44..de941a5c15 100644 --- a/libraries/botframework-connector/src/connectorApi/models/index.ts +++ b/libraries/botframework-connector/src/connectorApi/models/index.ts @@ -7,7 +7,11 @@ export * from "botframework-schema"; * An interface representing ConnectorClientOptions. */ export interface ConnectorClientOptions extends ServiceClientOptions { - baseUri: string; + /** + * (Optional) baseUri will be set automatically within BotFrameworkAdapter, + * but is required if using the ConnectorClient outside of the adapter. + */ + baseUri?: string; } /**