SlackCodeBlock#
- class safir.slack.blockkit.SlackCodeBlock(**data)#
Bases:
SlackBaseBlock
A component of a Slack message with a heading and a code block.
If the formatted output is longer than 3000 characters, it will be truncated to avoid the strict upper limit imposed by Slack.
- Parameters:
data (
Any
) –
Methods Summary
to_slack
()Convert to a Slack Block Kit block.
Methods Documentation