Facebook Messenger 聊天机器人
Facebook messenger chatbot
我尝试构建一个 facebook 聊天机器人。
我这里有一堆 "postback" 按钮:
当我单击其中一个按钮时,我希望所有按钮都消失。像这样。 (这是 ebay shopbot )
问:如何让这些按钮像原来一样消失?
这些被称为 Quick Replies,点击它们应该会使它们消失,就像文档中所说的那样:
When a quick reply is tapped, the buttons are dismissed, and the title
of the tapped button is posted to the conversation as a message.
我尝试构建一个 facebook 聊天机器人。
我这里有一堆 "postback" 按钮:
当我单击其中一个按钮时,我希望所有按钮都消失。像这样。 (这是 ebay shopbot )
问:如何让这些按钮像原来一样消失?
这些被称为 Quick Replies,点击它们应该会使它们消失,就像文档中所说的那样:
When a quick reply is tapped, the buttons are dismissed, and the title of the tapped button is posted to the conversation as a message.