Skip to content

relizy / resolveSlackPostMaxLength

Function: resolveSlackPostMaxLength() ​

resolveSlackPostMaxLength(__namedParameters): number | undefined

Defined in: src/core/slack.ts:52

Resolve the changelog budget of a Slack post: postMaxLength when set, otherwise 2500 chars in summary format and no limit in full format (the message is then only bounded by Slack's 50 blocks).

Parameters ​

__namedParameters ​

changelogFormat? ​

SlackChangelogFormat = 'summary'

postMaxLength? ​

number

Returns ​

number | undefined

Released under the MIT License.