package
0.16.0
Repository: https://github.com/slack-go/slack.git
Documentation: pkg.go.dev

# Functions

OptionNoVerifyToken skips the check of the Slack verification token.
No description provided by the author
No description provided by the author
ParseEvent parses the outer and inner events (if applicable) of an events api event returning a EventsAPIEvent type.

# Constants

AppDeleted is an event when an app is deleted from a workspace.
AppHomeOpened Your Slack app home was opened.
AppInstalled is an event when an app is installed to a workspace.
AppMention is an Events API subscribable event.
AppRateLimited indicates your app's event subscriptions are being rate limited.
AppRequested is an event when a user requests to install an app to a workspace.
AppUninstalled Your Slack app was uninstalled.
AppUninstalledTeam is an event when an app is uninstalled from a team.
AssistantThreadContextChanged Your Slack AI Assistant has changed the context of a thread.
AssistantThreadStarted Your Slack AI Assistant has started a new thread.
CallbackEvent is the "outer" event of an EventsAPI event.
CallRejected is an event when a Slack call is rejected.
ChannelArchive is sent when a channel is archived.
ChannelCreated is sent when a new channel is created.
ChannelDeleted is sent when a channel is deleted.
ChannelHistoryChanged The history of a channel changed.
ChannelIDChanged is sent when a channel identifier is changed.
ChannelLeft is sent when a channel is left.
ChannelRename is sent when a channel is rename.
ChannelShared is an event when a channel is shared with another workspace.
ChannelUnarchive is sent when a channel is unarchived.
CommandsChanged A command was changed.
DndUpdated Do Not Disturb settings were updated.
DndUpdatedUser Do Not Disturb settings for a user were updated.
EmailDomainChanged The email domain changed.
EmojiChanged A custom emoji has been added or changed.
FileChange is sent when a file is changed.
FileCreated is an event when a file is created in a workspace.
FileDeleted is sent when a file is deleted.
FilePublic is an event when a file is made public in a workspace.
FileShared is sent when a file is shared.
FileUnshared is sent when a file is unshared.
FunctionExecuted is an event when a Slack function is executed.
GridMigrationFinished An enterprise grid migration has finished on this workspace.
GridMigrationStarted An enterprise grid migration has started on this workspace.
GroupArchive is sent when a group is archived.
GroupClose A group was closed.
GroupDeleted is sent when a group is deleted.
GroupHistoryChanged The history of a group changed.
GroupLeft is sent when a group is left.
GroupOpen A group was opened.
GroupRename is sent when a group is renamed.
GroupUnarchive is sent when a group is unarchived.
ImClose An instant message channel was closed.
ImCreated An instant message channel was created.
ImHistoryChanged The history of an instant message channel changed.
ImOpen An instant message channel was opened.
InviteRequested is an event when a user requests an invite to a workspace.
LinkShared A message was posted containing one or more links relevant to your application.
MemberJoinedChannel is sent if a member joined a channel.
MemberLeftChannel is sent if a member left a channel.
Message A message was posted to a channel, private channel (group), im, or mim.
MessageMetadataDeleted A message with metadata was deleted.
MessageMetadataPosted A message with metadata was posted.
MessageMetadataUpdated A message with metadata was updated.
PinAdded An item was pinned to a channel.
PinRemoved An item was unpinned from a channel.
ReactionAdded An reaction was added to a message.
ReactionRemoved An reaction was removed from a message.
Slack connect channel invite accepted by an end user.
Slack connect channel invite approved.
Slack connect channel invite declined.
Slack connect app or bot invite received.
SharedChannelInviteRequested is an event when an invitation to share a channel is requested.
StarAdded is an event when a star is added to a message or file.
StarRemoved is an event when a star is removed from a message or file.
SubteamCreated A subteam was created.
SubteamMembersChanged The members of a subteam changed.
SubteamSelfAdded The current user was added to a subteam.
SubteamSelfRemoved The current user was removed from a subteam.
SubteamUpdated A subteam was updated.
TeamAccessGranted is sent if access to teams was granted for your org-wide app.
TeamAccessRevoked is sent if access to teams was revoked for your org-wide app.
TeamDomainChange The team's domain changed.
TeamJoin A new user joined the workspace.
TeamRename The team was renamed.
TokensRevoked APP's API tokes are revoked.
URLVerification is an event used when configuring your EventsAPI app.
UserChange A user object has changed.
UserHuddleChanged is an event when a user's huddle status changes.
UserProfileChanged is sent if a user's profile information has changed.
UserStatusChanged is an event when a user's status changes.
WorkflowStepExecute Happens, if a workflow step of your app is invoked.

# Variables

EventsAPIEventMap maps OUTER Event API events to their corresponding struct implementations.
EventsAPIInnerEventMapping maps INNER Event API events to their corresponding struct implementations.

# Structs

