SlackAPI icon indicating copy to clipboard operation
SlackAPI copied to clipboard

Formatting dropped when messages split

Open mattgenious opened this issue 5 years ago • 0 comments

When trying to send a codeblock into a channel that is larger than 4000 characters the message is split as per rate limits described here: https://api.slack.com/docs/rate-limits#rtm

This results in the codeblock not being formattet correctly as the first message will include the characters to start the codeblock and the last message contains the closing characters for the codeblock and slack sees them as seperate messages.

I am not sure if this is fixable on the client side or if it is an inherent problem with Slacks requirements.

mattgenious avatar Mar 02 '20 08:03 mattgenious