Skip to main content

Composition objects and rich text

Signatures come from GHC; descriptions come from compiled Haddock comments. Import Slackblocks or the defining public module. Checked values encode with Aeson; field records must be built first.

AreaChart​

An area chart for a data visualization block.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block Every series needs exactly one data point for each axis category.

type Slackblocks.Models.AreaChart :: *

AreaChartFields​

Editable construction input. Call buildAreaChart before encoding.

Slackblocks.Models.AreaChartFields ::
[Slackblocks.Models.DataSeries]
-> Slackblocks.Models.AxisConfig
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.AreaChartFields

type Slackblocks.Models.AreaChartFields :: *

AxisConfig​

The categories and labels shared by bar, area, and line chart axes.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block

type Slackblocks.Models.AxisConfig :: *

AxisConfigFields​

Editable construction input. Call buildAxisConfig before encoding.

Slackblocks.Models.AxisConfigFields ::
[Data.Text.Text]
-> Maybe Data.Text.Text
-> Maybe Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.AxisConfigFields

type Slackblocks.Models.AxisConfigFields :: *

BarChart​

A bar chart for a data visualization block.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block Every series needs exactly one data point for each axis category.

type Slackblocks.Models.BarChart :: *

BarChartFields​

Editable construction input. Call buildBarChart before encoding.

Slackblocks.Models.BarChartFields ::
[Slackblocks.Models.DataSeries]
-> Slackblocks.Models.AxisConfig
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.BarChartFields

type Slackblocks.Models.BarChartFields :: *

ChartSegment​

One labelled segment of a pie chart.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block

type Slackblocks.Models.ChartSegment :: *

ChartSegmentFields​

Editable construction input. Call buildChartSegment before encoding.

Slackblocks.Models.ChartSegmentFields ::
Data.Text.Text
-> Data.Scientific.Scientific
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.ChartSegmentFields

type Slackblocks.Models.ChartSegmentFields :: *

ColumnSettings​

Alignment and wrapping settings for one table column.

https://docs.slack.dev/reference/block-kit/blocks/table-block

type Slackblocks.Models.ColumnSettings :: *

ColumnSettingsFields​

Editable construction input. Call buildColumnSettings before encoding.

Slackblocks.Models.ColumnSettingsFields ::
Maybe Slackblocks.Models.ColumnAlign
-> Maybe Bool
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.ColumnSettingsFields

type Slackblocks.Models.ColumnSettingsFields :: *

ConfirmationDialogue​

A dialog that asks users to confirm an action before it is sent.

https://docs.slack.dev/reference/block-kit/composition-objects/confirmation-dialog-object

type Slackblocks.Models.ConfirmationDialogue :: *

ConfirmationDialogueFields​

Editable construction input. Call buildConfirmationDialogue before encoding.

Slackblocks.Models.ConfirmationDialogueFields ::
Slackblocks.Models.PlainText
-> Slackblocks.Models.TextObject
-> Slackblocks.Models.PlainText
-> Slackblocks.Models.PlainText
-> Maybe Slackblocks.Models.ButtonStyle
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.ConfirmationDialogueFields

type Slackblocks.Models.ConfirmationDialogueFields :: *

ConversationFilter​

Limits which conversations a conversation menu offers.

https://docs.slack.dev/reference/block-kit/composition-objects/conversation-filter-object Set at least one filter. Include only im, mpim, private, and public.

type Slackblocks.Models.ConversationFilter :: *

ConversationFilterFields​

Editable construction input. Call buildConversationFilter before encoding.

Slackblocks.Models.ConversationFilterFields ::
Maybe [Data.Text.Text]
-> Maybe Bool
-> Maybe Bool
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.ConversationFilterFields

type Slackblocks.Models.ConversationFilterFields :: *

DataPoint​

One value of a chart series, keyed by axis category.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block

type Slackblocks.Models.DataPoint :: *

DataPointFields​

Editable construction input. Call buildDataPoint before encoding.

Slackblocks.Models.DataPointFields ::
Data.Text.Text
-> Data.Scientific.Scientific
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.DataPointFields

type Slackblocks.Models.DataPointFields :: *

DataSeries​

A named series of chart data points.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block

type Slackblocks.Models.DataSeries :: *

DataSeriesFields​

Editable construction input. Call buildDataSeries before encoding.

Slackblocks.Models.DataSeriesFields ::
Data.Text.Text
-> [Slackblocks.Models.DataPoint]
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.DataSeriesFields

type Slackblocks.Models.DataSeriesFields :: *

DispatchActionConfiguration​

Chooses which interactions with an input send a block_actions payload.

https://docs.slack.dev/reference/block-kit/composition-objects/dispatch-action-configuration-object

type Slackblocks.Models.DispatchActionConfiguration :: *

DispatchActionConfigurationFields​

Editable construction input. Call buildDispatchActionConfiguration before encoding.

Slackblocks.Models.DispatchActionConfigurationFields ::
Maybe [Data.Text.Text]
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.DispatchActionConfigurationFields

type Slackblocks.Models.DispatchActionConfigurationFields :: *

FeedbackButton​

One button of a feedback buttons element.

https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element

type Slackblocks.Models.FeedbackButton :: *

FeedbackButtonFields​

Editable construction input. Call buildFeedbackButton before encoding.

Slackblocks.Models.FeedbackButtonFields ::
Slackblocks.Models.PlainText
-> Data.Text.Text
-> Maybe Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.FeedbackButtonFields

type Slackblocks.Models.FeedbackButtonFields :: *

InputParameter​

A named value passed to a workflow trigger.

https://docs.slack.dev/reference/block-kit/composition-objects/trigger-object

type Slackblocks.Models.InputParameter :: *

InputParameterFields​

Editable construction input. Call buildInputParameter before encoding.

Slackblocks.Models.InputParameterFields ::
Data.Text.Text
-> Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.InputParameterFields

type Slackblocks.Models.InputParameterFields :: *

LineChart​

A line chart for a data visualization block.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block Every series needs exactly one data point for each axis category.

type Slackblocks.Models.LineChart :: *

LineChartFields​

Editable construction input. Call buildLineChart before encoding.

Slackblocks.Models.LineChartFields ::
[Slackblocks.Models.DataSeries]
-> Slackblocks.Models.AxisConfig
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.LineChartFields

type Slackblocks.Models.LineChartFields :: *

MarkdownText​

A mrkdwn text composition object.

https://docs.slack.dev/reference/block-kit/composition-objects/text-object

type Slackblocks.Models.MarkdownText :: *

MarkdownTextFields​

Editable construction input. Call buildMarkdownText before encoding.

Slackblocks.Models.MarkdownTextFields ::
Data.Text.Text
-> Maybe Bool
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.MarkdownTextFields

type Slackblocks.Models.MarkdownTextFields :: *

PieChart​

A pie chart for a data visualization block.

https://docs.slack.dev/reference/block-kit/blocks/data-visualization-block

type Slackblocks.Models.PieChart :: *

PieChartFields​

Editable construction input. Call buildPieChart before encoding.

Slackblocks.Models.PieChartFields ::
[Slackblocks.Models.ChartSegment]
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.PieChartFields

type Slackblocks.Models.PieChartFields :: *

PlainText​

A plain-text composition object.

https://docs.slack.dev/reference/block-kit/composition-objects/text-object

type Slackblocks.Models.PlainText :: *

PlainTextFields​

Editable construction input. Call buildPlainText before encoding.

Slackblocks.Models.PlainTextFields ::
Data.Text.Text
-> Maybe Bool
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.PlainTextFields

type Slackblocks.Models.PlainTextFields :: *

RawNumber​

A numeric data table cell with display text.

https://docs.slack.dev/reference/block-kit/blocks/data-table-block

type Slackblocks.Models.RawNumber :: *

RawNumberFields​

Editable construction input. Call buildRawNumber before encoding.

Slackblocks.Models.RawNumberFields ::
Data.Scientific.Scientific
-> Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RawNumberFields

type Slackblocks.Models.RawNumberFields :: *

RawText​

An unformatted table cell.

https://docs.slack.dev/reference/block-kit/blocks/table-block

type Slackblocks.Models.RawText :: *

RawTextFields​

Editable construction input. Call buildRawText before encoding.

Slackblocks.Models.RawTextFields ::
Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RawTextFields

type Slackblocks.Models.RawTextFields :: *

RichTextChannel​

A channel mention inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextChannel :: *

RichTextChannelFields​

Editable construction input. Call buildRichTextChannel before encoding.

Slackblocks.Models.RichTextChannelFields ::
Data.Text.Text
-> Maybe Slackblocks.Style.RichTextStyle
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextChannelFields

type Slackblocks.Models.RichTextChannelFields :: *

RichTextCodeBlock​

A preformatted code block inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextCodeBlock :: *

