bolt-js icon indicating copy to clipboard operation
bolt-js copied to clipboard

Better typing for block actions payload

Open sota1235 opened this issue 8 months ago • 3 comments

I wish some block action body will have more correct typing.

For example, when I use InteractiveMessage type when I want to handle event for clicking button on message, that's type does not contain container payload. But actually it exists. I think it's intentional type, here is an official document. https://api.slack.com/reference/interaction-payloads/block-actions#examples

Is there any blocker to implement this type? If not, I have a motivation to pull request.

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

sota1235 avatar May 30 '24 11:05 sota1235