forked from slack-go/slack
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add blocks attribute to attachments, too
blocks can be embedded within attachments, to work around the lack of colorbar support in blocks, or as a migration path to blocks - https://api.slack.com/messaging/attachments-to-blocks#finding_equivalents_for_older_visual_elements - https://api.slack.com/reference/messaging/attachments#fields This also extends the existing postMessage test to include an attachment with a block
- Loading branch information
1 parent
eb42091
commit 2613fda
Showing
2 changed files
with
62 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters