-
Notifications
You must be signed in to change notification settings - Fork 487
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
Rendering channel specific payloads #3666
Comments
@boydc2014 do we have existing card action validations? If so, we should consider lifting it to match the underlying type. |
related #3667 |
currently LG only handles the following buttons types:
botbuilder will only accept these types and transform activities to facebook channel, so maybe this is a channel related issue.
|
@vishwacsena, I'm not sure what we're doing with this issue given @zidaneymar's response. Should we close this, or is there a work item for us? |
@cleemullins I know LG is un-opinionated. If the customer ask is possible via a non adaptive bot, then it should be made possible via adaptive/ LG as well. I sent you a mail on this as well. Can we get someone familiar on the team with FB messenger to work with the STCA team on this? I'd like to see the customer scenario unblocked. |
LG support render all BF defined common card types (hero, thumbnail) and BF defined action types like the list above, those will be translated to channel specific button type. For example
will be render to facebook's format as {
"type": "web_url"
"url": "http://..."
"title": "More ..."
} Which we tested and verified it works. So for But there is two more issues
For this issue, i think we can merge this into https://github.com/microsoft/botbuilder-dotnet/issues/3667, as a single place for following up on facebook templates |
@vidyakdil see the above for facebook's web_url action, and I'm closing this in favor of #3667 as once place to follow up "facebook tempaltes" support? feel free to reopen if you think this is for another intention. |
The button types for which we’ve support in LG is openUrl and imBack and postBack. In Facebook, we’ve another button type called web_view configurable in buttons of generic templates which will open a webview inside the chat screen.
Queries:
a) How can we render Generic templates with button type as web view for Facebook bots using Composer?
b) How can channel specific button types be rendered using bots created using Composer?
The text was updated successfully, but these errors were encountered: