Slack Attachment Width and Wrapping Issues

♀尐吖头ヾ 提交于 2019-12-03 02:42:47

I would suggest to upload the application errors as text file (Plain Text Snippet) instead putting the info into a message. That way you can post more data and the formatting is also better suited for this kind of data.

You can auto-share your uploaded file in a channel and it will appear as new message. You can also add comments to is if you want to convey more information.

Use the files.upload method to upload your error text as file with the filetype set to text to get a text snippet.

Here is an example how it looks like on Slack, when an app posts a new text snippet as described:

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