No description provided by the author
No description provided by the author
AppHomeOpenedEvent Your Slack app home was opened.
No description provided by the author
AppMentionEvent is an (inner) EventsAPI subscribable event.
No description provided by the author
AppUninstalledEvent Your Slack app was uninstalled.
No description provided by the author
AssistantThread is an object that represents a thread of messages between a user and an assistant.
AssistantThreadContext is an object that represents the context of an assistant thread.
AssistantThreadChangedEvent is an (inner) EventsAPI subscribable event.
AssistantThreadMessageEvent is an (inner) EventsAPI subscribable event.
No description provided by the author
ChallengeResponse is a response to a EventsAPIEvent URLVerification challenge.
ChannelArchiveEvent represents the Channel archive event.
ChannelCreatedEvent represents the Channel created event.
ChannelCreatedInfo represents the information associated with the Channel created event.
ChannelDeletedEvent represents the Channel deleted event.
No description provided by the author
ChannelIDChangedEvent represents the Channel identifier changed event.
ChannelLeftEvent represents the Channel left event.
ChannelRenameEvent represents the Channel rename event.
ChannelRenameInfo represents the information associated with the Channel rename event.
No description provided by the author
ChannelUnarchiveEvent represents the Channel unarchive event.
No description provided by the author
Comment contains all the information relative to a comment.
No description provided by the author
No description provided by the author
No description provided by the author
Edited is included when a Message is edited.
No description provided by the author
EmojiChangedEvent is the event of custom emoji has been added or changed.
EventsAPIAppRateLimited indicates your app's event subscriptions are being rate limited.
EventsAPICallbackEvent is the main (outer) EventsAPI event.
EventsAPIEvent is the base EventsAPIEvent.
EventsAPIInnerEvent the inner event of a EventsAPI event_callback Event.
EventsAPIURLVerificationEvent received when configuring a EventsAPI driven app.
No description provided by the author
File is a file upload.
FileChangeEvent represents the information associated with the File change event.
No description provided by the author
FileDeletedEvent represents the information associated with the File deleted event.
FileEventFile represents information on the specific file being shared in a file-related Slack event.
No description provided by the author
FileSharedEvent represents the information associated with the File shared event.
FileUnsharedEvent represents the information associated with the File unshared event.
No description provided by the author
GridMigrationFinishedEvent An enterprise grid migration has finished on this workspace.
GridMigrationStartedEvent An enterprise grid migration has started on this workspace.
GroupArchiveEvent represents the Group archive event.
No description provided by the author
GroupDeletedEvent represents the Group deleted event.
No description provided by the author
GroupLeftEvent represents the Group left event.
No description provided by the author
GroupRenameEvent represents the Group rename event.
GroupRenameInfo represents the information associated with the Group rename event.
GroupUnarchiveEvent represents the Group unarchive event.
Icon is used for bot messages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Item is any type of slack message - message, file, or file comment.
ItemMessage is the event message.
LinkSharedEvent A message was posted containing one or more links relevant to your application.
MemberJoinedChannelEvent A member joined a public or private channel.
MemberLeftChannelEvent A member left a public or private channel.
No description provided by the author
No description provided by the author
No description provided by the author
MessageEvent occurs when a variety of types of messages has been posted.
MessageMetadataDeletedEvent is sent, if a message with metadata is deleted.
MessageMetadataPostedEvent is sent, if a message with metadata is posted.
MessageMetadataUpdatedEvent is sent, if a message with metadata is deleted.
No description provided by the author
SharedChannel is a struct for shared channels in ShareChannel events.
SharedChannelInviteAcceptedEvent is sent if external org accepts a Slack Connect channel invite.
SharedChannelInviteApprovedEvent is sent if your invitation has been approved.
SharedChannelInviteDeclinedEvent is sent if external or internal org declines the Slack Connect invite.
SharedChannelInviteReceivedEvent is sent if a bot or app is invited to a Slack Connect channel.
No description provided by the author
SharedInvite is a struct for shared invites in ShareChannel events.
No description provided by the author
SlackEventIcon is a struct for icons in ShareChannel events.
SlackEventTeam is a struct for teams in ShareChannel events.
SlackEventUser is a struct for users in ShareChannel events.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TeamAccessGrantedEvent is sent if access to teams was granted for your org-wide app.
TeamAccessRevokedEvent is sent if access to teams was revoked for your org-wide app.
No description provided by the author
No description provided by the author
TeamJoinEvent A new member joined a workspace - https://api.slack.com/events/team_join.
No description provided by the author
No description provided by the author
TokensRevokedEvent APP's API tokens are revoked - https://api.slack.com/events/tokens_revoked.
No description provided by the author
No description provided by the author
No description provided by the author
UserProfileChangedEvent is sent if access to teams was revoked for your org-wide app.
No description provided by the author
WorkflowStepExecuteEvent is fired, if a workflow step of your app is invoked.

# Type aliases

No description provided by the author
JSONTime exists so that we can have a String method converting the date.
No description provided by the author
PinAddedEvent An item was pinned to a channel - https://api.slack.com/events/pin_added.
PinRemovedEvent An item was unpinned from a channel - https://api.slack.com/events/pin_removed.
ReactionAddedEvent An reaction was added to a message - https://api.slack.com/events/reaction_added.
ReactionRemovedEvent An reaction was removed from a message - https://api.slack.com/events/reaction_removed.