Interface: MultiUsersSelect
Description
This multi-select menu will populate its options with a list of Slack users visible to the current user in the active workspace.
See
- Multi-select menu of users reference.
- This is an interactive component - see our guide to enabling interactivity.
Extends
Properties
action_id?
optional action_id: string;
@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_id
s in the containing block. Maximum length for this field is 255 characters.
Inherited from
Defined in
confirm?
optional confirm: ConfirmationDialog;
Description
A Confirm object that defines an optional confirmation dialog after the element is interacted with.
Inherited from
Defined in
focus_on_load?
optional focus_on_load: boolean;
Description
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
.
Inherited from
Defined in
initial_users?
optional initial_users: string[];
Description
An array of user IDs of any valid users to be pre-selected when the menu loads.
Defined in
block-kit/block-elements.ts:244
max_selected_items?
optional max_selected_items: number;
Description
Specifies the maximum number of items that can be selected. Minimum number is 1.
Inherited from
MaxItemsSelectable
.max_selected_items
Defined in
placeholder?
optional placeholder: PlainTextElement;
Description
A PlainTextElement object that defines the placeholder text shown on the element. Maximum
length for the text
field in this object is 150 characters.
Inherited from
Defined in
type
type: "multi_users_select";
Description
The type of element. In this case type
is always multi_users_select
.