@slack/web-api / ConversationsSelect
Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:272
This select menu will populate its options with a list of public and private channels, DMs, and MPIMs visible to the current user in the active workspace.
- Select menu of conversations reference.
- This is an interactive component - see our guide to enabling interactivity.
optional action_id: string;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:12
@description: An identifier for this action. You can use this when you receive an interaction payload to
identify the source of the action. Should be unique
among all other action_ids in the containing block. Maximum length for this field is 255 characters.
optional confirm: ConfirmationDialog;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:21
A Confirm object that defines an optional confirmation dialog after the element is interacted with.
optional default_to_current_conversation: boolean;Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:286
Pre-populates the select menu with the conversation that the user was viewing when they opened the
modal, if available. Default is false.
optional filter: object;Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:290
optional exclude_bot_users: boolean;optional exclude_external_shared_channels: boolean;optional include: ("im" | "mpim" | "private" | "public")[];A filter object that reduces the list of available conversations using the specified criteria.
optional focus_on_load: boolean;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:36
Indicates whether the element will be set to auto focus within the
`view` object. Only one element can be set to true.
Defaults to false.
optional initial_conversation: string;Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:281
The ID of any valid conversation to be pre-selected when the menu loads. If
default_to_current_conversation is also supplied, initial_conversation will take precedence.
optional placeholder: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:49
A PlainTextElement object that defines the placeholder text shown on the element. Maximum
length for the text field in this object is 150 characters.
optional response_url_enabled: boolean;Defined in: node_modules/@slack/types/dist/block-kit/extensions.d.ts:58
When set to true, the `view_submission` payload
from the menu's parent view will contain a response_url. This response_url can be used for
message responses. The target conversation
for the message will be determined by the value of this select menu.
URLRespondable.response_url_enabled
type: "conversations_select";Defined in: node_modules/@slack/types/dist/block-kit/block-elements.d.ts:276
The type of element. In this case type is always conversations_select.