RichTextCodeBlockFields​

Editable construction input. Call buildRichTextCodeBlock before encoding.

Slackblocks.Models.RichTextCodeBlockFields ::
[Slackblocks.Models.RichTextSectionElement]
-> Maybe Integer
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextCodeBlockFields

type Slackblocks.Models.RichTextCodeBlockFields :: *

RichTextEmoji​

An emoji inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextEmoji :: *

RichTextEmojiFields​

Editable construction input. Call buildRichTextEmoji before encoding.

Slackblocks.Models.RichTextEmojiFields ::
Data.Text.Text
-> Maybe Integer
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextEmojiFields

type Slackblocks.Models.RichTextEmojiFields :: *

A hyperlink inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextLink :: *

RichTextLinkFields​

Editable construction input. Call buildRichTextLink before encoding.

Slackblocks.Models.RichTextLinkFields ::
Data.Text.Text
-> Maybe Data.Text.Text
-> Maybe Slackblocks.Style.RichTextStyle
-> Maybe Bool
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextLinkFields

type Slackblocks.Models.RichTextLinkFields :: *

RichTextList​

A bulleted or numbered list inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextList :: *

RichTextListFields​

Editable construction input. Call buildRichTextList before encoding.

Slackblocks.Models.RichTextListFields ::
Slackblocks.Models.RichTextListStyle
-> [Slackblocks.Models.RichTextSection]
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextListFields

type Slackblocks.Models.RichTextListFields :: *

RichTextListStyle​

Marker styles for rich text lists.

type Slackblocks.Models.RichTextListStyle :: *

RichTextListStyleBullet​

Slack wire value: bullet.

Slackblocks.Models.RichTextListStyleBullet ::
Slackblocks.Models.RichTextListStyle

RichTextListStyleOrdered​

Slack wire value: ordered.

Slackblocks.Models.RichTextListStyleOrdered ::
Slackblocks.Models.RichTextListStyle

RichTextQuote​

A quotation inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextQuote :: *

RichTextQuoteFields​

Editable construction input. Call buildRichTextQuote before encoding.

Slackblocks.Models.RichTextQuoteFields ::
[Slackblocks.Models.RichTextSectionElement]
-> Maybe Integer
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextQuoteFields

type Slackblocks.Models.RichTextQuoteFields :: *

RichTextSection​

A paragraph of inline rich text elements.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextSection :: *

RichTextSectionElement​

Closed role: only checked members may enter this position.

type Slackblocks.Models.RichTextSectionElement :: *

RichTextSectionFields​

Editable construction input. Call buildRichTextSection before encoding.

Slackblocks.Models.RichTextSectionFields ::
[Slackblocks.Models.RichTextSectionElement]
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextSectionFields

type Slackblocks.Models.RichTextSectionFields :: *

RichTextText​

A run of optionally styled text inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextText :: *

RichTextTextFields​

Editable construction input. Call buildRichTextText before encoding.

Slackblocks.Models.RichTextTextFields ::
Data.Text.Text
-> Maybe Slackblocks.Style.RichTextStyle
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextTextFields

type Slackblocks.Models.RichTextTextFields :: *

RichTextUser​

A user mention inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextUser :: *

RichTextUserFields​

Editable construction input. Call buildRichTextUser before encoding.

Slackblocks.Models.RichTextUserFields ::
Data.Text.Text
-> Maybe Slackblocks.Style.RichTextStyle
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextUserFields

type Slackblocks.Models.RichTextUserFields :: *

RichTextUserGroup​

A user group mention inside rich text.

https://docs.slack.dev/reference/block-kit/blocks/rich-text-block

type Slackblocks.Models.RichTextUserGroup :: *

RichTextUserGroupFields​

Editable construction input. Call buildRichTextUserGroup before encoding.

Slackblocks.Models.RichTextUserGroupFields ::
Data.Text.Text
-> Maybe Slackblocks.Style.RichTextStyle
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.RichTextUserGroupFields

type Slackblocks.Models.RichTextUserGroupFields :: *

SelectOption​

A selectable option for menus, checkboxes, radio buttons, and overflow menus.

https://docs.slack.dev/reference/block-kit/composition-objects/option-object

type Slackblocks.Models.SelectOption :: *

SelectOptionFields​

Editable construction input. Call buildSelectOption before encoding.

Slackblocks.Models.SelectOptionFields ::
Slackblocks.Models.TextObject
-> Data.Text.Text
-> Maybe Slackblocks.Models.TextObject
-> Maybe Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.SelectOptionFields

type Slackblocks.Models.SelectOptionFields :: *

SelectOptionGroup​

A labelled group of options in a static select menu.

https://docs.slack.dev/reference/block-kit/composition-objects/option-group-object

type Slackblocks.Models.SelectOptionGroup :: *

SelectOptionGroupFields​

Editable construction input. Call buildSelectOptionGroup before encoding.

Slackblocks.Models.SelectOptionGroupFields ::
Slackblocks.Models.PlainText
-> [Slackblocks.Models.SelectOption]
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.SelectOptionGroupFields

type Slackblocks.Models.SelectOptionGroupFields :: *

SlackFile​

A reference to an image file hosted in Slack.

https://docs.slack.dev/reference/block-kit/composition-objects/slack-file-object Provide exactly one of an ID or a URL. An ID must match ^F[A-Z0-9]{8,}$.

type Slackblocks.Models.SlackFile :: *

SlackFileFields​

Editable construction input. Call buildSlackFile before encoding.

Slackblocks.Models.SlackFileFields ::
Maybe Data.Text.Text
-> Maybe Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.SlackFileFields

type Slackblocks.Models.SlackFileFields :: *

SlackIcon​

A Slack-provided icon, referenced by name.

https://docs.slack.dev/reference/block-kit/blocks/card-block

type Slackblocks.Models.SlackIcon :: *

SlackIconFields​

Editable construction input. Call buildSlackIcon before encoding.

Slackblocks.Models.SlackIconFields ::
Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.SlackIconFields

type Slackblocks.Models.SlackIconFields :: *

Trigger​

A link trigger that starts a workflow.

https://docs.slack.dev/reference/block-kit/composition-objects/trigger-object

type Slackblocks.Models.Trigger :: *

TriggerFields​

Editable construction input. Call buildTrigger before encoding.

Slackblocks.Models.TriggerFields ::
Data.Text.Text
-> Maybe [Slackblocks.Models.InputParameter]
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.TriggerFields

type Slackblocks.Models.TriggerFields :: *

UrlSource​

A linked source cited by a task card.

https://docs.slack.dev/reference/block-kit/blocks/task-card-block

type Slackblocks.Models.UrlSource :: *

UrlSourceFields​

Editable construction input. Call buildUrlSource before encoding.

Slackblocks.Models.UrlSourceFields ::
Data.Text.Text
-> Data.Text.Text
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.UrlSourceFields

type Slackblocks.Models.UrlSourceFields :: *

Workflow​

The workflow started by a workflow button.

https://docs.slack.dev/reference/block-kit/composition-objects/workflow-object

type Slackblocks.Models.Workflow :: *

WorkflowFields​

Editable construction input. Call buildWorkflow before encoding.

Slackblocks.Models.WorkflowFields ::
Slackblocks.Models.Trigger
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.WorkflowFields

type Slackblocks.Models.WorkflowFields :: *

areaChart​

Start editable fields for AreaChart; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildAreaChart to validate before JSON encoding.

Slackblocks.Models.areaChart ::
[Slackblocks.Models.DataSeries]
-> Slackblocks.Models.AxisConfig
-> Slackblocks.Models.AreaChartFields

areaChartAsChart​

Place a checked AreaChart in the Chart role. The receiving parent retains its contextual validation.

Slackblocks.Models.areaChartAsChart ::
Slackblocks.Models.AreaChart -> Slackblocks.Models.Chart

areaChartAxisConfig​

Sets the axis categories and labels. Every series needs exactly one point per category. Required.

Slackblocks.Models.areaChartAxisConfig ::
Slackblocks.Models.AreaChartFields -> Slackblocks.Models.AxisConfig

areaChartExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.areaChartExtensions ::
Slackblocks.Models.AreaChartFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

areaChartSeries​

Adds data series in display order. Series names must be unique. Required. Shared limit: data_visualization.series.

Slackblocks.Models.areaChartSeries ::
Slackblocks.Models.AreaChartFields
-> [Slackblocks.Models.DataSeries]

axisConfig​

Start editable fields for AxisConfig; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildAxisConfig to validate before JSON encoding.

Slackblocks.Models.axisConfig ::
[Data.Text.Text] -> Slackblocks.Models.AxisConfigFields

axisConfigCategories​

Adds axis categories in display order. Labels must be unique. Required. Shared limit: data_visualization.categories.

