Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix BotFrameworkAdapter.createConversation #535

Conversation

mecampbellsoup
Copy link
Contributor

The API endpoint for creating conversations requires a Conversation object parameter, and as such the SDK function requires additional parameters including members and potentially topicName and activity as well per:

https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#create-conversation
https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#conversation-object

@mecampbellsoup
Copy link
Contributor Author

Addresses #531.

@Stevenic @benbrown @tomlm @stevengum do you think you could take a quick look at this? Seems pretty straightforward but looking forward to your feedback - cheers!

@mecampbellsoup mecampbellsoup force-pushed the fix-bot-framework-adapter-create-conversation branch 5 times, most recently from b9986af to d49f184 Compare October 12, 2018 19:16
Take `reference.user` and wrap in an Array literal to set
`ConversationParameters.members`.
@mecampbellsoup mecampbellsoup force-pushed the fix-bot-framework-adapter-create-conversation branch from 9f5aadd to 52a9842 Compare October 12, 2018 20:12
@benbrown benbrown requested a review from Stevenic October 12, 2018 20:20
Copy link
Contributor

@Stevenic Stevenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@Stevenic Stevenic merged commit 30f6bfd into microsoft:master Oct 12, 2018
@mecampbellsoup mecampbellsoup deleted the fix-bot-framework-adapter-create-conversation branch October 15, 2018 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants