Reputation: 647
How can I process the payment process using the bot framework ? Is there any type of cards that I can send to show the buy button .
I know we can use JObject to send a direct json text , but how can we have it just like the other features of the framework.
Upvotes: 1
Views: 296
Reputation: 14787
Channel's specific features (such as the Buy button from Facebook) are supported through the ChannelData (C#) / sourceEvent (Node) fields. So you need to send the specific info through it so Facebook can understand it and react accordingly.
Here is a similar example, but instead of using the Buy button I'm sending Facebook's Quick Replies.
You can also find more details about how to use new Facebook's features with BotFramework in this blog post.
Upvotes: 2