Closed KaloyanP closed 4 months ago
Hi @KaloyanP, thanks for asking this!
bolt-python's underlying slack-sdk package offers class-based Block Kit construction approach like you mentioned. Check the module's api docs and unit tests should be the quickest way to learn how to use it:
I hope this helps.
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.
This is more of a query, rather than a bug:
I can't find a type-based way to construct requests I send to Slack or to route messages I receive from Slack.
I want to have stronger typing of messages I receive from and send to Slack so that I can benefit from:
Simplistically, I imagine this would look something like this:
Is there a package I can use to enforce this typing?
The
slack_bolt
versionAny
Python runtime version
Any
OS info
Any
Requirements
See preamble