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)
The user can specify both text and value, although they are mostly duplicated in nature (one as a string, another as a JSON object).
Although all properties are optional, we have a fallback rule if property is missing:
title will fallback to displayText if it is missing
In the meanwhile, we are not deprecating imBack or postBack. All 3 card actions are supported and there is no plan to add a deprecation warning.
Investigations
To-do
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:
titlewill fallback todisplayTextif it is missingIn the meanwhile, we are not deprecating
imBackorpostBack. All 3 card actions are supported and there is no plan to add a deprecation warning.Investigations
postBackor moved tomessageBack?textvs.displayText)?textproperty?displayTextis not sent to the bot, we might lose it when history is restored.messagebackactivity failed withouttext/displayText?messagebackdon't break again.To-do