-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add messageBack
support
#1402
Comments
@bwamie this is the work item for |
Why is |
@dandriscoll When I talk to @bwamie, he said |
@bwamie do you know how other channels works with form submissions on Adaptive Cards? |
Updated the bug description to capture our offline meeting. |
It should match the semantics described in the spec Message Back
R7350: Senders SHOULD NOT include value fields of primitive types (e.g. string, int). value fields SHOULD be complex types or omitted. |
@tomlm Few questions:
And still few open questions, copied from "Investigations" section from the top and cleaned up a bit.
|
The spec link is old :-( I'll fix the numbering bug. |
It looks like messageBack displayText is strangely only supported with suggested actions and not hero cards. Can this issue be reopened? |
Any updates/workaround for making messageBack works on HeroCard/Adaptive cards buttons ? |
Any updates on making messageBack work on HeroCards? |
@v-kydela can you file a new issue? This issue is closed because the In the new issue, can you put a sample hero card JSON? And link it to this bug so @marcasmar94 and @sharatssj4 can vote on that bug to make it more prominent. |
@compulim - It seems to have been fixed after I left my last comment. I don't know where that work was tracked. |
Background
It will support:
displayText
(optional string for text to display on transcript)image
(optional image for the button)text
(optional string to send back to the bot, invisible to the user by default)title
(optional string for the text of the button)value
(optional JSON to send back to the bot, invisible to the user)Although all properties are optional, we have a fallback rule if property is missing:
title
will fallback todisplayText
if it is missingIn the meanwhile, we are not deprecating
imBack
orpostBack
. All 3 card actions are supported and there is no plan to add a deprecation warning.Investigations
postBack
or moved tomessageBack
?text
vs.displayText
)?text
property?displayText
is not sent to the bot, we might lose it when history is restored.messageback
activity failed withouttext
/displayText
?messageback
don't break again.To-do
The text was updated successfully, but these errors were encountered: