Skip to content

Commit

Permalink
Add members to parameters object passed to createConversation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Campbell committed Oct 12, 2018
1 parent 91e5a4c commit b9986af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/botbuilder/src/botFrameworkAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class BotFrameworkAdapter extends BotAdapter {
if (!reference.serviceUrl) { throw new Error(`BotFrameworkAdapter.createConversation(): missing serviceUrl.`); }

// Create conversation
const parameters: ConversationParameters = { bot: reference.bot } as ConversationParameters;
const parameters: ConversationParameters = { bot: reference.bot, members: reference.members } as ConversationParameters;
const client: ConnectorClient = this.createConnectorClient(reference.serviceUrl);

return client.conversations.createConversation(parameters).then((response: ConversationResourceResponse) => {
Expand Down

0 comments on commit b9986af

Please sign in to comment.