Slackblocks.Models.axisConfigCategories ::
Slackblocks.Models.AxisConfigFields -> [Data.Text.Text]

axisConfigExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.axisConfigExtensions ::
Slackblocks.Models.AxisConfigFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

axisConfigXLabel​

Sets the horizontal axis label. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: data_visualization.axis_label.

Slackblocks.Models.axisConfigXLabel ::
Slackblocks.Models.AxisConfigFields -> Maybe Data.Text.Text

axisConfigYLabel​

Sets the vertical axis label. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: data_visualization.axis_label.

Slackblocks.Models.axisConfigYLabel ::
Slackblocks.Models.AxisConfigFields -> Maybe Data.Text.Text

barChart​

Start editable fields for BarChart; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildBarChart to validate before JSON encoding.

Slackblocks.Models.barChart ::
[Slackblocks.Models.DataSeries]
-> Slackblocks.Models.AxisConfig
-> Slackblocks.Models.BarChartFields

barChartAsChart​

Place a checked BarChart in the Chart role. The receiving parent retains its contextual validation.

Slackblocks.Models.barChartAsChart ::
Slackblocks.Models.BarChart -> Slackblocks.Models.Chart

barChartAxisConfig​

Sets the axis categories and labels. Every series needs exactly one point per category. Required.

Slackblocks.Models.barChartAxisConfig ::
Slackblocks.Models.BarChartFields -> Slackblocks.Models.AxisConfig

barChartExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.barChartExtensions ::
Slackblocks.Models.BarChartFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

barChartSeries​

Adds data series in display order. Series names must be unique. Required. Shared limit: data_visualization.series.

Slackblocks.Models.barChartSeries ::
Slackblocks.Models.BarChartFields
-> [Slackblocks.Models.DataSeries]

buildAreaChart​

Validate fields, extensions and receiving context. Return structured errors or a checked AreaChart.

Slackblocks.Models.buildAreaChart ::
Slackblocks.Models.AreaChartFields
-> Slackblocks.Validation.Result Slackblocks.Models.AreaChart

buildAxisConfig​

Validate fields, extensions and receiving context. Return structured errors or a checked AxisConfig.

Slackblocks.Models.buildAxisConfig ::
Slackblocks.Models.AxisConfigFields
-> Slackblocks.Validation.Result Slackblocks.Models.AxisConfig

buildBarChart​

Validate fields, extensions and receiving context. Return structured errors or a checked BarChart.

Slackblocks.Models.buildBarChart ::
Slackblocks.Models.BarChartFields
-> Slackblocks.Validation.Result Slackblocks.Models.BarChart

buildChartSegment​

Validate fields, extensions and receiving context. Return structured errors or a checked ChartSegment.

Slackblocks.Models.buildChartSegment ::
Slackblocks.Models.ChartSegmentFields
-> Slackblocks.Validation.Result Slackblocks.Models.ChartSegment

buildColumnSettings​

Validate fields, extensions and receiving context. Return structured errors or a checked ColumnSettings.

Slackblocks.Models.buildColumnSettings ::
Slackblocks.Models.ColumnSettingsFields
-> Slackblocks.Validation.Result Slackblocks.Models.ColumnSettings

buildConfirmationDialogue​

Validate fields, extensions and receiving context. Return structured errors or a checked ConfirmationDialogue.

Slackblocks.Models.buildConfirmationDialogue ::
Slackblocks.Models.ConfirmationDialogueFields
-> Slackblocks.Validation.Result
Slackblocks.Models.ConfirmationDialogue

buildConversationFilter​

Validate fields, extensions and receiving context. Return structured errors or a checked ConversationFilter.

Slackblocks.Models.buildConversationFilter ::
Slackblocks.Models.ConversationFilterFields
-> Slackblocks.Validation.Result
Slackblocks.Models.ConversationFilter

buildDataPoint​

Validate fields, extensions and receiving context. Return structured errors or a checked DataPoint.

Slackblocks.Models.buildDataPoint ::
Slackblocks.Models.DataPointFields
-> Slackblocks.Validation.Result Slackblocks.Models.DataPoint

buildDataSeries​

Validate fields, extensions and receiving context. Return structured errors or a checked DataSeries.

Slackblocks.Models.buildDataSeries ::
Slackblocks.Models.DataSeriesFields
-> Slackblocks.Validation.Result Slackblocks.Models.DataSeries

buildDispatchActionConfiguration​

Validate fields, extensions and receiving context. Return structured errors or a checked DispatchActionConfiguration.

Slackblocks.Models.buildDispatchActionConfiguration ::
Slackblocks.Models.DispatchActionConfigurationFields
-> Slackblocks.Validation.Result
Slackblocks.Models.DispatchActionConfiguration

buildFeedbackButton​

Validate fields, extensions and receiving context. Return structured errors or a checked FeedbackButton.

Slackblocks.Models.buildFeedbackButton ::
Slackblocks.Models.FeedbackButtonFields
-> Slackblocks.Validation.Result Slackblocks.Models.FeedbackButton

buildInputParameter​

Validate fields, extensions and receiving context. Return structured errors or a checked InputParameter.

Slackblocks.Models.buildInputParameter ::
Slackblocks.Models.InputParameterFields
-> Slackblocks.Validation.Result Slackblocks.Models.InputParameter

buildLineChart​

Validate fields, extensions and receiving context. Return structured errors or a checked LineChart.

Slackblocks.Models.buildLineChart ::
Slackblocks.Models.LineChartFields
-> Slackblocks.Validation.Result Slackblocks.Models.LineChart

buildMarkdownText​

Validate fields, extensions and receiving context. Return structured errors or a checked MarkdownText.

Slackblocks.Models.buildMarkdownText ::
Slackblocks.Models.MarkdownTextFields
-> Slackblocks.Validation.Result Slackblocks.Models.MarkdownText

buildPieChart​

Validate fields, extensions and receiving context. Return structured errors or a checked PieChart.

Slackblocks.Models.buildPieChart ::
Slackblocks.Models.PieChartFields
-> Slackblocks.Validation.Result Slackblocks.Models.PieChart

buildPlainText​

Validate fields, extensions and receiving context. Return structured errors or a checked PlainText.

Slackblocks.Models.buildPlainText ::
Slackblocks.Models.PlainTextFields
-> Slackblocks.Validation.Result Slackblocks.Models.PlainText

buildRawNumber​

Validate fields, extensions and receiving context. Return structured errors or a checked RawNumber.

Slackblocks.Models.buildRawNumber ::
Slackblocks.Models.RawNumberFields
-> Slackblocks.Validation.Result Slackblocks.Models.RawNumber

buildRawText​

Validate fields, extensions and receiving context. Return structured errors or a checked RawText.

Slackblocks.Models.buildRawText ::
Slackblocks.Models.RawTextFields
-> Slackblocks.Validation.Result Slackblocks.Models.RawText

buildRichTextChannel​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextChannel.

Slackblocks.Models.buildRichTextChannel ::
Slackblocks.Models.RichTextChannelFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextChannel

buildRichTextCodeBlock​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextCodeBlock.

Slackblocks.Models.buildRichTextCodeBlock ::
Slackblocks.Models.RichTextCodeBlockFields
-> Slackblocks.Validation.Result
Slackblocks.Models.RichTextCodeBlock

buildRichTextEmoji​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextEmoji.

Slackblocks.Models.buildRichTextEmoji ::
Slackblocks.Models.RichTextEmojiFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextEmoji

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextLink.

Slackblocks.Models.buildRichTextLink ::
Slackblocks.Models.RichTextLinkFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextLink

buildRichTextList​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextList.

Slackblocks.Models.buildRichTextList ::
Slackblocks.Models.RichTextListFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextList

buildRichTextQuote​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextQuote.

Slackblocks.Models.buildRichTextQuote ::
Slackblocks.Models.RichTextQuoteFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextQuote

buildRichTextSection​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextSection.

Slackblocks.Models.buildRichTextSection ::
Slackblocks.Models.RichTextSectionFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextSection

buildRichTextText​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextText.

Slackblocks.Models.buildRichTextText ::
Slackblocks.Models.RichTextTextFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextText

buildRichTextUser​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextUser.

Slackblocks.Models.buildRichTextUser ::
Slackblocks.Models.RichTextUserFields
-> Slackblocks.Validation.Result Slackblocks.Models.RichTextUser

buildRichTextUserGroup​

Validate fields, extensions and receiving context. Return structured errors or a checked RichTextUserGroup.

Slackblocks.Models.buildRichTextUserGroup ::
Slackblocks.Models.RichTextUserGroupFields
-> Slackblocks.Validation.Result
Slackblocks.Models.RichTextUserGroup

buildSelectOption​

Validate fields, extensions and receiving context. Return structured errors or a checked SelectOption.

