DataWeave Slack Library icon

DataWeave Slack Library

(0 reviews)

Elements

slack::Elements

Representation of all Slack elements.

Block Elements Reference

Index

Types

NameDescription
ButtonRepresents a button element.
CheckboxRepresents a checkbox group element.
ConversationsListRepresents a conversation list.
DatePickerRepresents a datepicker element.
ElementRepresents a block element.
ExternalSelectRepresents an external select menu.
ImageRepresents an image element.
MultiConversationListRepresents a multi-conversation list.
MultiExternalSelectRepresents an external multi-select menu.
MultiPublicChannelsListRepresents a channel list.
MultiSelectHelper type to reuse for multi-selection.
MultiSelectMenuRepresents all multi-select menus.
MultiStaticSelectRepresents a static multi-select menu.
MultiUserListRepresents a multi-user list.
OverflowMenuRepresents an overflow menu.
PlainTextInputRepresents a plain text input.
PublicChannelsListRepresents a channel list.
RadioButtonGroupRepresents a radio button group.
SelectHelper type to reuse a selection.
SelectMenuRepresents all select menus.
StaticSelectRepresents a static select menu.
TimePickerRepresents a timepicker element.
UserListRepresents a user list.
WithOptionalConfirmHelper type to reuse a confirm option.
WithOptionalFocusHelper type to reuse focus on a load option.


Types

Button ↑↑

Represents a button element.

Button Element Reference

Definition
WithOptionalConfirm & { "type": "button", text: PlainText, action_id: String, url?: String, value?: String, style?: Style, accessibility_label?: String }

Checkbox ↑↑

Represents a checkbox group element.

Checkbox Groups Reference

Definition
WithOptionalConfirm & WithOptionalFocus & { "type": "checkboxes", action_id: String, options: Array<Option>, initial_options?: Array<Option> }

ConversationsList ↑↑

Represents a conversation list.

Conversations List Reference

Definition
Select & { "type": "conversations_select", initial_conversation?: String, default_to_current_conversation?: Boolean, response_url_enabled?: Boolean, filter?: Filter }

DatePicker ↑↑

Represents a datepicker element.

Date Picker Element Reference

Definition
WithOptionalConfirm & WithOptionalFocus & { "type": "datepicker", action_id: String, placeholder?: PlainText, initial_date?: String }

Element ↑↑

Represents a block element.

Definition
Button | Checkbox | DatePicker | Image | MultiSelectMenu | OverflowMenu | PlainTextInput | RadioButtonGroup | SelectMenu | TimePicker

ExternalSelect ↑↑

Represents an external select menu.

External Data Source Reference

Definition
Select & { "type": "external_select", initial_option?: Option, min_query_length?: Number }

Image ↑↑

Represents an image element.

Image Element Reference

Definition
{ "type": "image", image_url: String, alt_text: String }

MultiConversationList ↑↑

Represents a multi-conversation list.

Conversations List Reference

Definition
MultiSelect & { "type": "multi_conversations_select", initial_conversations?: Array<String>, default_to_current_conversation?: Boolean, filter?: Filter }

MultiExternalSelect ↑↑

Represents an external multi-select menu.

External Data Source Reference

Definition
MultiSelect & { "type": "multi_external_select", initial_options?: Array<Option>, min_query_length?: Number }

MultiPublicChannelsList ↑↑

Represents a channel list.

Public Channels List Reference

Definition
MultiSelect & { "type": "multi_channels_select", initial_channels?: Array<String> }

MultiSelect ↑↑

Helper type to reuse for multi-selection.

Definition
Select & { max_selected_items?: Number }

MultiSelectMenu ↑↑

Represents all multi-select menus.

Multi-select menu Element Reference

Definition
MultiStaticSelect | MultiExternalSelect | MultiUserList | MultiConversationList | MultiPublicChannelsList

MultiStaticSelect ↑↑

Represents a static multi-select menu.

Static Options Reference

Definition
MultiSelect & WithOptions | MultiSelect & WithOptionGroup & { "type": "multi_static_select", initial_options?: Array<Option> }

MultiUserList ↑↑

Represents a multi-user list.

User List Reference

Definition
MultiSelect & { "type": "multi_users_select", initial_users?: Array<String> }

OverflowMenu ↑↑

Represents an overflow menu.

Overflow Menu Element Reference

Definition
WithOptions & WithOptionalConfirm & { "type": "overflow", action_id: String }

PlainTextInput ↑↑

Represents a plain text input.

Plain-text Input Element Reference

Definition
WithOptionalFocus & { "type": "plain_text_input", action_id: String, placeholder?: PlainText, initial_value?: String, multiline?: Boolean, min_length?: Number, max_length?: Number, dispatch_action_config?: Dispatch }

PublicChannelsList ↑↑

Represents a channel list.

Public Channels List Reference

Definition
Select & { "type": "channels_select", initial_channel?: String, response_url_enabled?: Boolean }

RadioButtonGroup ↑↑

Represents a radio button group.

Radio Button Group Element Reference

Definition
WithOptionalConfirm & WithOptionalFocus & WithOptions & { "type": "radio_buttons", action_id: String, initial_option?: Option }

Select ↑↑

Helper type to reuse a selection.

Definition
WithOptionalConfirm & WithOptionalFocus & { placeholder: PlainText, action_id: String }

SelectMenu ↑↑

Represents all select menus.

Select Menu Element Reference

Definition
StaticSelect | ExternalSelect | UserList | ConversationsList | PublicChannelsList

StaticSelect ↑↑

Represents a static select menu.

Static Options Reference

Definition
Select & WithOptions | Select & WithOptionGroup & { "type": "static_select", initial_option?: Option }

TimePicker ↑↑

Represents a timepicker element.

Time Picker Element Reference

Definition
WithOptionalConfirm & WithOptionalFocus & { "type": "timepicker", action_id: String, placeholder?: PlainText, initial_time: String }

UserList ↑↑

Represents a user list.

User List Reference

Definition
Select & { "type": "users_select", initial_user?: String }

WithOptionalConfirm ↑↑

Helper type to reuse a confirm option.

Definition
{ confirm?: Confirmation }

WithOptionalFocus ↑↑

Helper type to reuse focus on a load option.

Definition
{ focus_on_load?: Boolean }

Reviews

TypeDataWeave Library
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onMar 23, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.0