Slackblocks.Objects.ConversationFilter (slackblocks v2.8.0)
View SourceLimits which conversations a conversation menu offers.
Slack reference: https://docs.slack.dev/reference/block-kit/composition-objects/conversation-filter-object
Fields
include— Adds conversation types to offer: im, mpim, private, or public. Optional;nilomits the field.exclude_external_shared_channels— Sets whether externally shared channels are excluded. Optional;nilomits the field.exclude_bot_users— Sets whether bot users are excluded. Optional;nilomits the field.
Summary
Functions
Atomically replaces supplied fields; omitted fields retain their values.
Replaces fields or raises Slackblocks.ValidationError.
Constructs and validates a value. Text conveniences apply to keyword input.
Constructs a value or raises Slackblocks.ValidationError.
Types
Functions
@spec change( t(), keyword() ) :: {:ok, t()} | {:error, Slackblocks.ValidationError.t()}
Atomically replaces supplied fields; omitted fields retain their values.
Replaces fields or raises Slackblocks.ValidationError.
@spec new(keyword()) :: {:ok, t()} | {:error, Slackblocks.ValidationError.t()}
Constructs and validates a value. Text conveniences apply to keyword input.
Constructs a value or raises Slackblocks.ValidationError.