[#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! |
limamicro
left a comment
There was a problem hiding this comment.
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.
Why there is a limitation on 3 buttons? Is it a limitation on 1:1 suggested actions?
There was a problem hiding this comment.
@ceciliaavila, if this is a designed limitation for SA, do we need to document it?
There was a problem hiding this comment.
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).
