JSON and public types
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 (183)
183 matching entries
- AlertLevel
- AlertLevelDefault
- AlertLevelError
- AlertLevelInfo
- AlertLevelSuccess
- AlertLevelWarning
- Block
- buildPlanTask
- ButtonStyle
- ButtonStyleDanger
- ButtonStylePrimary
- Chart
- ColumnAlign
- ColumnAlignCenter
- ColumnAlignLeft
- ColumnAlignRight
- ContainerWidth
- ContainerWidthFull
- ContainerWidthNarrow
- ContainerWidthStandard
- ContainerWidthWide
- ContextActionsElement
- ContextElement
- DataTableCell
- decimalText
- decode
- Element
- FromSlackJSON
- fromSlackJSON
- fromValue
- IconButtonIcon
- IconButtonIconTrash
- InputElement
- inspectPlanTask
- LayoutAlignment
- LayoutAlignmentCenter
- LayoutAlignmentEnd
- LayoutAlignmentStart
- LayoutChild
- LayoutFallback
- LayoutGridLines
- LayoutGridLinesNone
- LayoutGridLinesOuter
- LayoutGridLinesRows
- LayoutWidth
- LayoutWidthNarrow
- LayoutWidthStandard
- LayoutWidthWide
- matchBlockActionsBlock
- matchBlockAlertBlock
- matchBlockCardBlock
- matchBlockCarouselBlock
- matchBlockContainerBlock
- matchBlockContextActionsBlock
- matchBlockContextBlock
- matchBlockDataTableBlock
- matchBlockDataVisualizationBlock
- matchBlockDividerBlock
- matchBlockFileBlock
- matchBlockHeaderBlock
- matchBlockImageBlock
- matchBlockInputBlock
- matchBlockLayoutBlock
- matchBlockMarkdownBlock
- matchBlockPlanBlock
- matchBlockRichTextBlock
- matchBlockSectionBlock
- matchBlockTableBlock
- matchBlockTaskCardBlock
- matchBlockVideoBlock
- matchChartAreaChart
- matchChartBarChart
- matchChartLineChart
- matchChartPieChart
- matchContextActionsElementFeedbackButtonsElement
- matchContextActionsElementIconButtonElement
- matchContextElementImageElement
- matchContextElementMarkdownText
- matchContextElementPlainText
- matchDataTableCellRawNumber
- matchDataTableCellRawText
- matchDataTableCellRichTextBlock
- matchElementButtonElement
- matchElementChannelMultiSelectElement
- matchElementChannelSelectElement
- matchElementCheckboxesElement
- matchElementConversationMultiSelectElement
- matchElementConversationSelectElement
- matchElementDatePickerElement
- matchElementDateTimePickerElement
- matchElementEmailInputElement
- matchElementExternalMultiSelectElement
- matchElementExternalSelectElement
- matchElementFeedbackButtonsElement
- matchElementFileInputElement
- matchElementIconButtonElement
- matchElementImageElement
- matchElementNumberInputElement
- matchElementOverflowElement
- matchElementPlainTextInputElement
- matchElementRadioButtonsElement
- matchElementRichTextInputElement
- matchElementStaticMultiSelectElement
- matchElementStaticSelectElement
- matchElementTimePickerElement
- matchElementUrlInputElement
- matchElementUserMultiSelectElement
- matchElementUserSelectElement
- matchElementWorkflowButtonElement
- matchInputElementChannelMultiSelectElement
- matchInputElementChannelSelectElement
- matchInputElementCheckboxesElement
- matchInputElementConversationMultiSelectElement
- matchInputElementConversationSelectElement
- matchInputElementDatePickerElement
- matchInputElementDateTimePickerElement
- matchInputElementEmailInputElement
- matchInputElementExternalMultiSelectElement
- matchInputElementExternalSelectElement
- matchInputElementFileInputElement
- matchInputElementNumberInputElement
- matchInputElementPlainTextInputElement
- matchInputElementRadioButtonsElement
- matchInputElementRichTextInputElement
- matchInputElementStaticMultiSelectElement
- matchInputElementStaticSelectElement
- matchInputElementTimePickerElement
- matchInputElementUrlInputElement
- matchInputElementUserMultiSelectElement
- matchInputElementUserSelectElement
- matchLayoutChildActionsBlock
- matchLayoutChildAlertBlock
- matchLayoutChildCardBlock
- matchLayoutChildCarouselBlock
- matchLayoutChildContainerBlock
- matchLayoutChildContextBlock
- matchLayoutChildDataTableBlock
- matchLayoutChildDataVisualizationBlock
- matchLayoutChildDividerBlock
- matchLayoutChildFileBlock
- matchLayoutChildHeaderBlock
- matchLayoutChildImageBlock
- matchLayoutChildInputBlock
- matchLayoutChildRichTextBlock
- matchLayoutChildSectionBlock
- matchLayoutChildTableBlock
- matchLayoutChildVideoBlock
- matchLayoutFallbackContextBlock
- matchLayoutFallbackDividerBlock
- matchLayoutFallbackHeaderBlock
- matchLayoutFallbackImageBlock
- matchLayoutFallbackRichTextBlock
- matchLayoutFallbackSectionBlock
- matchLayoutFallbackTableBlock
- matchLayoutFallbackVideoBlock
- matchRichTextBlockElementRichTextCodeBlock
- matchRichTextBlockElementRichTextList
- matchRichTextBlockElementRichTextQuote
- matchRichTextBlockElementRichTextSection
- matchRichTextSectionElementRichTextChannel
- matchRichTextSectionElementRichTextEmoji
- matchRichTextSectionElementRichTextLink
- matchRichTextSectionElementRichTextText
- matchRichTextSectionElementRichTextUser
- matchRichTextSectionElementRichTextUserGroup
- matchTableCellRawNumber
- matchTableCellRawText
- matchTableCellRichTextBlock
- matchTextObjectMarkdownText
- matchTextObjectPlainText
- packageVersion
- PlanTask
- ResponseType
- ResponseTypeEphemeral
- ResponseTypeInChannel
- specVersion
- TableCell
- TaskStatus
- TaskStatusComplete
- TaskStatusError
- TaskStatusInProgress
- TaskStatusPending
- TextObject
AlertLevel
Severity levels supported by alert blocks.
type Slackblocks.Models.AlertLevel :: *
AlertLevelDefault
Slack wire value: default.
Slackblocks.Models.AlertLevelDefault ::
Slackblocks.Models.AlertLevel
AlertLevelError
Slack wire value: error.
Slackblocks.Models.AlertLevelError :: Slackblocks.Models.AlertLevel
AlertLevelInfo
Slack wire value: info.
Slackblocks.Models.AlertLevelInfo :: Slackblocks.Models.AlertLevel
AlertLevelSuccess
Slack wire value: success.
Slackblocks.Models.AlertLevelSuccess ::
Slackblocks.Models.AlertLevel
AlertLevelWarning
Slack wire value: warning.
Slackblocks.Models.AlertLevelWarning ::
Slackblocks.Models.AlertLevel
Block
Closed role: only checked members may enter this position.
type Slackblocks.Models.Block :: *
buildPlanTask
Check a task for a plan, where pending is allowed. This value cannot enter the Block role.
Slackblocks.Models.buildPlanTask ::
Slackblocks.Models.TaskCardBlockFields
-> Slackblocks.Validation.Result Slackblocks.Models.PlanTask
ButtonStyle
Visual emphasis for buttons and confirmation dialogs.
type Slackblocks.Models.ButtonStyle :: *
ButtonStyleDanger
Slack wire value: danger.
Slackblocks.Models.ButtonStyleDanger ::
Slackblocks.Models.ButtonStyle
ButtonStylePrimary
Slack wire value: primary.
Slackblocks.Models.ButtonStylePrimary ::
Slackblocks.Models.ButtonStyle
Chart
Closed role: only checked members may enter this position.
type Slackblocks.Models.Chart :: *
ColumnAlign
Horizontal alignment for table columns.
type Slackblocks.Models.ColumnAlign :: *
ColumnAlignCenter
Slack wire value: center.
Slackblocks.Models.ColumnAlignCenter ::
Slackblocks.Models.ColumnAlign
ColumnAlignLeft
Slack wire value: left.
Slackblocks.Models.ColumnAlignLeft ::
Slackblocks.Models.ColumnAlign
ColumnAlignRight
Slack wire value: right.
Slackblocks.Models.ColumnAlignRight ::
Slackblocks.Models.ColumnAlign
ContainerWidth
Widths supported by Slack container blocks.
type Slackblocks.Models.ContainerWidth :: *
ContainerWidthFull
Slack wire value: full.
Slackblocks.Models.ContainerWidthFull ::
Slackblocks.Models.ContainerWidth
ContainerWidthNarrow
Slack wire value: narrow.
Slackblocks.Models.ContainerWidthNarrow ::
Slackblocks.Models.ContainerWidth
ContainerWidthStandard
Slack wire value: standard.
Slackblocks.Models.ContainerWidthStandard ::
Slackblocks.Models.ContainerWidth
ContainerWidthWide
Slack wire value: wide.
Slackblocks.Models.ContainerWidthWide ::
Slackblocks.Models.ContainerWidth
ContextActionsElement
Closed role: only checked members may enter this position.
type Slackblocks.Models.ContextActionsElement :: *
ContextElement
Closed role: only checked members may enter this position.
type Slackblocks.Models.ContextElement :: *
DataTableCell
Closed role: only checked members may enter this position.
type Slackblocks.Models.DataTableCell :: *
decimalText
Exact numeric convenience for a number-input bound. No binary floating-point conversion is performed; the wire representation remains a decimal string.
Slackblocks.Json.decimalText ::
Data.Scientific.Scientific -> Data.Text.Text
decode
Decode UTF-8 JSON bytes, rejecting duplicate keys, trailing input, numeric exponent overflow in Aeson's Scientific representation and invalid modeled values.
Slackblocks.Json.decode ::
Slackblocks.Json.FromSlackJSON a =>
Data.ByteString.Lazy.ByteString -> Slackblocks.Validation.Result a
Element
Closed role: only checked members may enter this position.
type Slackblocks.Models.Element :: *
FromSlackJSON
Validate an Aeson value as a supported modeled type. It is not an arbitrary Slack event parser.
type Slackblocks.Json.FromSlackJSON :: * -> Constraint
fromSlackJSON
Check nested fields and receiving context; return structured validation errors.
Slackblocks.Json.fromSlackJSON ::
Slackblocks.Json.FromSlackJSON a =>
Data.Aeson.Value -> Slackblocks.Validation.Result a
fromValue
Validate an already parsed value. Use decode to retain duplicate-key and UTF-8 checks on raw bytes.
Slackblocks.Json.fromValue ::
Slackblocks.Json.FromSlackJSON a =>
Data.Aeson.Value -> Slackblocks.Validation.Result a
IconButtonIcon
Icons supported by icon buttons.
type Slackblocks.Models.IconButtonIcon :: *
IconButtonIconTrash
Slack wire value: trash.
Slackblocks.Models.IconButtonIconTrash ::
Slackblocks.Models.IconButtonIcon
InputElement
Closed role: only checked members may enter this position.
type Slackblocks.Models.InputElement :: *
inspectPlanTask
Inspect a plan task; call buildPlanTask after editing its fields.
Slackblocks.Models.inspectPlanTask ::
Slackblocks.Models.PlanTask
-> Slackblocks.Models.TaskCardBlockFields
LayoutAlignment
Direction-aware alignment within a layout item. Omit for fill behavior.
type Slackblocks.Models.LayoutAlignment :: *
LayoutAlignmentCenter
Slack wire value: center.
Slackblocks.Models.LayoutAlignmentCenter ::
Slackblocks.Models.LayoutAlignment
LayoutAlignmentEnd
Slack wire value: end.
Slackblocks.Models.LayoutAlignmentEnd ::
Slackblocks.Models.LayoutAlignment
LayoutAlignmentStart
Slack wire value: start.
Slackblocks.Models.LayoutAlignmentStart ::
Slackblocks.Models.LayoutAlignment
LayoutChild
Closed role: only checked members may enter this position.
type Slackblocks.Models.LayoutChild :: *
LayoutFallback
Closed role: only checked members may enter this position.
type Slackblocks.Models.LayoutFallback :: *
LayoutGridLines
Layout borders: none, outer border with horizontal row dividers, or outer border only.
type Slackblocks.Models.LayoutGridLines :: *
LayoutGridLinesNone
Slack wire value: none.
Slackblocks.Models.LayoutGridLinesNone ::
Slackblocks.Models.LayoutGridLines
LayoutGridLinesOuter
Slack wire value: outer.
Slackblocks.Models.LayoutGridLinesOuter ::
Slackblocks.Models.LayoutGridLines
LayoutGridLinesRows
Slack wire value: rows.
Slackblocks.Models.LayoutGridLinesRows ::
Slackblocks.Models.LayoutGridLines
LayoutWidth
Relative layout item weights: narrow is 1, standard is 2, and wide is 3.
type Slackblocks.Models.LayoutWidth :: *
LayoutWidthNarrow
Slack wire value: narrow.
Slackblocks.Models.LayoutWidthNarrow ::
Slackblocks.Models.LayoutWidth
LayoutWidthStandard
Slack wire value: standard.
Slackblocks.Models.LayoutWidthStandard ::
Slackblocks.Models.LayoutWidth
LayoutWidthWide
Slack wire value: wide.
Slackblocks.Models.LayoutWidthWide ::
Slackblocks.Models.LayoutWidth
matchBlockActionsBlock
Return the ActionsBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockActionsBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.ActionsBlock
matchBlockAlertBlock
Return the AlertBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockAlertBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.AlertBlock
matchBlockCardBlock
Return the CardBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockCardBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.CardBlock
matchBlockCarouselBlock
Return the CarouselBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockCarouselBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.CarouselBlock
matchBlockContainerBlock
Return the ContainerBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockContainerBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.ContainerBlock
matchBlockContextActionsBlock
Return the ContextActionsBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockContextActionsBlock ::
Slackblocks.Models.Block
-> Maybe Slackblocks.Models.ContextActionsBlock
matchBlockContextBlock
Return the ContextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockContextBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.ContextBlock
matchBlockDataTableBlock
Return the DataTableBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockDataTableBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.DataTableBlock
matchBlockDataVisualizationBlock
Return the DataVisualizationBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockDataVisualizationBlock ::
Slackblocks.Models.Block
-> Maybe Slackblocks.Models.DataVisualizationBlock
matchBlockDividerBlock
Return the DividerBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockDividerBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.DividerBlock
matchBlockFileBlock
Return the FileBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockFileBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.FileBlock
matchBlockHeaderBlock
Return the HeaderBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockHeaderBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.HeaderBlock
matchBlockImageBlock
Return the ImageBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockImageBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.ImageBlock
matchBlockInputBlock
Return the InputBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockInputBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.InputBlock
matchBlockLayoutBlock
Return the LayoutBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockLayoutBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.LayoutBlock
matchBlockMarkdownBlock
Return the MarkdownBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockMarkdownBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.MarkdownBlock
matchBlockPlanBlock
Return the PlanBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockPlanBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.PlanBlock
matchBlockRichTextBlock
Return the RichTextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockRichTextBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.RichTextBlock
matchBlockSectionBlock
Return the SectionBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockSectionBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.SectionBlock
matchBlockTableBlock
Return the TableBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockTableBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.TableBlock
matchBlockTaskCardBlock
Return the TaskCardBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockTaskCardBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.TaskCardBlock
matchBlockVideoBlock
Return the VideoBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchBlockVideoBlock ::
Slackblocks.Models.Block -> Maybe Slackblocks.Models.VideoBlock
matchChartAreaChart
Return the AreaChart member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchChartAreaChart ::
Slackblocks.Models.Chart -> Maybe Slackblocks.Models.AreaChart
matchChartBarChart
Return the BarChart member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchChartBarChart ::
Slackblocks.Models.Chart -> Maybe Slackblocks.Models.BarChart
matchChartLineChart
Return the LineChart member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchChartLineChart ::
Slackblocks.Models.Chart -> Maybe Slackblocks.Models.LineChart
matchChartPieChart
Return the PieChart member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchChartPieChart ::
Slackblocks.Models.Chart -> Maybe Slackblocks.Models.PieChart
matchContextActionsElementFeedbackButtonsElement
Return the FeedbackButtonsElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchContextActionsElementFeedbackButtonsElement ::
Slackblocks.Models.ContextActionsElement
-> Maybe Slackblocks.Models.FeedbackButtonsElement
matchContextActionsElementIconButtonElement
Return the IconButtonElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchContextActionsElementIconButtonElement ::
Slackblocks.Models.ContextActionsElement
-> Maybe Slackblocks.Models.IconButtonElement
matchContextElementImageElement
Return the ImageElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchContextElementImageElement ::
Slackblocks.Models.ContextElement
-> Maybe Slackblocks.Models.ImageElement
matchContextElementMarkdownText
Return the MarkdownText member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchContextElementMarkdownText ::
Slackblocks.Models.ContextElement
-> Maybe Slackblocks.Models.MarkdownText
matchContextElementPlainText
Return the PlainText member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchContextElementPlainText ::
Slackblocks.Models.ContextElement
-> Maybe Slackblocks.Models.PlainText
matchDataTableCellRawNumber
Return the RawNumber member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchDataTableCellRawNumber ::
Slackblocks.Models.DataTableCell
-> Maybe Slackblocks.Models.RawNumber
matchDataTableCellRawText
Return the RawText member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchDataTableCellRawText ::
Slackblocks.Models.DataTableCell
-> Maybe Slackblocks.Models.RawText
matchDataTableCellRichTextBlock
Return the RichTextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchDataTableCellRichTextBlock ::
Slackblocks.Models.DataTableCell
-> Maybe Slackblocks.Models.RichTextBlock
matchElementButtonElement
Return the ButtonElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementButtonElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.ButtonElement
matchElementChannelMultiSelectElement
Return the ChannelMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementChannelMultiSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.ChannelMultiSelectElement
matchElementChannelSelectElement
Return the ChannelSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementChannelSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.ChannelSelectElement
matchElementCheckboxesElement
Return the CheckboxesElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementCheckboxesElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.CheckboxesElement
matchElementConversationMultiSelectElement
Return the ConversationMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementConversationMultiSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.ConversationMultiSelectElement
matchElementConversationSelectElement
Return the ConversationSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementConversationSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.ConversationSelectElement
matchElementDatePickerElement
Return the DatePickerElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementDatePickerElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.DatePickerElement
matchElementDateTimePickerElement
Return the DateTimePickerElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementDateTimePickerElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.DateTimePickerElement
matchElementEmailInputElement
Return the EmailInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementEmailInputElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.EmailInputElement
matchElementExternalMultiSelectElement
Return the ExternalMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementExternalMultiSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.ExternalMultiSelectElement
matchElementExternalSelectElement
Return the ExternalSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementExternalSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.ExternalSelectElement
matchElementFeedbackButtonsElement
Return the FeedbackButtonsElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementFeedbackButtonsElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.FeedbackButtonsElement
matchElementFileInputElement
Return the FileInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementFileInputElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.FileInputElement
matchElementIconButtonElement
Return the IconButtonElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementIconButtonElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.IconButtonElement
matchElementImageElement
Return the ImageElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementImageElement ::
Slackblocks.Models.Element -> Maybe Slackblocks.Models.ImageElement
matchElementNumberInputElement
Return the NumberInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementNumberInputElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.NumberInputElement
matchElementOverflowElement
Return the OverflowElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementOverflowElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.OverflowElement
matchElementPlainTextInputElement
Return the PlainTextInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementPlainTextInputElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.PlainTextInputElement
matchElementRadioButtonsElement
Return the RadioButtonsElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementRadioButtonsElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.RadioButtonsElement
matchElementRichTextInputElement
Return the RichTextInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementRichTextInputElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.RichTextInputElement
matchElementStaticMultiSelectElement
Return the StaticMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementStaticMultiSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.StaticMultiSelectElement
matchElementStaticSelectElement
Return the StaticSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementStaticSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.StaticSelectElement
matchElementTimePickerElement
Return the TimePickerElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementTimePickerElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.TimePickerElement
matchElementUrlInputElement
Return the UrlInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementUrlInputElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.UrlInputElement
matchElementUserMultiSelectElement
Return the UserMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementUserMultiSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.UserMultiSelectElement
matchElementUserSelectElement
Return the UserSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementUserSelectElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.UserSelectElement
matchElementWorkflowButtonElement
Return the WorkflowButtonElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchElementWorkflowButtonElement ::
Slackblocks.Models.Element
-> Maybe Slackblocks.Models.WorkflowButtonElement
matchInputElementChannelMultiSelectElement
Return the ChannelMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementChannelMultiSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.ChannelMultiSelectElement
matchInputElementChannelSelectElement
Return the ChannelSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementChannelSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.ChannelSelectElement
matchInputElementCheckboxesElement
Return the CheckboxesElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementCheckboxesElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.CheckboxesElement
matchInputElementConversationMultiSelectElement
Return the ConversationMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementConversationMultiSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.ConversationMultiSelectElement
matchInputElementConversationSelectElement
Return the ConversationSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementConversationSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.ConversationSelectElement
matchInputElementDatePickerElement
Return the DatePickerElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementDatePickerElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.DatePickerElement
matchInputElementDateTimePickerElement
Return the DateTimePickerElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementDateTimePickerElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.DateTimePickerElement
matchInputElementEmailInputElement
Return the EmailInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementEmailInputElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.EmailInputElement
matchInputElementExternalMultiSelectElement
Return the ExternalMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementExternalMultiSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.ExternalMultiSelectElement
matchInputElementExternalSelectElement
Return the ExternalSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementExternalSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.ExternalSelectElement
matchInputElementFileInputElement
Return the FileInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementFileInputElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.FileInputElement
matchInputElementNumberInputElement
Return the NumberInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementNumberInputElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.NumberInputElement
matchInputElementPlainTextInputElement
Return the PlainTextInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementPlainTextInputElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.PlainTextInputElement
matchInputElementRadioButtonsElement
Return the RadioButtonsElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementRadioButtonsElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.RadioButtonsElement
matchInputElementRichTextInputElement
Return the RichTextInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementRichTextInputElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.RichTextInputElement
matchInputElementStaticMultiSelectElement
Return the StaticMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementStaticMultiSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.StaticMultiSelectElement
matchInputElementStaticSelectElement
Return the StaticSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementStaticSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.StaticSelectElement
matchInputElementTimePickerElement
Return the TimePickerElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementTimePickerElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.TimePickerElement
matchInputElementUrlInputElement
Return the UrlInputElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementUrlInputElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.UrlInputElement
matchInputElementUserMultiSelectElement
Return the UserMultiSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementUserMultiSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.UserMultiSelectElement
matchInputElementUserSelectElement
Return the UserSelectElement member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchInputElementUserSelectElement ::
Slackblocks.Models.InputElement
-> Maybe Slackblocks.Models.UserSelectElement
matchLayoutChildActionsBlock
Return the ActionsBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildActionsBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.ActionsBlock
matchLayoutChildAlertBlock
Return the AlertBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildAlertBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.AlertBlock
matchLayoutChildCardBlock
Return the CardBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildCardBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.CardBlock
matchLayoutChildCarouselBlock
Return the CarouselBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildCarouselBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.CarouselBlock
matchLayoutChildContainerBlock
Return the ContainerBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildContainerBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.ContainerBlock
matchLayoutChildContextBlock
Return the ContextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildContextBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.ContextBlock
matchLayoutChildDataTableBlock
Return the DataTableBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildDataTableBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.DataTableBlock
matchLayoutChildDataVisualizationBlock
Return the DataVisualizationBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildDataVisualizationBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.DataVisualizationBlock
matchLayoutChildDividerBlock
Return the DividerBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildDividerBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.DividerBlock
matchLayoutChildFileBlock
Return the FileBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildFileBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.FileBlock
matchLayoutChildHeaderBlock
Return the HeaderBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildHeaderBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.HeaderBlock
matchLayoutChildImageBlock
Return the ImageBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildImageBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.ImageBlock
matchLayoutChildInputBlock
Return the InputBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildInputBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.InputBlock
matchLayoutChildRichTextBlock
Return the RichTextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildRichTextBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.RichTextBlock
matchLayoutChildSectionBlock
Return the SectionBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildSectionBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.SectionBlock
matchLayoutChildTableBlock
Return the TableBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildTableBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.TableBlock
matchLayoutChildVideoBlock
Return the VideoBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutChildVideoBlock ::
Slackblocks.Models.LayoutChild
-> Maybe Slackblocks.Models.VideoBlock
matchLayoutFallbackContextBlock
Return the ContextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackContextBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.ContextBlock
matchLayoutFallbackDividerBlock
Return the DividerBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackDividerBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.DividerBlock
matchLayoutFallbackHeaderBlock
Return the HeaderBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackHeaderBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.HeaderBlock
matchLayoutFallbackImageBlock
Return the ImageBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackImageBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.ImageBlock
matchLayoutFallbackRichTextBlock
Return the RichTextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackRichTextBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.RichTextBlock
matchLayoutFallbackSectionBlock
Return the SectionBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackSectionBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.SectionBlock
matchLayoutFallbackTableBlock
Return the TableBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackTableBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.TableBlock
matchLayoutFallbackVideoBlock
Return the VideoBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchLayoutFallbackVideoBlock ::
Slackblocks.Models.LayoutFallback
-> Maybe Slackblocks.Models.VideoBlock
matchRichTextBlockElementRichTextCodeBlock
Return the RichTextCodeBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextBlockElementRichTextCodeBlock ::
Slackblocks.Models.RichTextBlockElement
-> Maybe Slackblocks.Models.RichTextCodeBlock
matchRichTextBlockElementRichTextList
Return the RichTextList member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextBlockElementRichTextList ::
Slackblocks.Models.RichTextBlockElement
-> Maybe Slackblocks.Models.RichTextList
matchRichTextBlockElementRichTextQuote
Return the RichTextQuote member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextBlockElementRichTextQuote ::
Slackblocks.Models.RichTextBlockElement
-> Maybe Slackblocks.Models.RichTextQuote
matchRichTextBlockElementRichTextSection
Return the RichTextSection member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextBlockElementRichTextSection ::
Slackblocks.Models.RichTextBlockElement
-> Maybe Slackblocks.Models.RichTextSection
matchRichTextSectionElementRichTextChannel
Return the RichTextChannel member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextSectionElementRichTextChannel ::
Slackblocks.Models.RichTextSectionElement
-> Maybe Slackblocks.Models.RichTextChannel
matchRichTextSectionElementRichTextEmoji
Return the RichTextEmoji member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextSectionElementRichTextEmoji ::
Slackblocks.Models.RichTextSectionElement
-> Maybe Slackblocks.Models.RichTextEmoji
matchRichTextSectionElementRichTextLink
Return the RichTextLink member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextSectionElementRichTextLink ::
Slackblocks.Models.RichTextSectionElement
-> Maybe Slackblocks.Models.RichTextLink
matchRichTextSectionElementRichTextText
Return the RichTextText member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextSectionElementRichTextText ::
Slackblocks.Models.RichTextSectionElement
-> Maybe Slackblocks.Models.RichTextText
matchRichTextSectionElementRichTextUser
Return the RichTextUser member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextSectionElementRichTextUser ::
Slackblocks.Models.RichTextSectionElement
-> Maybe Slackblocks.Models.RichTextUser
matchRichTextSectionElementRichTextUserGroup
Return the RichTextUserGroup member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchRichTextSectionElementRichTextUserGroup ::
Slackblocks.Models.RichTextSectionElement
-> Maybe Slackblocks.Models.RichTextUserGroup
matchTableCellRawNumber
Return the RawNumber member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchTableCellRawNumber ::
Slackblocks.Models.TableCell -> Maybe Slackblocks.Models.RawNumber
matchTableCellRawText
Return the RawText member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchTableCellRawText ::
Slackblocks.Models.TableCell -> Maybe Slackblocks.Models.RawText
matchTableCellRichTextBlock
Return the RichTextBlock member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchTableCellRichTextBlock ::
Slackblocks.Models.TableCell
-> Maybe Slackblocks.Models.RichTextBlock
matchTextObjectMarkdownText
Return the MarkdownText member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchTextObjectMarkdownText ::
Slackblocks.Models.TextObject
-> Maybe Slackblocks.Models.MarkdownText
matchTextObjectPlainText
Return the PlainText member when present, otherwise Nothing; no unchecked cast.
Slackblocks.Models.matchTextObjectPlainText ::
Slackblocks.Models.TextObject -> Maybe Slackblocks.Models.PlainText
packageVersion
Coordinated package version, distinct from the shared contract.
Slackblocks.Models.packageVersion :: Data.Text.Text
PlanTask
A task in a plan. Unlike a standalone task card, it may be pending.
type Slackblocks.Models.PlanTask :: *
ResponseType
Visibility of a slash-command or interaction response.
type Slackblocks.Models.ResponseType :: *
ResponseTypeEphemeral
Slack wire value: ephemeral.
Slackblocks.Models.ResponseTypeEphemeral ::
Slackblocks.Models.ResponseType
ResponseTypeInChannel
Slack wire value: in_channel.
Slackblocks.Models.ResponseTypeInChannel ::
Slackblocks.Models.ResponseType
specVersion
Shared Block Kit contract version implemented by this package.
Slackblocks.Models.specVersion :: Data.Text.Text
TableCell
Closed role: only checked members may enter this position.
type Slackblocks.Models.TableCell :: *
TaskStatus
States supported by task card blocks.
type Slackblocks.Models.TaskStatus :: *
TaskStatusComplete
Slack wire value: complete.
Slackblocks.Models.TaskStatusComplete ::
Slackblocks.Models.TaskStatus
TaskStatusError
Slack wire value: error.
Slackblocks.Models.TaskStatusError :: Slackblocks.Models.TaskStatus
TaskStatusInProgress
Slack wire value: in_progress.
Slackblocks.Models.TaskStatusInProgress ::
Slackblocks.Models.TaskStatus
TaskStatusPending
Slack wire value: pending.
Slackblocks.Models.TaskStatusPending ::
Slackblocks.Models.TaskStatus
TextObject
Closed role: only checked members may enter this position.
type Slackblocks.Models.TextObject :: *