HubSpot / slack-client

An asynchronous HTTP client for Slack's web API
Apache License 2.0
114 stars 53 forks source link

TopLevelMessageInteractionResponseIF can contain blocks #197

Closed lightbody closed 3 years ago

lightbody commented 3 years ago

Apologies in advance for the duplicate commits -- I screwed up my branch, but I think this will all merge fine once you get the other PR merged to master.

This PR is just a simple addition of List<Block> getBlocks(); to TopLevelMessageInteractionResponseIF reflecting the reality that in addition to text or attachments, the response can also contain blocks.