-
Notifications
You must be signed in to change notification settings - Fork 484
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
[#6086] Teams is adding support for suggested actions in 1-1 chats #6607
[#6086] Teams is adding support for suggested actions in 1-1 chats #6607
Conversation
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll |
Hi @ceciliaavila, can you give me the sample code of the bot reply logic, as well as the manifest file? |
@ceciliaavila regarding the changes, right now suggested actions is only available 1:1 scope. All suggested actions sent to group chat and channels should be dropped instead of supporting that. Can you help me to understand more why you make these changes? |
Hi @limamicro, I'm attaching the sample used to test these changes. |
Hi @ceciliaavila I tested with your bot and went through the code. Your changes look good for me for the Suggested Actions part. For the Dialog in general, since I am not very familiar with the details, I asks Kavin to help with another pair of eyes. Thanks for the update! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes related to suggested actions look good for me. Please wait for another approval from whom is familiar with the Dialog process before submitting the code. Thanks!
case Connector.Channels.Msteams: | ||
if (conversationType == "personal") | ||
{ | ||
return buttonCnt <= 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why there is a limitation on 3 buttons? Is it a limitation on 1:1 suggested actions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ceciliaavila, if this is a designed limitation for SA, do we need to document it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Teams display up to three suggested actions. I added the link to the documentation in the code.
Fixes #6086
Description
This PR enables Suggested Actions for MSTeams in Dialogs Prompts and Adaptive Dialogs Inputs.
Specific Changes
Testing
These images show how MSTeams displays the choices in a group chat (hero card) and in a personal chat (suggested actions).