Slackblocks.Models.buildSelectOption ::
Slackblocks.Models.SelectOptionFields
-> Slackblocks.Validation.Result Slackblocks.Models.SelectOption

buildSelectOptionGroup​

Validate fields, extensions and receiving context. Return structured errors or a checked SelectOptionGroup.

Slackblocks.Models.buildSelectOptionGroup ::
Slackblocks.Models.SelectOptionGroupFields
-> Slackblocks.Validation.Result
Slackblocks.Models.SelectOptionGroup

buildSlackFile​

Validate fields, extensions and receiving context. Return structured errors or a checked SlackFile.

Slackblocks.Models.buildSlackFile ::
Slackblocks.Models.SlackFileFields
-> Slackblocks.Validation.Result Slackblocks.Models.SlackFile

buildSlackIcon​

Validate fields, extensions and receiving context. Return structured errors or a checked SlackIcon.

Slackblocks.Models.buildSlackIcon ::
Slackblocks.Models.SlackIconFields
-> Slackblocks.Validation.Result Slackblocks.Models.SlackIcon

buildTrigger​

Validate fields, extensions and receiving context. Return structured errors or a checked Trigger.

Slackblocks.Models.buildTrigger ::
Slackblocks.Models.TriggerFields
-> Slackblocks.Validation.Result Slackblocks.Models.Trigger

buildUrlSource​

Validate fields, extensions and receiving context. Return structured errors or a checked UrlSource.

Slackblocks.Models.buildUrlSource ::
Slackblocks.Models.UrlSourceFields
-> Slackblocks.Validation.Result Slackblocks.Models.UrlSource

buildWorkflow​

Validate fields, extensions and receiving context. Return structured errors or a checked Workflow.

Slackblocks.Models.buildWorkflow ::
Slackblocks.Models.WorkflowFields
-> Slackblocks.Validation.Result Slackblocks.Models.Workflow

chartSegment​

Start editable fields for ChartSegment; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildChartSegment to validate before JSON encoding.

Slackblocks.Models.chartSegment ::
Data.Text.Text
-> Data.Scientific.Scientific
-> Slackblocks.Models.ChartSegmentFields

chartSegmentExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.chartSegmentExtensions ::
Slackblocks.Models.ChartSegmentFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

chartSegmentLabel​

Sets the segment label. Required. Shared limit: data_visualization.segment.label.

Slackblocks.Models.chartSegmentLabel ::
Slackblocks.Models.ChartSegmentFields -> Data.Text.Text

chartSegmentValue​

Sets the segment's size. Must be greater than zero. Required.

Slackblocks.Models.chartSegmentValue ::
Slackblocks.Models.ChartSegmentFields -> Data.Scientific.Scientific

columnSettings​

Start editable fields for ColumnSettings; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildColumnSettings to validate before JSON encoding.

Slackblocks.Models.columnSettings ::
Slackblocks.Models.ColumnSettingsFields

columnSettingsAlign​

Sets how cell content in the column is aligned. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.columnSettingsAlign ::
Slackblocks.Models.ColumnSettingsFields
-> Maybe Slackblocks.Models.ColumnAlign

columnSettingsExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.columnSettingsExtensions ::
Slackblocks.Models.ColumnSettingsFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

columnSettingsIsWrapped​

Sets whether long cell content wraps instead of being truncated. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.columnSettingsIsWrapped ::
Slackblocks.Models.ColumnSettingsFields -> Maybe Bool

confirmationDialogue​

Start editable fields for ConfirmationDialogue; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildConfirmationDialogue to validate before JSON encoding.

Slackblocks.Models.confirmationDialogue ::
Slackblocks.Models.PlainText
-> Slackblocks.Models.TextObject
-> Slackblocks.Models.PlainText
-> Slackblocks.Models.PlainText
-> Slackblocks.Models.ConfirmationDialogueFields

confirmationDialogueConfirm​

Sets the label of the button that confirms the action. Required. Shared limit: confirmation.confirm.

Slackblocks.Models.confirmationDialogueConfirm ::
Slackblocks.Models.ConfirmationDialogueFields
-> Slackblocks.Models.PlainText

confirmationDialogueDeny​

Sets the label of the button that cancels the action. Required. Shared limit: confirmation.deny.

Slackblocks.Models.confirmationDialogueDeny ::
Slackblocks.Models.ConfirmationDialogueFields
-> Slackblocks.Models.PlainText

confirmationDialogueExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.confirmationDialogueExtensions ::
Slackblocks.Models.ConfirmationDialogueFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

confirmationDialogueStyle​

Sets the emphasis of the confirm button. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.confirmationDialogueStyle ::
Slackblocks.Models.ConfirmationDialogueFields
-> Maybe Slackblocks.Models.ButtonStyle

confirmationDialogueText​

Sets the explanatory text in the dialog body. Required. Shared limit: confirmation.text.

Slackblocks.Models.confirmationDialogueText ::
Slackblocks.Models.ConfirmationDialogueFields
-> Slackblocks.Models.TextObject

confirmationDialogueTitle​

Sets the dialog title. Required. Shared limit: confirmation.title.

Slackblocks.Models.confirmationDialogueTitle ::
Slackblocks.Models.ConfirmationDialogueFields
-> Slackblocks.Models.PlainText

conversationFilter​

Start editable fields for ConversationFilter; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildConversationFilter to validate before JSON encoding.

Slackblocks.Models.conversationFilter ::
Slackblocks.Models.ConversationFilterFields

conversationFilterExcludeBotUsers​

Sets whether bot users are excluded. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.conversationFilterExcludeBotUsers ::
Slackblocks.Models.ConversationFilterFields -> Maybe Bool

conversationFilterExcludeExternalSharedChannels​

Sets whether externally shared channels are excluded. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.conversationFilterExcludeExternalSharedChannels ::
Slackblocks.Models.ConversationFilterFields -> Maybe Bool

conversationFilterExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.conversationFilterExtensions ::
Slackblocks.Models.ConversationFilterFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

conversationFilterInclude​

Adds conversation types to offer: im, mpim, private, or public. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: conversation_filter.include.

Slackblocks.Models.conversationFilterInclude ::
Slackblocks.Models.ConversationFilterFields
-> Maybe [Data.Text.Text]

dataPoint​

Start editable fields for DataPoint; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildDataPoint to validate before JSON encoding.

Slackblocks.Models.dataPoint ::
Data.Text.Text
-> Data.Scientific.Scientific -> Slackblocks.Models.DataPointFields

dataPointExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.dataPointExtensions ::
Slackblocks.Models.DataPointFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

dataPointLabel​

Sets the axis category this point belongs to. Required. Shared limit: data_visualization.point_label.

Slackblocks.Models.dataPointLabel ::
Slackblocks.Models.DataPointFields -> Data.Text.Text

dataPointValue​

Sets the point's value. Required.

Slackblocks.Models.dataPointValue ::
Slackblocks.Models.DataPointFields -> Data.Scientific.Scientific

dataSeries​

Start editable fields for DataSeries; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildDataSeries to validate before JSON encoding.

Slackblocks.Models.dataSeries ::
Data.Text.Text
-> [Slackblocks.Models.DataPoint]
-> Slackblocks.Models.DataSeriesFields

dataSeriesData​

Adds data points in axis-category order. Required. Shared limit: data_visualization.data.

Slackblocks.Models.dataSeriesData ::
Slackblocks.Models.DataSeriesFields
-> [Slackblocks.Models.DataPoint]

dataSeriesExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.dataSeriesExtensions ::
Slackblocks.Models.DataSeriesFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

dataSeriesName​

Sets the series name shown in the legend. Required. Shared limit: data_visualization.series_name.

Slackblocks.Models.dataSeriesName ::
Slackblocks.Models.DataSeriesFields -> Data.Text.Text

dispatchActionConfiguration​

Start editable fields for DispatchActionConfiguration; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildDispatchActionConfiguration to validate before JSON encoding.

Slackblocks.Models.dispatchActionConfiguration ::
Slackblocks.Models.DispatchActionConfigurationFields

dispatchActionConfigurationExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.dispatchActionConfigurationExtensions ::
Slackblocks.Models.DispatchActionConfigurationFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

dispatchActionConfigurationTriggerActionsOn​

Adds the interactions that send a payload: on_enter_pressed or on_character_entered. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: dispatch_action_configuration.trigger_actions_on.

Slackblocks.Models.dispatchActionConfigurationTriggerActionsOn ::
Slackblocks.Models.DispatchActionConfigurationFields
-> Maybe [Data.Text.Text]

feedbackButton​

Start editable fields for FeedbackButton; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildFeedbackButton to validate before JSON encoding.

