问题描述
我有一个使用Microsoft机器人生成器node.js sdk的机器人.我开始在对话中添加英雄卡,并且工作正常,除了即使我使用imBack类型的按钮,松弛也不显示按钮的值.但是,在Skype等其他频道中,当用户按下确定"时,如预期的那样,确定"也将作为用户消息写入聊天屏幕我想知道如何在Slack上拥有同样的功能
I have a bot using Microsoft bot builder node.js sdk. I started to add hero cards to the conversation and it is working fine except that even if I use imBack type button, slack doesn't display the value of the button. However, in other channels like Skype, when user presses 'OK' say, 'OK' is also written into the chat screen as a user message, as expectedI want to know how I can have the same with Slack
谢谢
推荐答案
由于Skype(第一方合作伙伴渠道)和Slack(第三方渠道)在实现方式上的差异,因此您目前无法使用功能.
Due to the differences in the implementation between Skype (1st party partner channel) and Slack (3rd party channel), what you are asking for is not currently available as a feature.
松弛频道不支持 imBack
样式消息.如果在Slack上发送 imBack
,它将转换为 postBack
样式的消息(消息文本对用户隐藏).
Slack channel does not support imBack
style messages. If you send an imBack
on Slack, it is converted to postBack
style message (message text is hidden from user).
这篇关于Microsoft Bot Builder卡imback方法不会在Slack上显示文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!