Conversation filter object
Defines a filter for the list of options in a conversation selector menu.
The menu can be either a conversations select menu or a conversations multi-select menu.
Fields
Please note that while none of the fields above are individually required, you must supply at least one of these fields.
Example
The conversations select composition object must be used within the section block, actions block, or input block. This example shows an input block containing the conversations select object.
{
"title": {
"type": "plain_text",
"text": "My App",
"emoji": true
},
"submit": {
"type": "plain_text",
"text": "Submit",
"emoji": true
},
"type": "modal",
"close": {
"type": "plain_text",
"text": "Cancel",
"emoji": true
},
"blocks": [
{
"type": "input",
"element": {
"type": "conversations_select",
"placeholder": {
"type": "plain_text",
"text": "Select a conversation",
"emoji": true
},
"filter": {
"include": [
"public",
"mpim"
],
"exclude_bot_users": true
}
},
"label": {
"type": "plain_text",
"text": "Choose the conversation to publish your result to:",
"emoji": true
}
}
]
}
Known issues
-
In iOS, the placeholder text is replaced with "0 selected" when there are no selected conversations.
-
In iOS, there are UI inconsistencies when users select items in multi-select menus.