Slackblocks.Models.feedbackButton ::
Slackblocks.Models.PlainText
-> Data.Text.Text -> Slackblocks.Models.FeedbackButtonFields

feedbackButtonAccessibilityLabel​

Sets the label read by screen readers in place of the visible text. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: feedback_button.accessibility_label.

Slackblocks.Models.feedbackButtonAccessibilityLabel ::
Slackblocks.Models.FeedbackButtonFields -> Maybe Data.Text.Text

feedbackButtonExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.feedbackButtonExtensions ::
Slackblocks.Models.FeedbackButtonFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

feedbackButtonText​

Sets the button label. Required. Shared limit: feedback_button.text.

Slackblocks.Models.feedbackButtonText ::
Slackblocks.Models.FeedbackButtonFields
-> Slackblocks.Models.PlainText

feedbackButtonValue​

Sets the application-defined value sent in interaction payloads. Required. Shared limit: feedback_button.value.

Slackblocks.Models.feedbackButtonValue ::
Slackblocks.Models.FeedbackButtonFields -> Data.Text.Text

inputParameter​

Start editable fields for InputParameter; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildInputParameter to validate before JSON encoding.

Slackblocks.Models.inputParameter ::
Data.Text.Text
-> Data.Text.Text -> Slackblocks.Models.InputParameterFields

inputParameterExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.inputParameterExtensions ::
Slackblocks.Models.InputParameterFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

inputParameterName​

Sets the workflow input parameter name. Required.

Slackblocks.Models.inputParameterName ::
Slackblocks.Models.InputParameterFields -> Data.Text.Text

inputParameterValue​

Sets the value passed to the workflow input. Required.

Slackblocks.Models.inputParameterValue ::
Slackblocks.Models.InputParameterFields -> Data.Text.Text

inspectAreaChart​

Inspect immutable construction fields. Rebuild edits with buildAreaChart to revalidate.

Slackblocks.Models.inspectAreaChart ::
Slackblocks.Models.AreaChart -> Slackblocks.Models.AreaChartFields

inspectAxisConfig​

Inspect immutable construction fields. Rebuild edits with buildAxisConfig to revalidate.

Slackblocks.Models.inspectAxisConfig ::
Slackblocks.Models.AxisConfig
-> Slackblocks.Models.AxisConfigFields

inspectBarChart​

Inspect immutable construction fields. Rebuild edits with buildBarChart to revalidate.

Slackblocks.Models.inspectBarChart ::
Slackblocks.Models.BarChart -> Slackblocks.Models.BarChartFields

inspectChartSegment​

Inspect immutable construction fields. Rebuild edits with buildChartSegment to revalidate.

Slackblocks.Models.inspectChartSegment ::
Slackblocks.Models.ChartSegment
-> Slackblocks.Models.ChartSegmentFields

inspectColumnSettings​

Inspect immutable construction fields. Rebuild edits with buildColumnSettings to revalidate.

Slackblocks.Models.inspectColumnSettings ::
Slackblocks.Models.ColumnSettings
-> Slackblocks.Models.ColumnSettingsFields

inspectConfirmationDialogue​

Inspect immutable construction fields. Rebuild edits with buildConfirmationDialogue to revalidate.

Slackblocks.Models.inspectConfirmationDialogue ::
Slackblocks.Models.ConfirmationDialogue
-> Slackblocks.Models.ConfirmationDialogueFields

inspectConversationFilter​

Inspect immutable construction fields. Rebuild edits with buildConversationFilter to revalidate.

Slackblocks.Models.inspectConversationFilter ::
Slackblocks.Models.ConversationFilter
-> Slackblocks.Models.ConversationFilterFields

inspectDataPoint​

Inspect immutable construction fields. Rebuild edits with buildDataPoint to revalidate.

Slackblocks.Models.inspectDataPoint ::
Slackblocks.Models.DataPoint -> Slackblocks.Models.DataPointFields

inspectDataSeries​

Inspect immutable construction fields. Rebuild edits with buildDataSeries to revalidate.

Slackblocks.Models.inspectDataSeries ::
Slackblocks.Models.DataSeries
-> Slackblocks.Models.DataSeriesFields

inspectDispatchActionConfiguration​

Inspect immutable construction fields. Rebuild edits with buildDispatchActionConfiguration to revalidate.

Slackblocks.Models.inspectDispatchActionConfiguration ::
Slackblocks.Models.DispatchActionConfiguration
-> Slackblocks.Models.DispatchActionConfigurationFields

inspectFeedbackButton​

Inspect immutable construction fields. Rebuild edits with buildFeedbackButton to revalidate.

Slackblocks.Models.inspectFeedbackButton ::
Slackblocks.Models.FeedbackButton
-> Slackblocks.Models.FeedbackButtonFields

inspectInputParameter​

Inspect immutable construction fields. Rebuild edits with buildInputParameter to revalidate.

Slackblocks.Models.inspectInputParameter ::
Slackblocks.Models.InputParameter
-> Slackblocks.Models.InputParameterFields

inspectLineChart​

Inspect immutable construction fields. Rebuild edits with buildLineChart to revalidate.

Slackblocks.Models.inspectLineChart ::
Slackblocks.Models.LineChart -> Slackblocks.Models.LineChartFields

inspectMarkdownText​

Inspect immutable construction fields. Rebuild edits with buildMarkdownText to revalidate.

Slackblocks.Models.inspectMarkdownText ::
Slackblocks.Models.MarkdownText
-> Slackblocks.Models.MarkdownTextFields

inspectPieChart​

Inspect immutable construction fields. Rebuild edits with buildPieChart to revalidate.

Slackblocks.Models.inspectPieChart ::
Slackblocks.Models.PieChart -> Slackblocks.Models.PieChartFields

inspectPlainText​

Inspect immutable construction fields. Rebuild edits with buildPlainText to revalidate.

Slackblocks.Models.inspectPlainText ::
Slackblocks.Models.PlainText -> Slackblocks.Models.PlainTextFields

inspectRawNumber​

Inspect immutable construction fields. Rebuild edits with buildRawNumber to revalidate.

Slackblocks.Models.inspectRawNumber ::
Slackblocks.Models.RawNumber -> Slackblocks.Models.RawNumberFields

inspectRawText​

Inspect immutable construction fields. Rebuild edits with buildRawText to revalidate.

Slackblocks.Models.inspectRawText ::
Slackblocks.Models.RawText -> Slackblocks.Models.RawTextFields

inspectRichTextChannel​

Inspect immutable construction fields. Rebuild edits with buildRichTextChannel to revalidate.

Slackblocks.Models.inspectRichTextChannel ::
Slackblocks.Models.RichTextChannel
-> Slackblocks.Models.RichTextChannelFields

inspectRichTextCodeBlock​

Inspect immutable construction fields. Rebuild edits with buildRichTextCodeBlock to revalidate.

Slackblocks.Models.inspectRichTextCodeBlock ::
Slackblocks.Models.RichTextCodeBlock
-> Slackblocks.Models.RichTextCodeBlockFields

inspectRichTextEmoji​

Inspect immutable construction fields. Rebuild edits with buildRichTextEmoji to revalidate.

Slackblocks.Models.inspectRichTextEmoji ::
Slackblocks.Models.RichTextEmoji
-> Slackblocks.Models.RichTextEmojiFields

Inspect immutable construction fields. Rebuild edits with buildRichTextLink to revalidate.

Slackblocks.Models.inspectRichTextLink ::
Slackblocks.Models.RichTextLink
-> Slackblocks.Models.RichTextLinkFields

inspectRichTextList​

Inspect immutable construction fields. Rebuild edits with buildRichTextList to revalidate.

Slackblocks.Models.inspectRichTextList ::
Slackblocks.Models.RichTextList
-> Slackblocks.Models.RichTextListFields

inspectRichTextQuote​

Inspect immutable construction fields. Rebuild edits with buildRichTextQuote to revalidate.

Slackblocks.Models.inspectRichTextQuote ::
Slackblocks.Models.RichTextQuote
-> Slackblocks.Models.RichTextQuoteFields

inspectRichTextSection​

Inspect immutable construction fields. Rebuild edits with buildRichTextSection to revalidate.

Slackblocks.Models.inspectRichTextSection ::
Slackblocks.Models.RichTextSection
-> Slackblocks.Models.RichTextSectionFields

inspectRichTextText​

Inspect immutable construction fields. Rebuild edits with buildRichTextText to revalidate.

Slackblocks.Models.inspectRichTextText ::
Slackblocks.Models.RichTextText
-> Slackblocks.Models.RichTextTextFields

inspectRichTextUser​

Inspect immutable construction fields. Rebuild edits with buildRichTextUser to revalidate.

Slackblocks.Models.inspectRichTextUser ::
Slackblocks.Models.RichTextUser
-> Slackblocks.Models.RichTextUserFields

