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.

Find a native type or function (338)

338 matching entries

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 :: *

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

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 :: *

areaChartSeries​

Adds data series in display order. Series names must be unique. Required. Shared limit: data_visualization.series (min items: 1, max items: 12).

Slackblocks.Models.areaChartSeries ::
Slackblocks.Models.AreaChartFields
-> [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

inspectAreaChart​

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

Slackblocks.Models.inspectAreaChart ::
Slackblocks.Models.AreaChart -> 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 :: *

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 (min items: 1, max items: 20).

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

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 :: *

axisConfigXLabel​

Sets the horizontal axis label. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: data_visualization.axis_label (max length: 50).

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 (max length: 50).

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

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

inspectAxisConfig​

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

Slackblocks.Models.inspectAxisConfig ::
Slackblocks.Models.AxisConfig
-> 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 :: *

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

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 :: *

barChartSeries​

Adds data series in display order. Series names must be unique. Required. Shared limit: data_visualization.series (min items: 1, max items: 12).

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

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

inspectBarChart​

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

Slackblocks.Models.inspectBarChart ::
Slackblocks.Models.BarChart -> 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 :: *

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

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

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 :: *

chartSegmentLabel​

Sets the segment label. Required. Shared limit: data_visualization.segment.label (max length: 20).

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

inspectChartSegment​

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

Slackblocks.Models.inspectChartSegment ::
Slackblocks.Models.ChartSegment
-> 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 :: *

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

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

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 :: *

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

inspectColumnSettings​

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

Slackblocks.Models.inspectColumnSettings ::
Slackblocks.Models.ColumnSettings
-> 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 :: *

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

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 (max length: 30).

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 (max length: 30).

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

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 :: *

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 (max length: 300).

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

confirmationDialogueTitle​

Sets the dialog title. Required. Shared limit: confirmation.title (max length: 100).

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

inspectConfirmationDialogue​

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

Slackblocks.Models.inspectConfirmationDialogue ::
Slackblocks.Models.ConfirmationDialogue
-> 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 :: *

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

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

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 :: *

conversationFilterInclude​

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

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

inspectConversationFilter​

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

Slackblocks.Models.inspectConversationFilter ::
Slackblocks.Models.ConversationFilter
-> 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 :: *

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

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

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 :: *

dataPointLabel​

Sets the axis category this point belongs to. Required. Shared limit: data_visualization.point_label (max length: 20).

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

inspectDataPoint​

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

Slackblocks.Models.inspectDataPoint ::
Slackblocks.Models.DataPoint -> 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 :: *

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

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 (min items: 1, max items: 20).

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

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 :: *

dataSeriesName​

Sets the series name shown in the legend. Required. Shared limit: data_visualization.series_name (max length: 20).

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

inspectDataSeries​

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

Slackblocks.Models.inspectDataSeries ::
Slackblocks.Models.DataSeries
-> 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 :: *

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

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

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 :: *

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 (min items: 1, max items: 2).

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

inspectDispatchActionConfiguration​

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

Slackblocks.Models.inspectDispatchActionConfiguration ::
Slackblocks.Models.DispatchActionConfiguration
-> 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 :: *

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

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 (max length: 75).

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

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 :: *

feedbackButtonText​

Sets the button label. Required. Shared limit: feedback_button.text (max length: 75).

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 (max length: 2000).

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

inspectFeedbackButton​

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

Slackblocks.Models.inspectFeedbackButton ::
Slackblocks.Models.FeedbackButton
-> 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 :: *

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

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

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 :: *

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

inspectInputParameter​

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

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

LayoutItem​

One supported child block with a proportional width and optional direction-aware alignment.

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

type Slackblocks.Models.LayoutItem :: *

buildLayoutItem​

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

Slackblocks.Models.buildLayoutItem ::
Slackblocks.Models.LayoutItemFields
-> Slackblocks.Validation.Result Slackblocks.Models.LayoutItem

inspectLayoutItem​

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

Slackblocks.Models.inspectLayoutItem ::
Slackblocks.Models.LayoutItem
-> Slackblocks.Models.LayoutItemFields

layoutItem​

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

Slackblocks.Models.layoutItem ::
Slackblocks.Models.LayoutChild
-> Slackblocks.Models.LayoutItemFields

layoutItemBlock​

Sets the child block. Direct nested layouts and markdown blocks are not supported. Required.

Slackblocks.Models.layoutItemBlock ::
Slackblocks.Models.LayoutItemFields
-> Slackblocks.Models.LayoutChild

layoutItemExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

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

LayoutItemFields​

Editable construction input. Call buildLayoutItem before encoding.

Slackblocks.Models.LayoutItemFields ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.LayoutWidth
-> Maybe Slackblocks.Models.LayoutAlignment
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.LayoutItemFields

type Slackblocks.Models.LayoutItemFields :: *

layoutItemHorizontalAlignment​

Aligns content within the cell. Omission fills the cell; start and end follow text direction. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.layoutItemHorizontalAlignment ::
Slackblocks.Models.LayoutItemFields
-> Maybe Slackblocks.Models.LayoutAlignment

layoutItemWidth​

Sets the relative row weight: narrow 1, standard 2 (default), wide 3. Full is not supported. Optional; Nothing omits the field. Factory default: Nothing.

Slackblocks.Models.layoutItemWidth ::
Slackblocks.Models.LayoutItemFields
-> Maybe Slackblocks.Models.LayoutWidth

LayoutRow​

One to three layout items in reading order. A row has no alignment or discriminator.

https://docs.slack.dev/reference/block-kit/blocks/layout-block At most one carousel, data table, or data visualization may occupy a row. A data visualization must have more than half of the total row weight.

type Slackblocks.Models.LayoutRow :: *

buildLayoutRow​

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

Slackblocks.Models.buildLayoutRow ::
Slackblocks.Models.LayoutRowFields
-> Slackblocks.Validation.Result Slackblocks.Models.LayoutRow

inspectLayoutRow​

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

Slackblocks.Models.inspectLayoutRow ::
Slackblocks.Models.LayoutRow -> Slackblocks.Models.LayoutRowFields

layoutRow​

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

Slackblocks.Models.layoutRow ::
[Slackblocks.Models.LayoutItem]
-> Slackblocks.Models.LayoutRowFields

layoutRowExtensions​

Unmodeled extension fields. Reserved and modeled keys are rejected.

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

LayoutRowFields​

Editable construction input. Call buildLayoutRow before encoding.

Slackblocks.Models.LayoutRowFields ::
[Slackblocks.Models.LayoutItem]
-> Data.Map.Strict.Map Data.Text.Text Data.Aeson.Value
-> Slackblocks.Models.LayoutRowFields

type Slackblocks.Models.LayoutRowFields :: *

layoutRowItems​

Adds one to three items in source order. Required. Shared limit: layout.items (min items: 1, max items: 3).

Slackblocks.Models.layoutRowItems ::
Slackblocks.Models.LayoutRowFields
-> [Slackblocks.Models.LayoutItem]

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 :: *

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

inspectLineChart​

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

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

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

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 :: *

lineChartSeries​

Adds data series in display order. Series names must be unique. Required. Shared limit: data_visualization.series (min items: 1, max items: 12).

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

MarkdownText​

A mrkdwn text composition object.

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

type Slackblocks.Models.MarkdownText :: *

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

inspectMarkdownText​

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

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

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

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 :: *

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​

A pie chart for a data visualization block.

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

type Slackblocks.Models.PieChart :: *

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

inspectPieChart​

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

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

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

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 :: *

pieChartSegments​

Adds pie segments in display order. Required. Shared limit: data_visualization.segments (min items: 1, max items: 12).

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

PlainText​

A plain-text composition object.

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

type Slackblocks.Models.PlainText :: *

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

inspectPlainText​

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

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

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

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 :: *

plainTextText​

Sets the text content. Required.

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

RawNumber​

A numeric table or data table cell with display text.

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

type Slackblocks.Models.RawNumber :: *

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

inspectRawNumber​

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

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

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

rawNumberAsTableCell​

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

Slackblocks.Models.rawNumberAsTableCell ::
Slackblocks.Models.RawNumber -> Slackblocks.Models.TableCell

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

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 :: *

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​

An unformatted table cell.

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

type Slackblocks.Models.RawText :: *

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

inspectRawText​

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

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

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

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 :: *

rawTextText​

Sets the cell text. Required.

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

RichTextChannel​

A channel mention inside rich text.

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

type Slackblocks.Models.RichTextChannel :: *

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

inspectRichTextChannel​

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

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

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

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 :: *

richTextChannelStyle​

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

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

RichTextCodeBlock​

A preformatted code block inside rich text.

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

type Slackblocks.Models.RichTextCodeBlock :: *

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

inspectRichTextCodeBlock​

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

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

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 (min: 0, max: 1).

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

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 :: *

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

inspectRichTextEmoji​

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

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

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

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 :: *

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

A hyperlink inside rich text.

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

type Slackblocks.Models.RichTextLink :: *

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

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

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

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

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 :: *

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​

A bulleted or numbered list inside rich text.

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

type Slackblocks.Models.RichTextList :: *

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

inspectRichTextList​

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

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

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 (min: 0, max: 1).

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

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 :: *

richTextListIndent​

Sets the list's indentation level. Optional; Nothing omits the field. Factory default: Nothing. Shared limit: rich_text_list.indent (min: 0, max: 8).

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 (min: 0).

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

RichTextListStyle​

Marker styles for rich text lists.

type Slackblocks.Models.RichTextListStyle :: *

richTextListStyle​

Sets whether the list is bulleted or numbered. Required.

Slackblocks.Models.richTextListStyle ::
Slackblocks.Models.RichTextListFields
-> 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 :: *

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

inspectRichTextQuote​

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

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

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 (min: 0, max: 1).

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

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 :: *

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

inspectRichTextSection​

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

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

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

RichTextSectionElement​

Closed role: only checked members may enter this position.

type Slackblocks.Models.RichTextSectionElement :: *

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

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 :: *

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

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 :: *

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

inspectRichTextText​

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

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

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

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 :: *

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​

A user mention inside rich text.

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

type Slackblocks.Models.RichTextUser :: *

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

inspectRichTextUser​

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

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

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

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 :: *

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

RichTextUserGroup​

A user group mention inside rich text.

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

type Slackblocks.Models.RichTextUserGroup :: *

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

inspectRichTextUserGroup​

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

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

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

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 :: *

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

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 :: *

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

inspectSelectOption​

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

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

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 (max length: 75).

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

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 :: *

selectOptionText​

Sets the option label shown to users. Required. Shared limit: option.text (max length: 75).

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 (max length: 3000).

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 (max length: 150).

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

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 :: *

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

inspectSelectOptionGroup​

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

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

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

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 :: *

selectOptionGroupLabel​

Sets the group heading. Required. Shared limit: option_group.label (max length: 75).

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

selectOptionGroupOptions​

Adds selectable options in display order. Required. Shared limit: option_group.options (min items: 1, max items: 100).

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

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 :: *

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

inspectSlackFile​

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

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

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

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 :: *

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​

A Slack-provided icon, referenced by name.

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

type Slackblocks.Models.SlackIcon :: *

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

inspectSlackIcon​

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

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

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

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 :: *

slackIconName​

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

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

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

Trigger​

A link trigger that starts a workflow.

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

type Slackblocks.Models.Trigger :: *

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

inspectTrigger​

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

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

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

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 :: *

triggerUrl​

Sets the link trigger URL. Required.

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

UrlSource​

A linked source cited by a task card.

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

type Slackblocks.Models.UrlSource :: *

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

inspectUrlSource​

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

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

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

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 :: *

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​

The workflow started by a workflow button.

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

type Slackblocks.Models.Workflow :: *

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

inspectWorkflow​

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

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

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

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 :: *

workflowTrigger​

Sets the link trigger that starts the workflow. Required.

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