DataWeave Slack Library
Objects
slack::Objects
Representation of all Slack objects.
Index
Types
Name | Description |
---|---|
Confirmation | Type that represents a confirmation dialog object. |
Dispatch | Type that represents a dispatch action object. |
DispatchOptions | Type that represents the possible options of a dispatch action object. |
Filter | Type that represents a filter conversation object. |
FilterOptions | Type that represents the possible options of a filter conversation object. |
Mrkdwn | Type that represents an exclusively mrkdwn object. |
Option | Type that represents an option object. |
OptionGroup | Type that represents an option group object. |
PlainText | Type that represents an exclusively plain object. |
SimpleText | Helper type to represent text objects. |
Style | Type that represents possible style options. |
Text | Represents a text object. |
WithOptionGroup | Helper type for composing option groups. |
WithOptions | Helper type for composing options. |
Types
Confirmation ↑↑
Type that represents a confirmation dialog object.
Confirmation Dialog Object Reference
Definition
{ title: PlainText, text: Text, confirm: PlainText, deny: PlainText, style?: Style }
Dispatch ↑↑
Type that represents a dispatch action object.
Dispatch Action Configuration Reference
Definition
{ trigger_actions_on?: Array<DispatchOptions> }
DispatchOptions ↑↑
Type that represents the possible options of a dispatch action object.
Definition
"on_enter_pressed" | "on_character_entered"
Filter ↑↑
Type that represents a filter conversation object.
Filter Object for Conversation Lists Reference
Definition
{ include?: Array<FilterOptions>, exclude_external_shared_channels?: Boolean, external_bot_users?: Boolean }
FilterOptions ↑↑
Type that represents the possible options of a filter conversation object.
Definition
"im" | "mpim" | "private" | "public"
Mrkdwn ↑↑
Type that represents an exclusively mrkdwn object.
Definition
SimpleText & { "type": "mrkdwn" }
Option ↑↑
Type that represents an option object.
Definition
{ text: Text, value: String, description?: PlainText, url?: String }
OptionGroup ↑↑
Type that represents an option group object.
Definition
WithOptions & { label: PlainText }
PlainText ↑↑
Type that represents an exclusively plain object.
Definition
SimpleText & { "type": "plain_text" }
SimpleText ↑↑
Helper type to represent text objects.
Definition
{ text: String, emoji?: Boolean, verbatim?: Boolean }
Style ↑↑
Type that represents possible style options.
Definition
"primary" | "danger"
Text ↑↑
Represents a text object.
Definition
PlainText | Mrkdwn
WithOptionGroup ↑↑
Helper type for composing option groups.
Definition
{ option_groups: Array<OptionGroup> }
WithOptions ↑↑
Helper type for composing options.
Definition
{ options: Array<Option> }