inspectRichTextUserGroup​

Inspect immutable construction fields. Rebuild edits with buildRichTextUserGroup to revalidate.

Slackblocks.Models.inspectRichTextUserGroup ::
Slackblocks.Models.RichTextUserGroup
-> Slackblocks.Models.RichTextUserGroupFields

inspectSelectOption​

Inspect immutable construction fields. Rebuild edits with buildSelectOption to revalidate.

Slackblocks.Models.inspectSelectOption ::
Slackblocks.Models.SelectOption
-> Slackblocks.Models.SelectOptionFields

inspectSelectOptionGroup​

Inspect immutable construction fields. Rebuild edits with buildSelectOptionGroup to revalidate.

Slackblocks.Models.inspectSelectOptionGroup ::
Slackblocks.Models.SelectOptionGroup
-> Slackblocks.Models.SelectOptionGroupFields

inspectSlackFile​

Inspect immutable construction fields. Rebuild edits with buildSlackFile to revalidate.

Slackblocks.Models.inspectSlackFile ::
Slackblocks.Models.SlackFile -> Slackblocks.Models.SlackFileFields

inspectSlackIcon​

Inspect immutable construction fields. Rebuild edits with buildSlackIcon to revalidate.

Slackblocks.Models.inspectSlackIcon ::
Slackblocks.Models.SlackIcon -> Slackblocks.Models.SlackIconFields

inspectTrigger​

Inspect immutable construction fields. Rebuild edits with buildTrigger to revalidate.

Slackblocks.Models.inspectTrigger ::
Slackblocks.Models.Trigger -> Slackblocks.Models.TriggerFields

inspectUrlSource​

Inspect immutable construction fields. Rebuild edits with buildUrlSource to revalidate.

Slackblocks.Models.inspectUrlSource ::
Slackblocks.Models.UrlSource -> Slackblocks.Models.UrlSourceFields

inspectWorkflow​

Inspect immutable construction fields. Rebuild edits with buildWorkflow to revalidate.

Slackblocks.Models.inspectWorkflow ::
Slackblocks.Models.Workflow -> Slackblocks.Models.WorkflowFields

lineChart​

Start editable fields for LineChart; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildLineChart to validate before JSON encoding.

Slackblocks.Models.lineChart ::
[Slackblocks.Models.DataSeries]
-> Slackblocks.Models.AxisConfig
-> Slackblocks.Models.LineChartFields

lineChartAsChart​

Place a checked LineChart in the Chart role. The receiving parent retains its contextual validation.

Slackblocks.Models.lineChartAsChart ::
Slackblocks.Models.LineChart -> Slackblocks.Models.Chart

lineChartAxisConfig​

Sets the axis categories and labels. Every series needs exactly one point per category. Required.

Slackblocks.Models.lineChartAxisConfig ::
Slackblocks.Models.LineChartFields -> Slackblocks.Models.AxisConfig

lineChartExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.lineChartExtensions ::
Slackblocks.Models.LineChartFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

lineChartSeries​

Adds data series in display order. Series names must be unique. Required. Shared limit: data_visualization.series.

Slackblocks.Models.lineChartSeries ::
Slackblocks.Models.LineChartFields
-> [Slackblocks.Models.DataSeries]

markdownText​

Start editable fields for MarkdownText; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildMarkdownText to validate before JSON encoding.

Slackblocks.Models.markdownText ::
Data.Text.Text -> Slackblocks.Models.MarkdownTextFields

markdownTextAsContextElement​

Place a checked MarkdownText in the ContextElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.markdownTextAsContextElement ::
Slackblocks.Models.MarkdownText
-> Slackblocks.Models.ContextElement

markdownTextAsText​

Place a checked MarkdownText in the TextObject role. The receiving parent retains its contextual validation.

Slackblocks.Models.markdownTextAsText ::
Slackblocks.Models.MarkdownText -> Slackblocks.Models.TextObject

markdownTextExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.markdownTextExtensions ::
Slackblocks.Models.MarkdownTextFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

markdownTextText​

Sets the mrkdwn-formatted text content. Required.

Slackblocks.Models.markdownTextText ::
Slackblocks.Models.MarkdownTextFields -> Data.Text.Text

markdownTextVerbatim​

Sets whether Slack leaves URLs, mentions, and channel names unlinked. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.markdownTextVerbatim ::
Slackblocks.Models.MarkdownTextFields -> Maybe Bool

pieChart​

Start editable fields for PieChart; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildPieChart to validate before JSON encoding.

Slackblocks.Models.pieChart ::
[Slackblocks.Models.ChartSegment]
-> Slackblocks.Models.PieChartFields

pieChartAsChart​

Place a checked PieChart in the Chart role. The receiving parent retains its contextual validation.

Slackblocks.Models.pieChartAsChart ::
Slackblocks.Models.PieChart -> Slackblocks.Models.Chart

pieChartExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.pieChartExtensions ::
Slackblocks.Models.PieChartFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

pieChartSegments​

Adds pie segments in display order. Required. Shared limit: data_visualization.segments.

Slackblocks.Models.pieChartSegments ::
Slackblocks.Models.PieChartFields
-> [Slackblocks.Models.ChartSegment]

plainText​

Start editable fields for PlainText; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildPlainText to validate before JSON encoding.

Slackblocks.Models.plainText ::
Data.Text.Text -> Slackblocks.Models.PlainTextFields

plainTextAsContextElement​

Place a checked PlainText in the ContextElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.plainTextAsContextElement ::
Slackblocks.Models.PlainText -> Slackblocks.Models.ContextElement

plainTextAsText​

Place a checked PlainText in the TextObject role. The receiving parent retains its contextual validation.

Slackblocks.Models.plainTextAsText ::
Slackblocks.Models.PlainText -> Slackblocks.Models.TextObject

plainTextEmoji​

Sets whether emoji shortcodes such as 🎉 are rendered as emoji. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.plainTextEmoji ::
Slackblocks.Models.PlainTextFields -> Maybe Bool

plainTextExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.plainTextExtensions ::
Slackblocks.Models.PlainTextFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

plainTextText​

Sets the text content. Required.

Slackblocks.Models.plainTextText ::
Slackblocks.Models.PlainTextFields -> Data.Text.Text

rawNumber​

Start editable fields for RawNumber; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRawNumber to validate before JSON encoding.

Slackblocks.Models.rawNumber ::
Data.Scientific.Scientific
-> Data.Text.Text -> Slackblocks.Models.RawNumberFields

rawNumberAsDataTableCell​

Place a checked RawNumber in the DataTableCell role. The receiving parent retains its contextual validation.

Slackblocks.Models.rawNumberAsDataTableCell ::
Slackblocks.Models.RawNumber -> Slackblocks.Models.DataTableCell

rawNumberExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.rawNumberExtensions ::
Slackblocks.Models.RawNumberFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

rawNumberText​

Sets the formatted text displayed for the number, such as 1,234.5. Required.

Slackblocks.Models.rawNumberText ::
Slackblocks.Models.RawNumberFields -> Data.Text.Text

rawNumberValue​

Sets the numeric value used for sorting. Required.

Slackblocks.Models.rawNumberValue ::
Slackblocks.Models.RawNumberFields -> Data.Scientific.Scientific

rawText​

Start editable fields for RawText; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRawText to validate before JSON encoding.

Slackblocks.Models.rawText ::
Data.Text.Text -> Slackblocks.Models.RawTextFields

rawTextAsDataTableCell​

Place a checked RawText in the DataTableCell role. The receiving parent retains its contextual validation.

Slackblocks.Models.rawTextAsDataTableCell ::
Slackblocks.Models.RawText -> Slackblocks.Models.DataTableCell

rawTextAsTableCell​

Place a checked RawText in the TableCell role. The receiving parent retains its contextual validation.

Slackblocks.Models.rawTextAsTableCell ::
Slackblocks.Models.RawText -> Slackblocks.Models.TableCell

rawTextExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.rawTextExtensions ::
Slackblocks.Models.RawTextFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

rawTextText​

Sets the cell text. Required.

Slackblocks.Models.rawTextText ::
Slackblocks.Models.RawTextFields -> Data.Text.Text

richTextChannel​

Start editable fields for RichTextChannel; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextChannel to validate before JSON encoding.

Slackblocks.Models.richTextChannel ::
Data.Text.Text -> Slackblocks.Models.RichTextChannelFields

richTextChannelAsRichTextSectionElement​

Place a checked RichTextChannel in the RichTextSectionElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextChannelAsRichTextSectionElement ::
Slackblocks.Models.RichTextChannel
-> Slackblocks.Models.RichTextSectionElement

richTextChannelChannelId​

Sets the ID of the mentioned channel. Required.

