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

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.  

主站蜘蛛池模板: 江孜县| 潢川县| 蒲江县| 湄潭县| 林甸县| 湾仔区| 扎囊县| 龙南县| 阿拉善右旗| 昌黎县| 怀集县| 龙泉市| 昭觉县| 平潭县| 汤原县| 平塘县| 安塞县| 林西县| 双峰县| 永春县| 卢氏县| 治多县| 禄劝| 中方县| 湘阴县| 荔波县| 化州市| 肇庆市| 定远县| 阿鲁科尔沁旗| 新巴尔虎右旗| 响水县| 长宁区| 霍城县| 高唐县| 通化市| 东宁县| 新营市| 驻马店市| 武宁县| 阳城县|