Back to Blog
Slack api blocks5/21/2023 ![]() ![]() I currently have a JSON blob that I’ve validated in the Slack block builder but I keep getting errors when I try to post with blocks, and if I use the text field it just posts the JSON to the slack channel without formatting it. Block Kit interactive components are a subset of Block Kit elements, which can include buttons, checkboxes, text input fields, date and time pickers. class SlackMessageContext ( elements: SlackElementType, kwargs) source Bases: SlackMessageBlock. ![]() render list source Render the block to JSON. I am not sure whether to put the JSON in the text post field, or if I need to format the post within slack. class SlackMessageBlock ( blocks) source Bases: object. ![]() The Slack API for messages supports additional syntax elements that arent supported in Slacks. Hi All, I am having trouble posting my blocks to slack. There is a view submission handler registered in our Slack bot event bus that is responsible for routing the correct view on a certain event or action triggered. Slack is a messaging and team collaboration application. ![]()
0 Comments
Read More
Leave a Reply. |