Slackblocks.Models.richTextChannelChannelId ::
Slackblocks.Models.RichTextChannelFields -> Data.Text.Text

richTextChannelExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextChannelExtensions ::
Slackblocks.Models.RichTextChannelFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextChannelStyle​

Sets the mention style. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextChannelStyle ::
Slackblocks.Models.RichTextChannelFields
-> Maybe Slackblocks.Style.RichTextStyle

richTextCodeBlock​

Start editable fields for RichTextCodeBlock; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextCodeBlock to validate before JSON encoding.

Slackblocks.Models.richTextCodeBlock ::
[Slackblocks.Models.RichTextSectionElement]
-> Slackblocks.Models.RichTextCodeBlockFields

richTextCodeBlockAsRichTextBlockElement​

Place a checked RichTextCodeBlock in the RichTextBlockElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextCodeBlockAsRichTextBlockElement ::
Slackblocks.Models.RichTextCodeBlock
-> Slackblocks.Models.RichTextBlockElement

richTextCodeBlockBorder​

Sets the width of the left border, in pixels. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: rich_text_preformatted.border.

Slackblocks.Models.richTextCodeBlockBorder ::
Slackblocks.Models.RichTextCodeBlockFields -> Maybe Integer

richTextCodeBlockElements​

Adds inline rich text elements in display order. Required.

Slackblocks.Models.richTextCodeBlockElements ::
Slackblocks.Models.RichTextCodeBlockFields
-> [Slackblocks.Models.RichTextSectionElement]

richTextCodeBlockExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextCodeBlockExtensions ::
Slackblocks.Models.RichTextCodeBlockFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextEmoji​

Start editable fields for RichTextEmoji; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextEmoji to validate before JSON encoding.

Slackblocks.Models.richTextEmoji ::
Data.Text.Text -> Slackblocks.Models.RichTextEmojiFields

richTextEmojiAsRichTextSectionElement​

Place a checked RichTextEmoji in the RichTextSectionElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextEmojiAsRichTextSectionElement ::
Slackblocks.Models.RichTextEmoji
-> Slackblocks.Models.RichTextSectionElement

richTextEmojiExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextEmojiExtensions ::
Slackblocks.Models.RichTextEmojiFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextEmojiName​

Sets the emoji shortcode name, without colons. Required.

Slackblocks.Models.richTextEmojiName ::
Slackblocks.Models.RichTextEmojiFields -> Data.Text.Text

richTextEmojiSkinTone​

Sets the emoji skin tone, from 1 to 6. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextEmojiSkinTone ::
Slackblocks.Models.RichTextEmojiFields -> Maybe Integer

Start editable fields for RichTextLink; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextLink to validate before JSON encoding.

Slackblocks.Models.richTextLink ::
Data.Text.Text -> Slackblocks.Models.RichTextLinkFields

richTextLinkAsRichTextSectionElement​

Place a checked RichTextLink in the RichTextSectionElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextLinkAsRichTextSectionElement ::
Slackblocks.Models.RichTextLink
-> Slackblocks.Models.RichTextSectionElement

richTextLinkExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextLinkExtensions ::
Slackblocks.Models.RichTextLinkFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextLinkStyle​

Sets the visual style. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextLinkStyle ::
Slackblocks.Models.RichTextLinkFields
-> Maybe Slackblocks.Style.RichTextStyle

richTextLinkText​

Sets the visible link text. Slack shows the URL when omitted. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextLinkText ::
Slackblocks.Models.RichTextLinkFields -> Maybe Data.Text.Text

richTextLinkUnsafe​

Sets whether Slack treats the link as unsafe. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextLinkUnsafe ::
Slackblocks.Models.RichTextLinkFields -> Maybe Bool

richTextLinkUrl​

Sets the link target. Required.

Slackblocks.Models.richTextLinkUrl ::
Slackblocks.Models.RichTextLinkFields -> Data.Text.Text

richTextList​

Start editable fields for RichTextList; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextList to validate before JSON encoding.

Slackblocks.Models.richTextList ::
Slackblocks.Models.RichTextListStyle
-> [Slackblocks.Models.RichTextSection]
-> Slackblocks.Models.RichTextListFields

richTextListAsRichTextBlockElement​

Place a checked RichTextList in the RichTextBlockElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextListAsRichTextBlockElement ::
Slackblocks.Models.RichTextList
-> Slackblocks.Models.RichTextBlockElement

richTextListBorder​

Sets the width of the left border, in pixels. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: rich_text_list.border.

Slackblocks.Models.richTextListBorder ::
Slackblocks.Models.RichTextListFields -> Maybe Integer

richTextListElements​

Adds list items, one rich text section per item. Required.

Slackblocks.Models.richTextListElements ::
Slackblocks.Models.RichTextListFields
-> [Slackblocks.Models.RichTextSection]

richTextListExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextListExtensions ::
Slackblocks.Models.RichTextListFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextListIndent​

Sets the list's indentation level. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: rich_text_list.indent.

Slackblocks.Models.richTextListIndent ::
Slackblocks.Models.RichTextListFields -> Maybe Integer

richTextListOffset​

Sets the number of items to skip when numbering an ordered list. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: rich_text_list.offset.

Slackblocks.Models.richTextListOffset ::
Slackblocks.Models.RichTextListFields -> Maybe Integer

richTextListStyle​

Sets whether the list is bulleted or numbered. Required.

Slackblocks.Models.richTextListStyle ::
Slackblocks.Models.RichTextListFields
-> Slackblocks.Models.RichTextListStyle

richTextQuote​

Start editable fields for RichTextQuote; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextQuote to validate before JSON encoding.

Slackblocks.Models.richTextQuote ::
[Slackblocks.Models.RichTextSectionElement]
-> Slackblocks.Models.RichTextQuoteFields

richTextQuoteAsRichTextBlockElement​

Place a checked RichTextQuote in the RichTextBlockElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextQuoteAsRichTextBlockElement ::
Slackblocks.Models.RichTextQuote
-> Slackblocks.Models.RichTextBlockElement

richTextQuoteBorder​

Sets the width of the left border, in pixels. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: rich_text_quote.border.

Slackblocks.Models.richTextQuoteBorder ::
Slackblocks.Models.RichTextQuoteFields -> Maybe Integer

richTextQuoteElements​

Adds inline rich text elements in display order. Required.

Slackblocks.Models.richTextQuoteElements ::
Slackblocks.Models.RichTextQuoteFields
-> [Slackblocks.Models.RichTextSectionElement]

richTextQuoteExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextQuoteExtensions ::
Slackblocks.Models.RichTextQuoteFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextSection​

Start editable fields for RichTextSection; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextSection to validate before JSON encoding.

Slackblocks.Models.richTextSection ::
[Slackblocks.Models.RichTextSectionElement]
-> Slackblocks.Models.RichTextSectionFields

richTextSectionAsRichTextBlockElement​

Place a checked RichTextSection in the RichTextBlockElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextSectionAsRichTextBlockElement ::
Slackblocks.Models.RichTextSection
-> Slackblocks.Models.RichTextBlockElement

richTextSectionElements​

Adds inline rich text elements in display order. Required.

Slackblocks.Models.richTextSectionElements ::
Slackblocks.Models.RichTextSectionFields
-> [Slackblocks.Models.RichTextSectionElement]

richTextSectionExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextSectionExtensions ::
Slackblocks.Models.RichTextSectionFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextText​

Start editable fields for RichTextText; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextText to validate before JSON encoding.

Slackblocks.Models.richTextText ::
Data.Text.Text -> Slackblocks.Models.RichTextTextFields

richTextTextAsRichTextSectionElement​

Place a checked RichTextText in the RichTextSectionElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextTextAsRichTextSectionElement ::
Slackblocks.Models.RichTextText
-> Slackblocks.Models.RichTextSectionElement

richTextTextExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextTextExtensions ::
Slackblocks.Models.RichTextTextFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextTextStyle​

Sets the visual style. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextTextStyle ::
Slackblocks.Models.RichTextTextFields
-> Maybe Slackblocks.Style.RichTextStyle

richTextTextText​

Sets the text content. Required.

Slackblocks.Models.richTextTextText ::
Slackblocks.Models.RichTextTextFields -> Data.Text.Text

richTextUser​

Start editable fields for RichTextUser; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextUser to validate before JSON encoding.

Slackblocks.Models.richTextUser ::
Data.Text.Text -> Slackblocks.Models.RichTextUserFields

richTextUserAsRichTextSectionElement​

Place a checked RichTextUser in the RichTextSectionElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextUserAsRichTextSectionElement ::
Slackblocks.Models.RichTextUser
-> Slackblocks.Models.RichTextSectionElement

richTextUserExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextUserExtensions ::
Slackblocks.Models.RichTextUserFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextUserGroup​

