How to replace the buttons (attachment) only w/ Slack interactive buttons response

坚强是说给别人听的谎言 提交于 2019-11-27 09:40:31

You can only replace the complete message, not just a part.

There are two options to update the original message:

  1. Respond to the Slack request with {"replace_original": true}

  2. Use chat.update

If your original message was not of type ephemeral you will get a copy of the original message as part of the payload from Slack in the original_message property, which can be helpful to update the exchange the original message.

See this page in the Slack documentation as reference.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!