Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

slack api - support of blocks #1594

Merged
merged 2 commits into from
Feb 21, 2019
Merged

slack api - support of blocks #1594

merged 2 commits into from
Feb 21, 2019

Conversation

ihorrusinko
Copy link
Contributor

We tried to use new feature of slack - blocks (in chat.postMessage) but botkit implementation does not support it. So we added blocks to format middleware.

add blocks filed to platform message
add blocks filed to platform message in case it is exist
@benbrown benbrown merged commit efe7f72 into howdyai:master Feb 21, 2019
@benbrown
Copy link
Contributor

Thanks!

@makstaks
Copy link
Contributor

@benbrown or @ihorrusinko does the blocks option need to be sanitized? See: https://github.com/howdyai/botkit/blob/master/lib/Slack_web_api.js#L226

@ihorrusinko
Copy link
Contributor Author

@makstaks good catch, i will add update for sanitizeOptions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants