官术网_书友最值得收藏!

Buttons

Buttons are a way to let users respond to the chatbot in an unambiguous manner. You can add buttons to text, gallery, and list cards. Buttons have a label and a payload. The label is what the user gets to see. Payload is what happens in the backend when the user clicks the button:

A button can take one of four types of payloads: next block, URL, phone number, or share. The next block is identified by the name of the block. This will tell the chatbot which block to execute when the button is pressed. The URL can be specified, if the chatbot is to open a web page on the embedded web browser. Since the browser is embedded, the size of the window can also be specified. The phone number can be specified, if the chatbot is to make a voice call to someone (for example, call to reserve a table). And finally, the Share option can be used in cards such as lists and galleries to share the card with other contacts of the user.  

主站蜘蛛池模板: 石嘴山市| 闵行区| 桐庐县| 万全县| 高安市| 定州市| 曲松县| 大同市| 颍上县| 石泉县| 河池市| 依兰县| 阿合奇县| 天水市| 和平县| 昌图县| 蕉岭县| 金阳县| 库车县| 舞阳县| 广水市| 昌都县| 遂溪县| 平陆县| 陕西省| 舟山市| 雷波县| 浮梁县| 北宁市| 门源| 平远县| 东阳市| 永吉县| 广宁县| 凯里市| 汾西县| 乌拉特后旗| 五指山市| 永修县| 深水埗区| 德钦县|