import * as slackBolt from "https://deno.land/x/slack_bolt@1.0.0/mod.ts";
Classes
App | A Slack App |
AppInitializationError | |
AuthorizationError | |
ContextMissingPropertyError | |
HTTPReceiver | Receives HTTP requests with Events, Slash Commands, and Actions |
HTTPReceiverDeferredRequestError | |
MemoryStore | Default implementation of ConversationStore, which stores data in memory. |
MultipleListenerError | |
OpineReceiver | Receives HTTP requests with Events, Slash Commands, and Actions |
ReceiverAuthenticityError | |
ReceiverInconsistentStateError | |
ReceiverMultipleAckError | |
SocketModeReceiver | Receives Events, Slash Commands, and Actions of a web socket connection |
UnknownError | |
WorkflowStep | Class |
WorkflowStepInitializationError |
Variables
onlyActions | Middleware that filters out any event that isn't an action |
onlyCommands | Middleware that filters out any event that isn't a command |
onlyEvents | Middleware that filters out any event that isn't an event |
onlyOptions | Middleware that filters out any event that isn't an options |
onlyShortcuts | Middleware that filters out any event that isn't a shortcut |
onlyViewActions | Middleware that filters out any event that isn't a view_submission or view_closed event |
Functions
asCodedError | |
directMention | |
ignoreSelf | |
matchCommandName | Middleware that filters out any command that doesn't match name |
matchConstraints | Middleware that checks for matches given constraints |
matchEventType | |
matchMessage | |
subtype |
Interfaces
AckFn | |
Action | |
ActionConstraints | |
ActionsBlock | |
AllMiddlewareArgs | |
AppHomeOpenedEvent | |
AppMentionEvent | |
AppOptions | App initialization options |
AppRequestedEvent | |
AppUninstalledEvent | |
AttachmentAction | |
Authorize | Authorization function - seeds the middleware processing and listeners with an authorization context |
AuthorizeResult | Authorization function outputs - data that will be available as part of event processing |
AuthorizeSourceData | Authorization function inputs - authenticated data about an event for the authorization function |
BasicElementAction | Any action from Slack's interactive elements |
BasicSlackEvent | Any event in Slack's Events API |
Block | |
BlockAction | A Slack Block Kit element action wrapped in the standard metadata. |
BotMessageEvent | |
Button | |
ButtonAction | An action from a button element |
ButtonClick | A button click action from a legacy interactive message. |
CallRejectedEvent | |
CallUserExternal | |
CallUserSlack | |
ChannelArchiveEvent | |
ChannelCreatedEvent | |
ChannelDeletedEvent | |
ChannelHistoryChangedEvent | |
ChannelIDChangedEvent | |
ChannelLeftEvent | |
ChannelRenameEvent | |
ChannelSharedEvent | |
ChannelsSelect | |
ChannelsSelectAction | An action from a select menu with channels list |
ChannelUnarchiveEvent | |
ChannelUnsharedEvent | |
Checkboxes | |
CheckboxesAction | An action from a checkboxes element |
CodedError | |
Confirm | |
Confirmation | |
ContextBlock | |
ConversationsSelect | |
ConversationsSelectAction | An action from a select menu with conversations list |
ConversationStore | Storage backend used by the conversation context middleware |
Datepicker | |
DatepickerAction | An action from a date picker element |
Dialog | |
DialogSubmitAction | A Slack dialog submit action wrapped in the standard metadata. |
DialogValidation | A Slack dialog submission validation response. Use an object of this type to describe errors regarding inputs that were part of the submission. |
DispatchActionConfig | |
DividerBlock | |
DNDUpdatedEvent | |
DNDUpdatedUserEvent | |
EmailDomainChangedEvent | |
EmojiChangedEvent | |
ExternalSelect | |
ExternalSelectAction | An action from a select menu with external data source |
FileBlock | |
FileChangeEvent | |
FileCommentDeletedEvent | |
FileCreatedEvent | |
FileDeletedEvent | |
FilePublicEvent | |
FileSharedEvent | |
FileUnsharedEvent | |
GenericMessageEvent | |
GlobalShortcut | A Slack global shortcut wrapped in the standard metadata. |
GridMigrationFinishedEvent | |
GridMigrationStartedEvent | |
GroupArchiveEvent | |
GroupCloseEvent | |
GroupDeletedEvent | |
GroupHistoryChangedEvent | |
GroupLeftEvent | |
GroupOpenEvent | |
GroupRenameEvent | |
GroupUnarchiveEvent | |
HeaderBlock | |
HTTPReceiverOptions | |
ImageBlock | |
ImageElement | |
IMCloseEvent | |
IMCreatedEvent | |
IMHistoryChangedEvent | |
IMOpenEvent | |
InputBlock | |
Installation | An individual installation of the Slack app. |
InstallationQuery | |
InstallationStore | |
InstallProviderOptions | |
InstallURLOptions | |
InteractiveMessage | A Slack legacy interactive message action wrapped in the standard metadata. |
InviteRequestedEvent | |
LinkSharedEvent | |
LinkUnfurls | |
Logger | Interface for objects where objects in this package's logs can be sent (can be used as |
MemberJoinedChannelEvent | |
MemberLeftChannelEvent | |
MenuSelect | A menu selection action from a legacy interactive message. |
MessageAttachment | |
MessageShortcut | A Slack message action wrapped in the standard metadata. |
Middleware | |
MrkdwnElement | |
MultiChannelsSelect | |
MultiChannelsSelectAction | An action from a multi select menu with channels list |
MultiConversationsSelect | |
MultiConversationsSelectAction | An action from a multi select menu with conversations list |
MultiExternalSelect | |
MultiExternalSelectAction | An action from a multi select menu with external data source |
MultiStaticSelect | |
MultiStaticSelectAction | An action from a multi select menu with static options |
MultiUsersSelect | |
MultiUsersSelectAction | An action from a multi select menu with user list |
OpineReceiverOptions | |
Option | |
OptionField | |
OptionsRequest | A request for options for a select menu with an external data source, wrapped in the standard metadata. The menu can have a source of Slack's Block Kit external select elements, dialogs, or legacy interactive components. |
Overflow | |
OverflowAction | An action from an overflow menu element |
PinAddedEvent | |
PinRemovedEvent | |
PlainTextElement | |
PlainTextInput | |
RadioButtons | |
RadioButtonsAction | An action from a radio button element |
ReactionAddedEvent | |
ReactionFileCommentItem | |
ReactionFileItem | |
ReactionMessageItem | |
ReactionRemovedEvent | |
Receiver | |
ReceiverEvent | |
RespondFn | |
SayFn | |
SectionBlock | |
SelectOption | |
SlackActionMiddlewareArgs | Arguments which listeners and middleware receive to process an action from Slack's Block Kit interactive components, message actions, dialogs, or legacy interactive messages. |
SlackCommandMiddlewareArgs | Arguments which listeners and middleware receive to process a slash command from Slack. |
SlackEventMiddlewareArgs | Arguments which listeners and middleware receive to process an event from Slack's Events API. |
SlackOptionsMiddlewareArgs | Arguments which listeners and middleware receive to process an options request from Slack |
SlackShortcutMiddlewareArgs | Arguments which listeners and middleware receive to process a shortcut from Slack. |
SlackViewMiddlewareArgs | Arguments which listeners and middleware receive to process a view submission event from Slack. |
SlashCommand | A Slack slash command |
SocketModeReceiverOptions | |
StarAddedEvent | |
StarRemovedEvent | |
StateStore | |
StaticSelect | |
StaticSelectAction | An action from a select menu with static options |
SubteamCreated | |
SubteamMembersChanged | |
SubteamSelfAddedEvent | |
SubteamSelfRemovedEvent | |
SubteamUpdatedEvent | |
TeamDomainChangedEvent | |
TeamJoinEvent | |
TeamRenameEvent | |
TokensRevokedEvent | |
UserChangeEvent | |
UsersSelect | |
UsersSelectAction | An action from a select menu with user list |
View | |
ViewClearResponseAction | |
ViewClosedAction | A Slack view_closed event wrapped in the standard metadata. |
ViewErrorsResponseAction | |
ViewOutput | |
ViewPushResponseAction | |
ViewSubmitAction | A Slack view_submission event wrapped in the standard metadata. |
ViewUpdateResponseAction | |
ViewWorkflowStepClosedAction | A Slack view_closed Workflow Step event |
ViewWorkflowStepSubmitAction | A Slack view_submission Workflow Step event |
WorkflowDeletedEvent | |
WorkflowPublishedEvent | |
WorkflowStepConfig | |
WorkflowStepDeletedEvent | |
WorkflowStepEdit | A Slack workflow step action wrapped in the standard metadata. |
WorkflowStepExecuteEvent | |
WorkflowUnpublishedEvent |