Package com.slack.api.model.event
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
-
Interface Summary Interface Description Event -
Class Summary Class Description AccountChangedEvent The list of accounts a user is signed into has changedAppHomeOpenedEvent This app event notifies your app when a user has entered into the App Home space—that's the place where a user exchanges DMs with your app.AppMentionEvent This app event allows your app to subscribe to message events that directly mention your bot user.AppMentionEvent.Edited AppRateLimitedEvent https://api.slack.com/events/app_rate_limitedAppRequestedEvent https://api.slack.com/events/app_requestedAppUninstalledEvent This Events API-only event is sent via subscription whenever a Slack app is completely uninstalled.BotAddedEvent The bot_added event is sent to all connections for a workspace when an integration "bot" is added.BotAddedEvent.Bot BotChangedEvent The bot_changed event is sent to all connections for a workspace when an integration "bot" is updated.BotChangedEvent.Bot CallRejectedEvent If a Call has been shared with a user in DM (and unfurled with the help of the link_shared event, this event is sent if the user rejects the Call.ChannelArchiveEvent The channel_archive event is sent to all connections for a workspace when a channel is archived.ChannelCreatedEvent The channel_created event is sent to all connections for a workspace when a new channel is created.ChannelCreatedEvent.Channel ChannelDeletedEvent The channel_deleted event is sent to all connections for a workspace when a channel is deleted.ChannelHistoryChangedEvent A channel_history_changed event is sent to all clients in a channel when bulk changes have occurred to that channel's history.ChannelIdChangedEvent https://api.slack.com/events/channel_id_changedChannelJoinedEvent The channel_joined event is sent to all connections for a user when that user joins a channel.ChannelJoinedEvent.Channel ChannelLeftEvent The channel_left event is sometimes sent to all connections for a user when that user leaves a channel.ChannelMarkedEvent The channel_marked event is sent to all open connections for a user when that user moves the read cursor in a channel by calling the channels.mark API method.ChannelRenameEvent The channel_rename event is sent to all connections for a workspace when a channel is renamed.ChannelRenameEvent.Channel ChannelSharedEvent The channel_shared event is sent to all event subscriptions when a new shared channel is created or a channel is converted into a shared channel.ChannelUnarchiveEvent The channel_unarchive event is sent to all connections for a workspace when a channel is unarchived.ChannelUnsharedEvent The channel_unshared event is sent to all event subscriptions when an external workspace has been removed from an existing shared channel.CommandsChangedEvent The commands_changed event is sent to all connections for a workspace when a slash command for that workspace is added, removed or changed.DndUpdatedEvent The dnd_updated event is sent to the current user when their Do Not Disturb settings have changed.DndUpdatedEvent.DndStatus DndUpdatedUserEvent The dnd_updated_user event is sent to all connections for a workspace when a user's Do Not Disturb settings have changed.DndUpdatedUserEvent.DndStatus EmailDomainChangedEvent The email_domain_changed event is sent to all connections for a workspace when the email domain settings for a workspace change.EmojiChangedEvent The email_domain_changed event is sent to all connections for a workspace when the email domain settings for a workspace change.ErrorEvent If there was a problem connecting an error will be returned, including a descriptive error message:ErrorEvent.Error ExternalOrgMigrationFinishedEvent The external_org_migration_finished event is sent to all connections when an external workspace completes to migrate to an Enterprise Grid.ExternalOrgMigrationFinishedEvent.Team ExternalOrgMigrationStartedEvent The external_org_migration_started event is sent to all connections when an external workspace begins to migrate to an Enterprise Grid.ExternalOrgMigrationStartedEvent.Team FileChangeEvent The file_change event is sent when any property of a file is changed.FileChangeEvent.File FileCommentAddedEvent Deprecated. FileCommentAddedEvent.File FileCommentAddedEvent.FileComment FileCommentDeletedEvent Deprecated. FileCommentDeletedEvent.File FileCommentEditedEvent Deprecated. FileCommentEditedEvent.File FileCommentEditedEvent.FileComment FileCreatedEvent The file_created event is sent to all connected clients for a user when that user uploads a file to Slack.FileCreatedEvent.File FileDeletedEvent The file_deleted event is sent to all connected clients for a workspace when a file is deleted.FilePublicEvent The file_public event is sent when a file is made public.FilePublicEvent.File FileSharedEvent The file_shared event is sent when a file is shared.FileSharedEvent.File FileUnsharedEvent The file_unshared event is sent when a file is unshared.FileUnsharedEvent.File GoodbyeEvent The server intends to close the connection soon.GridMigrationFinishedEvent This Events API-only event is sent via subscription whenever your app is installed by completes migration to Enterprise Grid.GridMigrationStartedEvent This Events API-only event is sent via subscription whenever your app is installed by completes migration to Enterprise Grid.GroupArchiveEvent The group_archive event is sent to all connections for members of a private channel when that private channel is archived.GroupCloseEvent The group_close event is sent to all connections for a user when a private channel is closed by that user.GroupDeletedEvent The group_deleted event is sent to all members of a private channel when it is deleted.GroupHistoryChangedEvent A group_history_changed event is sent to all clients in a private channel when bulk changes have occurred to that group's history.GroupJoinedEvent The group_joined event is sent to all connections for a user when that user joins a private channel.GroupJoinedEvent.Channel GroupLeftEvent The group_left event is sent to all connections for a user when that user leaves a private channel.GroupMarkedEvent The group_marked event is sent to all open connections for a user when that user moves the read cursor in a private channel by calling the groups.mark API method.GroupOpenEvent The group_open event is sent to all connections for a user when a group Direct RTMMessage (or mpim) is opened by that user.GroupRenameEvent When a private channel is renamed, the group_rename event is sent to all connections for members of a private channel.GroupRenameEvent.Channel GroupUnarchiveEvent The group_unarchive event is sent to all connections for members of a private channel when that private channel is unarchived.HelloEvent The hello event is sent when a connection is opened to the message server.ImCloseEvent The im_close event is sent to all connections for a user when a direct message channel is closed by that user.ImCreatedEvent The im_created event is sent to all connections for a user when a new direct message channel is created that they are a member of.ImCreatedEvent.Channel ImHistoryChangedEvent A im_history_changed event is sent to all clients in a DM channel When bulk changes have occurred to that DM channel's history.ImMarkedEvent The im_marked event is sent to all open connections for a user when that user moves the read cursor in a direct message channel by calling the im.mark API method.ImOpenEvent The im_open event is sent to all connections for a user when a direct message channel is opened by that user.InviteRequestedEvent User requested an inviteInviteRequestedEvent.InviteRequest InviteRequestedEvent.Team LinkSharedEvent The thread_ts field only appears when the link was shared within a message thread.LinkSharedEvent.Link ManualPresenceChangeEvent The manual_presence_change event is sent to all connections for a user when that user manually updates their presence.MemberJoinedChannelEvent The member_joined_channel event is sent to all WebSocket connections and event subscriptions when users join public or private channels.MemberLeftChannelEvent The member_left_channel event is sent to all websocket connections and event subscriptions when users leave public or private channels.MessageBotEvent https://api.slack.com/events/message/bot_messageMessageChangedEvent https://api.slack.com/events/message/message_changedMessageChangedEvent.Edited MessageChangedEvent.Message MessageChangedEvent.PreviousMessage MessageChannelArchiveEvent https://api.slack.com/events/message/channel_archiveMessageChannelJoinEvent https://api.slack.com/events/message/channel_joinMessageChannelLeaveEvent https://api.slack.com/events/message/channel_leaveMessageChannelNameEvent https://api.slack.com/events/message/channel_nameMessageChannelPostingPermissionsEvent https://api.slack.com/events/message/channel_posting_permissionsMessageChannelPurposeEvent https://api.slack.com/events/message/channel_purposeMessageChannelTopicEvent https://api.slack.com/events/message/channel_topicMessageChannelUnarchiveEvent https://api.slack.com/events/message/channel_unarchiveMessageDeletedEvent https://api.slack.com/events/message/message_deletedMessageDeletedEvent.Edited MessageDeletedEvent.Message MessageEkmAccessDeniedEvent https://api.slack.com/events/message/ekm_access_deniedMessageEvent A message is delivered from several sources:MessageEvent.Edited MessageFileShareEvent A file was shared into a channel https://api.slack.com/events/message/file_shareMessageGroupTopicEvent https://api.slack.com/events/message/group_topicMessageMeEvent https://api.slack.com/events/message/me_messageMessageRepliedEvent https://api.slack.com/events/message/message_repliedMessageRepliedEvent.Edited MessageRepliedEvent.Message MessageThreadBroadcastEvent https://api.slack.com/events/message/thread_broadcastPinAddedEvent When an item is pinned in a channel, the pin_added event is sent to all members of that channel.PinAddedEvent.Item PinAddedEvent.Message PinAddedEvent.PinnedInfo PinRemovedEvent When an item is un-pinned from a channel, the pin_removed event is sent to all members of that channel.PinRemovedEvent.Item PinRemovedEvent.Message PinRemovedEvent.PinnedInfo PongEvent The pong event is sent in response to a 'ping' message previously sent.PrefChangeEvent The pref_change event is sent to all connections for a user when a user preference is changed.PresenceChangeEvent The presence_change event is sent to connections for a workspace when a user changes presence status and the app has subscribed using presence_sub.ReactionAddedEvent When a reaction is added to an item the reaction_added event is sent to all connected clients for users who can see the content that was reacted to.ReactionAddedEvent.Item ReactionRemovedEvent When a reaction is removed from an item the reaction_removed event is sent to all connected clients for users who can see the content that had the reaction.ReactionRemovedEvent.Item ReconnectUrlEvent The reconnect_url event is currently unsupported and experimental.ResourcesAddedEvent Subscribe to this event to receive deliveries as users install your Slack app, add your app to channels and conversations, or approve your app for additional permissions and resources.ResourcesAddedEvent.Grant ResourcesAddedEvent.Resource ResourcesAddedEvent.ResourceItem ResourcesRemovedEvent Subscribe to this event to receive deliveries as users uninstall your Slack app and remove your app to channels & conversations.ResourcesRemovedEvent.Grant ResourcesRemovedEvent.Resource ResourcesRemovedEvent.ResourceItem ScopeDeniedEvent The inner event describes an array of scopes you requested but were denied access to.ScopeGrantedEvent StarAddedEvent When an item is starred, the star_added event is sent to all connected clients for the authenticated user who starred the item.StarAddedEvent.Edited StarAddedEvent.Item StarAddedEvent.Message StarRemovedEvent StarRemovedEvent.Edited StarRemovedEvent.Item StarRemovedEvent.Message SubteamCreatedEvent The subteam_created event is sent to all connections for a workspace when a new User Group is created.SubteamCreatedEvent.Prefs SubteamCreatedEvent.Subteam SubteamMembersChangedEvent The subteam_members_changed event is sent to all connections for a workspace when users are added or removed from an existing User Group.SubteamSelfAddedEvent The subteam_self_added event is sent to you when you have been added to an existing User Group.SubteamSelfRemovedEvent The subteam_self_removed event is sent to you when you have been removed to an existing User Group.SubteamUpdatedEvent The subteam_updated event is sent to all connections for a workspace when an existing User Group is updated.SubteamUpdatedEvent.Prefs SubteamUpdatedEvent.Subteam TeamAccessGrantedEvent https://api.slack.com/events/team_access_grantedTeamAccessRevokedEvent https://api.slack.com/events/team_access_revokedTeamDomainChangeEvent The team_domain_change event is sent to all connections for a workspace when the workspace domain changes.TeamJoinEvent The team_join event is sent to all connections for a workspace when a new member joins.TeamMigrationStartedEvent The team_migration_started event is sent when a Slack workspace is about to be migrated between servers.TeamPlanChangeEvent The team_plan_change event is sent to all connections for a workspace when a the current billing plan is changed.TeamPrefChangeEvent The team_pref_change event is sent to all connections for a workspace when a preference is changed.TeamProfileChangeEvent The team_profile_change event is sent to all connections for a workspace when Workspace Admin updates the field definitions in the profile.TeamProfileChangeEvent.Field TeamProfileChangeEvent.Profile TeamProfileDeleteEvent The team_profile_delete event is sent to all connections for a workspace when Workspace Admin deletes field definitions from the profile.TeamProfileDeleteEvent.Field TeamProfileDeleteEvent.Profile TeamProfileReorderEvent The team_profile_reorder event is sent to all connections for a workspace when Workspace Admin reorders the field definitions in the profile.TeamProfileReorderEvent.Field TeamProfileReorderEvent.Profile TeamRenameEvent The team_rename event is sent to all connections for a workspace when an admin changes the workspace name.TokensRevokedEvent When your app's API tokens are revoked, the tokens_revoked event is sent via the Events API to your app if it is subscribed.TokensRevokedEvent.Tokens UserChangeEvent The user_change event is sent to all connections for a workspace when a member updates their profile or data.UserResourceDeniedEvent We send this event when a user declines to grant your workspace app the permissions you recently requested with apps.permissions.users.request.UserResourceGrantedEvent We send this event when a user grants your workspace app the permissions you recently requested with apps.permissions.users.request.UserResourceRemovedEvent We send this event when a user removes an existing grant for your workspace app.UserTypingEvent The user_typing event is sent to all members of a channel when a user is typing a message in that channel.WorkflowDeletedEvent A workflow that contains a step supported by your app was deletedWorkflowPublishedEvent A workflow that contains a step supported by your app was publishedWorkflowStepDeletedEvent A workflow step supported by your app was removed from a workflowWorkflowStepExecuteEvent A workflow step supported by your app should executeWorkflowUnpublishedEvent A workflow that contains a step supported by your app was unpublished