How to post a fragment of a skipped channel

I am trying to publish journal information to fail, and some of these magazines can get quite large. Is there a way to send it as a snippet so that slack doesn't break the text into multiple messages?

+4
source share
1 answer

You can publish the snippet to the Slack channel using the files.upload API method .

For this you need:

  • Use the content(not file) option to load the contents of your file
  • Indicate the name of the channel in the parameter channelswhere the fragment should be published.

. Slack " " .

+3

Source: https://habr.com/ru/post/1658749/


All Articles