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.
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.