Start editable fields for RichTextUserGroup; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildRichTextUserGroup to validate before JSON encoding.

Slackblocks.Models.richTextUserGroup ::
Data.Text.Text -> Slackblocks.Models.RichTextUserGroupFields

richTextUserGroupAsRichTextSectionElement​

Place a checked RichTextUserGroup in the RichTextSectionElement role. The receiving parent retains its contextual validation.

Slackblocks.Models.richTextUserGroupAsRichTextSectionElement ::
Slackblocks.Models.RichTextUserGroup
-> Slackblocks.Models.RichTextSectionElement

richTextUserGroupExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.richTextUserGroupExtensions ::
Slackblocks.Models.RichTextUserGroupFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

richTextUserGroupStyle​

Sets the visual style. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextUserGroupStyle ::
Slackblocks.Models.RichTextUserGroupFields
-> Maybe Slackblocks.Style.RichTextStyle

richTextUserGroupUserGroupId​

Sets the ID of the mentioned user group. Required.

Slackblocks.Models.richTextUserGroupUserGroupId ::
Slackblocks.Models.RichTextUserGroupFields -> Data.Text.Text

richTextUserStyle​

Sets the visual style. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.richTextUserStyle ::
Slackblocks.Models.RichTextUserFields
-> Maybe Slackblocks.Style.RichTextStyle

richTextUserUserId​

Sets the ID of the mentioned user. Required.

Slackblocks.Models.richTextUserUserId ::
Slackblocks.Models.RichTextUserFields -> Data.Text.Text

selectOption​

Start editable fields for SelectOption; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildSelectOption to validate before JSON encoding.

Slackblocks.Models.selectOption ::
Slackblocks.Models.TextObject
-> Data.Text.Text -> Slackblocks.Models.SelectOptionFields

selectOptionDescription​

Sets supporting text shown below the label. Only rendered by checkboxes and radio buttons. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: option.description.

Slackblocks.Models.selectOptionDescription ::
Slackblocks.Models.SelectOptionFields
-> Maybe Slackblocks.Models.TextObject

selectOptionExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.selectOptionExtensions ::
Slackblocks.Models.SelectOptionFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

selectOptionGroup​

Start editable fields for SelectOptionGroup; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildSelectOptionGroup to validate before JSON encoding.

Slackblocks.Models.selectOptionGroup ::
Slackblocks.Models.PlainText
-> [Slackblocks.Models.SelectOption]
-> Slackblocks.Models.SelectOptionGroupFields

selectOptionGroupExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.selectOptionGroupExtensions ::
Slackblocks.Models.SelectOptionGroupFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

selectOptionGroupLabel​

Sets the group heading. Required. Shared limit: option_group.label.

Slackblocks.Models.selectOptionGroupLabel ::
Slackblocks.Models.SelectOptionGroupFields
-> Slackblocks.Models.PlainText

selectOptionGroupOptions​

Adds selectable options in display order. Required. Shared limit: option_group.options.

Slackblocks.Models.selectOptionGroupOptions ::
Slackblocks.Models.SelectOptionGroupFields
-> [Slackblocks.Models.SelectOption]

selectOptionText​

Sets the option label shown to users. Required. Shared limit: option.text.

Slackblocks.Models.selectOptionText ::
Slackblocks.Models.SelectOptionFields
-> Slackblocks.Models.TextObject

selectOptionUrl​

Sets a URL loaded in the user's browser when an overflow menu option is chosen. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: option.url.

Slackblocks.Models.selectOptionUrl ::
Slackblocks.Models.SelectOptionFields -> Maybe Data.Text.Text

selectOptionValue​

Sets the value sent in interaction payloads when this option is chosen. Required. Shared limit: option.value.

Slackblocks.Models.selectOptionValue ::
Slackblocks.Models.SelectOptionFields -> Data.Text.Text

slackFile​

Start editable fields for SlackFile; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildSlackFile to validate before JSON encoding.

Slackblocks.Models.slackFile :: Slackblocks.Models.SlackFileFields

slackFileExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.slackFileExtensions ::
Slackblocks.Models.SlackFileFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

slackFileId​

Sets the ID of a file previously uploaded to Slack. Cannot be combined with a URL. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.slackFileId ::
Slackblocks.Models.SlackFileFields -> Maybe Data.Text.Text

slackFileUrl​

Sets the URL of a file hosted in Slack. Cannot be combined with an ID. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.slackFileUrl ::
Slackblocks.Models.SlackFileFields -> Maybe Data.Text.Text

slackIcon​

Start editable fields for SlackIcon; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildSlackIcon to validate before JSON encoding.

Slackblocks.Models.slackIcon ::
Data.Text.Text -> Slackblocks.Models.SlackIconFields

slackIconExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.slackIconExtensions ::
Slackblocks.Models.SlackIconFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

slackIconName​

Sets the name of the Slack-provided icon, such as rocket. Required.

Slackblocks.Models.slackIconName ::
Slackblocks.Models.SlackIconFields -> Data.Text.Text

trigger​

Start editable fields for Trigger; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildTrigger to validate before JSON encoding.

Slackblocks.Models.trigger ::
Data.Text.Text -> Slackblocks.Models.TriggerFields

triggerCustomizableInputParameters​

Adds the input values passed to the workflow's trigger. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.triggerCustomizableInputParameters ::
Slackblocks.Models.TriggerFields
-> Maybe [Slackblocks.Models.InputParameter]

triggerExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.triggerExtensions ::
Slackblocks.Models.TriggerFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

triggerUrl​

Sets the link trigger URL. Required.

Slackblocks.Models.triggerUrl ::
Slackblocks.Models.TriggerFields -> Data.Text.Text

urlSource​

Start editable fields for UrlSource; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildUrlSource to validate before JSON encoding.

Slackblocks.Models.urlSource ::
Data.Text.Text
-> Data.Text.Text -> Slackblocks.Models.UrlSourceFields

urlSourceExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.urlSourceExtensions ::
Slackblocks.Models.UrlSourceFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

urlSourceText​

Sets the source link text. Required.

Slackblocks.Models.urlSourceText ::
Slackblocks.Models.UrlSourceFields -> Data.Text.Text

urlSourceUrl​

Sets the source URL. Required.

Slackblocks.Models.urlSourceUrl ::
Slackblocks.Models.UrlSourceFields -> Data.Text.Text

workflow​

Start editable fields for Workflow; required arguments follow the signature. Optional fields start absent except the explicit shared defaults; no block ID is invented. Finish with buildWorkflow to validate before JSON encoding.

Slackblocks.Models.workflow ::
Slackblocks.Models.Trigger -> Slackblocks.Models.WorkflowFields

workflowExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

Slackblocks.Models.workflowExtensions ::
Slackblocks.Models.WorkflowFields
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value

workflowTrigger​

Sets the link trigger that starts the workflow. Required.

Slackblocks.Models.workflowTrigger ::
Slackblocks.Models.WorkflowFields -> Slackblocks.Models.Trigger

RichTextStyle​

Style flags are optional: explicit false is preserved. Each receiving element checks its own allowed flags, including flags supplied as false.

Slackblocks.Style.RichTextStyle ::
Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Slackblocks.Style.RichTextStyle

type Slackblocks.Style.RichTextStyle :: *

richTextStyle​

Empty style with every flag absent. Explicit Just False remains present; the receiving element validates allowed flags.

Slackblocks.Style.richTextStyle :: Slackblocks.Style.RichTextStyle

styleBold​

Bold text. Nothing omits the flag.

Slackblocks.Style.styleBold ::
Slackblocks.Style.RichTextStyle -> Maybe Bool

styleClientHighlight​

Client-specific highlighting on supported mentions. Nothing omits the flag.

Slackblocks.Style.styleClientHighlight ::
Slackblocks.Style.RichTextStyle -> Maybe Bool

styleCode​

Inline code, where accepted by the receiving element. Nothing omits the flag.

Slackblocks.Style.styleCode ::
Slackblocks.Style.RichTextStyle -> Maybe Bool

styleHighlight​

Highlight a supported mention. Nothing omits the flag.

Slackblocks.Style.styleHighlight ::
Slackblocks.Style.RichTextStyle -> Maybe Bool

styleItalic​

Italic text. Nothing omits the flag.

Slackblocks.Style.styleItalic ::
Slackblocks.Style.RichTextStyle -> Maybe Bool

styleStrike​

Strikethrough text. Nothing omits the flag.

Slackblocks.Style.styleStrike ::
Slackblocks.Style.RichTextStyle -> Maybe Bool

Disable linking on a supported mention. Nothing omits the flag.

Slackblocks.Style.styleUnlink ::
Slackblocks.Style.RichTextStyle -> Maybe Bool