New*_*uim 7 chatbot node.js slack-api slack
我正在使用以下内容为 slackbot 创建按钮:
const messageB = {
"attachments": [
{
"text": "Essa mensagem foi útil?",
"callback_id": "button_feedback",
"color": "#3AA3E3",
"attachment_type": "default",
"actions": [
{
"name": "button_click_yes",
"text": "sim",
"type": "button",
"value": "yes"
},
{
"name": "button_click_no",
"text": "não",
"type": "button",
"value": "no"
}
]
}
]
};
Run Code Online (Sandbox Code Playgroud)
但该按钮在消息发送后仍保持活动状态,用户可以再次使用。我想停用它,或者在使用后将其删除。但我无法在文档中的任何地方找到它。
| 归档时间: |
|
| 查看次数: |
4557 次 |
| 最近记录: |