Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added select block element conversations filter field #790

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

mzduke
Copy link
Contributor

@mzduke mzduke commented Aug 29, 2020

Based on official docs (https://api.slack.com/reference/block-kit/block-elements#conversation_select) it's possible to restrict types of conversations listed in a select block element.

In order to do this it's required to specify filter property with the following structure:
https://api.slack.com/reference/block-kit/composition-objects#filter_conversations

PR adds a field for SelectBlockElement struct and defines a new struct for filter options representation.

Copy link
Member

@kanata2 kanata2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kanata2 kanata2 merged commit 04bfed3 into slack-go:master Sep 30, 2020
@kanata2 kanata2 added this to the v0.7.0 milestone Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants