DataWeave Slack Library icon

DataWeave Slack Library

(0 reviews)

Blocks

slack::Blocks

Types that represent all Slack Blocks.

Slack Blocks Reference

Index

Types

NameDescription
ActionsRepresentation of a Slack action block.
BlockGeneric representation of a Slack block.
ContextRepresentation of a Slack context block.
DividerRepresentation of a Slack divider block.
FileRepresentation of a Slack file block.
HeaderRepresentation of a Slack header block.
ImageBlockRepresentation of a Slack image block.
InputRepresentation of a Slack input block.
OptionalIdHelper type to reuse a block with optional IDs.
SectionRepresentation of a Slack section block.
WithFieldsHelper type to encapsulate fields
WithTextHelper type to reuse text.


Types

Actions ↑↑

Representation of a Slack action block.

Actions Reference

Definition
OptionalId & { "type": "actions", elements: Array<Element> }

Block ↑↑

Generic representation of a Slack block.

Definition
OptionalId & { "type": String }

Context ↑↑

Representation of a Slack context block.

Context Reference

Definition
OptionalId & { "type": "context", elements: Array<Image | Text> }

Divider ↑↑

Representation of a Slack divider block.

Divider Reference

Definition
OptionalId & { "type": "divider" }

File ↑↑

Representation of a Slack file block.

File Reference

Definition
OptionalId & { "type": "file", source: "remote", external_id: String }

Header ↑↑

Representation of a Slack header block.

Header Reference

Definition
OptionalId & { "type": "header", text: PlainText }

ImageBlock ↑↑

Representation of a Slack image block.

Image Reference

Definition
OptionalId & Image & { title?: PlainText }

Input ↑↑

Representation of a Slack input block.

Input Reference

Definition
OptionalId & { "type": "input", label: PlainText, element: Element, dispatch_action?: Boolean, hint?: PlainText, optiona?: Boolean }

OptionalId ↑↑

Helper type to reuse a block with optional IDs.

Definition
{ block_id?: String }

Section ↑↑

Representation of a Slack section block.

Section Reference

Definition
OptionalId & WithText | OptionalId & WithFields & { "type": "section", accessory?: Element }

WithFields ↑↑

Helper type to encapsulate fields

Definition
{ fields: Array<Text> }

WithText ↑↑

Helper type to reuse text.

Definition
{ text: Text }

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