SlackのBlock Kitについて

Secondary attachments are a legacy part of the messaging functionality. While we aren't deprecating them, you should understand that they might change in the future, in ways that reduce their visibility or utility.
これまでattachmentsでテキストフォーマットをしてきたが、これはレガシーで(非推奨ではないらしいが)Block Kitを使うのが推奨されているらしい。
This feature is a legacy part of messaging functionality for Slack apps. We recommend you stick with Block Kit as above, but if you still want to use attachments, read our caveats below.
使ってはいけないというわけではないけど、Blockコンテンツの方が優先度が高いのでSecondary Attachmentsは折りたたまれる可能性があるから注意しておいてね程度と捉えて良いのかな。

attachments
おさらいまでに、attachementsとは以下のようなリストで、author_icon
やcolor
指定ができて整形されたポストができるもの。
{
"channel": "C123ABC456",
"attachments": [
{
"fallback": "Plain-text summary of the attachment.",
"color": "#2eb886",
"pretext": "Optional text that appears above the attachment block",
"author_name": "Bobby Tables",
"author_link": "http://flickr.com/bobby/",
"author_icon": "http://flickr.com/icons/bobby.jpg",
"title": "Slack API Documentation",
"title_link": "https://api.slack.com/",
"text": "Optional text that appears within the attachment",
"fields": [
{
"title": "Priority",
"value": "High",
"short": false
}
],
"image_url": "http://my-website.com/path/to/image.jpg",
"thumb_url": "http://example.com/path/to/thumb.png",
"footer": "Slack API",
"footer_icon": "https://platform.slack-edge.com/img/default_application_icon.png",
"ts": 123456789
}
]
}

Block Kit Builder
インタラクティブにどんなBlockを指定すると、どんな見た目になるのかを簡単にチェックできるGUIツール。Markdown形式でポストできるようになったり、アクションが付与できたりリッチになった部分もあれば、個人的に好きだったカラーの指定が消えている。