SlackBaseField#

class safir.slack.blockkit.SlackBaseField(**data)#

Bases: SlackBaseBlock

Base class for Slack Block Kit blocks for the fields section.

Parameters:

data (Any) –

Attributes Summary

max_formatted_length

Maximum length of formatted output, imposed by Slack.

Attributes Documentation

max_formatted_length: ClassVar[int] = 2000#

Maximum length of formatted output, imposed by Slack.

Intended to be overridden by child classes that need to impose different maximum lengths.