CHAPTER 10. Attaching Cards

Previous chapters displayed plenty of text for user interaction. That’s great because it’s where chatbots excel. However, sometimes text isn’t enough to illustrate a concept. Sometimes an image can enhance communication. Other times, you need to share rich binary data, like audio and video. This chapter shows how to display rich graphical user interface (GUI) elements with cards.

This chapter starts out with an overview of the demo program, Music Chatbot. You’ll start learning about some building-block features: Attachment and Suggested Actions. A Suggested Action is a button that a user can select for a specified action. Attachments allow sharing files between user and chatbot. Attachments are also instrumental in ...

Get Programming the Microsoft Bot Framework: A Multiplatform Approach to Building Chatbots now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.