package events
Type Members
- case class SlackAppHomeOpenedEvent(user: SlackUserId, channel: SlackChannelId, tab: String, view: Option[SlackView] = None) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/app_home_opened
https://api.slack.com/events/app_home_opened
- Annotations
- @JsonAdt("app_home_opened")
- case class SlackAppMentionEvent(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, thread_ts: Option[SlackTs] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, user: SlackUserId, event_ts: SlackTs) extends SlackEventCallbackBody with SlackMessage with Product with Serializable
https://api.slack.com/events/app_mention
https://api.slack.com/events/app_mention
- Annotations
- @JsonAdt("app_mention")
- case class SlackAppRateLimitedEvent(team_id: SlackTeamId, minute_rate_limited: SlackDateTime, api_app_id: SlackAppId) extends SlackPushEvent with Product with Serializable
Rate limit event https://api.slack.com/events-api#rate_limiting_event
Rate limit event https://api.slack.com/events-api#rate_limiting_event
- Annotations
- @JsonAdt("app_rate_limited")
- case class SlackAppUninstalledEvent() extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/app_uninstalled
https://api.slack.com/events/app_uninstalled
- Annotations
- @JsonAdt("app_uninstalled")
- case class SlackBotAddMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, hidden: Option[Boolean] = None, user: SlackUserId, bot_id: Option[SlackBotId] = None, bot_link: Option[String] = None) extends SlackMessage with SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("bot_add")
- case class SlackBotMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, thread_ts: Option[SlackTs] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, permalink: Option[String] = None, pinned_to: Option[List[String]] = None, hidden: Option[Boolean] = None, bot_id: SlackBotId, user: Option[String] = None) extends SlackMessage with SlackPinnedMessage with SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("bot_message")
- case class SlackBotRemoveMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, hidden: Option[Boolean] = None, user: SlackUserId, bot_id: Option[SlackBotId] = None, bot_link: Option[String] = None) extends SlackMessage with SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("bot_remove")
- case class SlackChannelArchiveEvent(channel: SlackChannelId, user: Option[SlackUserId] = None) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_archive
https://api.slack.com/events/channel_archive
- Annotations
- @JsonAdt("channel_archive")
- case class SlackChannelCreatedEvent(channel: SlackChannelInfo) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_created
https://api.slack.com/events/channel_created
- Annotations
- @JsonAdt("channel_created")
- case class SlackChannelDeletedEvent(channel: SlackChannelId) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_deleted
https://api.slack.com/events/channel_deleted
- Annotations
- @JsonAdt("channel_deleted")
- case class SlackChannelHistoryChangedEvent(latest: String, ts: SlackTs) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_history_changed
https://api.slack.com/events/channel_history_changed
- Annotations
- @JsonAdt("channel_history_changed")
- case class SlackChannelJoinMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, hidden: Option[Boolean] = None, user: SlackUserId, inviter: Option[SlackUserId] = None) extends SlackMessage with SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("channel_join")
- case class SlackChannelLeftEvent(channel: SlackChannelId) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_left
https://api.slack.com/events/channel_left
- Annotations
- @JsonAdt("channel_left")
- case class SlackChannelNameMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, user: SlackUserId, old_name: Option[String] = None, name: String) extends SlackMessage with Product with Serializable
- Annotations
- @JsonAdt("channel_name")
- case class SlackChannelPurposeMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, user: SlackUserId, purpose: Option[String] = None) extends SlackMessage with Product with Serializable
- Annotations
- @JsonAdt("channel_purpose")
- case class SlackChannelRenameEvent(id: SlackChannelId, name: String, created: SlackDateTime) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_rename
https://api.slack.com/events/channel_rename
- Annotations
- @JsonAdt("channel_rename")
- case class SlackChannelSharedEvent(connected_team_id: SlackTeamId, channel: SlackChannelId) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_shared
https://api.slack.com/events/channel_shared
- Annotations
- @JsonAdt("channel_shared")
- case class SlackChannelTopicMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, user: SlackUserId, topic: Option[String] = None) extends SlackMessage with Product with Serializable
- Annotations
- @JsonAdt("channel_topic")
- case class SlackChannelUnarchiveEvent(channel: SlackChannelId, user: Option[String] = None) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_unarchive
https://api.slack.com/events/channel_unarchive
- Annotations
- @JsonAdt("channel_unarchive")
- case class SlackChannelUnsharedEvent(previously_connected_team_id: SlackTeamId, channel: SlackChannelId, is_ext_shared: Option[Boolean] = None) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/channel_unshared
https://api.slack.com/events/channel_unshared
- Annotations
- @JsonAdt("channel_unshared")
- case class SlackDndUpdatedUserEvent(user: SlackUserId, dnd_status: SlackApiDndInfoResponse) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/dnd_updated_user
https://api.slack.com/events/dnd_updated_user
- Annotations
- @JsonAdt("dnd_updated_user")
- case class SlackEmojiChangedEvent(subtype: Option[String] = None, names: List[String]) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/emoji_changed
https://api.slack.com/events/emoji_changed
- Annotations
- @JsonAdt("emoji_changed")
- case class SlackEventAuthorization(enterprise_id: Option[SlackEnterpriseId] = None, team_id: SlackTeamId, user_id: SlackUserId, is_bot: Boolean = false) extends Product with Serializable
- case class SlackEventCallback(team_id: SlackTeamId, api_app_id: String, event: SlackEventCallbackBody, event_id: SlackEventId, event_time: SlackDateTime, event_context: Option[SlackEventContext] = None, authed_users: Option[Seq[SlackUserId]] = None, authorizations: Option[List[SlackEventAuthorization]] = None) extends SlackPushEvent with Product with Serializable
Incoming Slack callback Event https://api.slack.com/types/event
Incoming Slack callback Event https://api.slack.com/types/event
- Annotations
- @JsonAdt("event_callback")
- sealed trait SlackEventCallbackBody extends AnyRef
Events from https://api.slack.com/events
- final case class SlackEventContext(value: String) extends AnyVal with Product with Serializable
- final case class SlackEventId(value: String) extends AnyVal with Product with Serializable
- case class SlackImCloseEvent(channel: SlackChannelId, user: SlackUserId) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/im_close
https://api.slack.com/events/im_close
- Annotations
- @JsonAdt("im_close")
- case class SlackImCreatedEvent(channel: SlackChannelInfo, user: SlackUserId) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/im_created
https://api.slack.com/events/im_created
- Annotations
- @JsonAdt("im_created")
- case class SlackImHistoryChangedEvent(latest: String, ts: SlackTs) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/im_history_changed
https://api.slack.com/events/im_history_changed
- Annotations
- @JsonAdt("im_history_changed")
- case class SlackImOpenEvent(channel: SlackChannelId, user: SlackUserId) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/im_open
https://api.slack.com/events/im_open
- Annotations
- @JsonAdt("im_open")
- sealed trait SlackInteractionActionContainer extends AnyRef
- case class SlackInteractionActionInfo(type: String, action_id: SlackActionId, block_id: Option[String] = None, text: Option[SlackBlockText] = None, value: Option[String] = None, selected_option: Option[SlackBlockChoiceItem[SlackBlockText]] = None, action_ts: Option[String] = None) extends Product with Serializable
- case class SlackInteractionActionMessageContainer(message_ts: SlackTs, channel_id: Option[SlackChannelId] = None, is_ephemeral: Option[Boolean] = None, is_app_unfurl: Option[Boolean] = None) extends SlackInteractionActionContainer with Product with Serializable
- Annotations
- @JsonAdt("message")
- case class SlackInteractionActionViewContainer(view_id: String) extends SlackInteractionActionContainer with Product with Serializable
- Annotations
- @JsonAdt("view")
- case class SlackInteractionBlockActionEvent(team: SlackBasicTeamInfo, user: Option[SlackBasicUserInfo] = None, api_app_id: SlackAppId, container: SlackInteractionActionContainer, trigger_id: SlackTriggerId, channel: Option[SlackBasicChannelInfo] = None, message: Option[SlackMessage] = None, view: Option[SlackView] = None, response_url: Option[String] = None, actions: Option[List[SlackInteractionActionInfo]] = None) extends SlackInteractionEvent with Product with Serializable
https://api.slack.com/reference/interaction-payloads/block-actions
https://api.slack.com/reference/interaction-payloads/block-actions
- Annotations
- @JsonAdt("block_actions")
- case class SlackInteractionDialogueSubmissionEvent(team: SlackBasicTeamInfo, user: SlackBasicUserInfo, channel: Option[SlackBasicChannelInfo] = None, callback_id: Option[SlackCallbackId] = None, state: Option[String] = None, submission: Map[String, String]) extends SlackInteractionEvent with Product with Serializable
- Annotations
- @JsonAdt("dialog_submission")
- sealed trait SlackInteractionEvent extends AnyRef
An interaction payload is both a way of notifying your app about an interaction and a bundle of information containing the where and when (and many other Ws) of the interaction.
An interaction payload is both a way of notifying your app about an interaction and a bundle of information containing the where and when (and many other Ws) of the interaction. It is vital to the interaction process, so your app has to be able to understand it.
https://api.slack.com/messaging/interactivity#components
- case class SlackInteractionMessageActionEvent(team: SlackBasicTeamInfo, user: SlackBasicUserInfo, channel: Option[SlackBasicChannelInfo] = None, message: Option[SlackMessage] = None, callback_id: SlackCallbackId, trigger_id: SlackTriggerId, response_url: String, actions: Option[List[SlackInteractionActionInfo]] = None) extends SlackInteractionEvent with Product with Serializable
https://api.slack.com/reference/interaction-payloads/actions
https://api.slack.com/reference/interaction-payloads/actions
- Annotations
- @JsonAdt("message_action")
- case class SlackInteractionShortcutEvent(team: SlackBasicTeamInfo, user: SlackBasicUserInfo, callback_id: SlackCallbackId, trigger_id: SlackTriggerId, actions: Option[List[SlackInteractionActionInfo]] = None) extends SlackInteractionEvent with Product with Serializable
https://api.slack.com/reference/interaction-payloads/shortcuts
https://api.slack.com/reference/interaction-payloads/shortcuts
- Annotations
- @JsonAdt("shortcut")
- case class SlackInteractionViewClosedEvent(team: SlackBasicTeamInfo, user: SlackBasicUserInfo, view: SlackStatefulView) extends SlackInteractionEvent with Product with Serializable
https://api.slack.com/reference/interaction-payloads/views
https://api.slack.com/reference/interaction-payloads/views
- Annotations
- @JsonAdt("view_closed")
- case class SlackInteractionViewSubmissionEvent(team: SlackBasicTeamInfo, user: SlackBasicUserInfo, view: SlackStatefulView) extends SlackInteractionEvent with Product with Serializable
https://api.slack.com/reference/interaction-payloads/views
https://api.slack.com/reference/interaction-payloads/views
- Annotations
- @JsonAdt("view_submission")
- case class SlackMeMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, thread_ts: Option[SlackTs] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, permalink: Option[String] = None, pinned_to: Option[List[String]] = None, hidden: Option[Boolean] = None, user: SlackUserId) extends SlackMessage with SlackPinnedMessage with SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("me_message")
- case class SlackMemberJoinedChannelEvent(channel: SlackChannelId, user: SlackUserId, channel_type: Option[String] = None, team: SlackTeamId, inviter: Option[String] = None) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/member_joined_channel
https://api.slack.com/events/member_joined_channel
- Annotations
- @JsonAdt("member_joined_channel")
- case class SlackMemberLeftChannelEvent(channel: SlackChannelId, user: SlackUserId, channel_type: Option[String] = None, team: SlackTeamId) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/member_left_channel
https://api.slack.com/events/member_left_channel
- Annotations
- @JsonAdt("member_left_channel")
- sealed trait SlackMessage extends AnyRef
- Annotations
- @JsonAdtPassThrough()
- case class SlackMessageChanged(ts: SlackTs, channel: Option[SlackChannelId], channel_type: Option[String] = None, hidden: Option[Boolean] = None, message: SlackMessage) extends SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("message_changed")
- case class SlackMessageDeleted(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, hidden: Option[Boolean] = None, deleted_ts: SlackTs) extends SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("message_deleted")
- case class SlackMessageEdited(user: SlackUserId, ts: SlackTs) extends Product with Serializable
- sealed trait SlackMessageEvent extends SlackEventCallbackBody
https://api.slack.com/events/message
https://api.slack.com/events/message
- Annotations
- @JsonAdt("message")
- case class SlackMessageGeneralInfo(ts: SlackTs, channel: SlackChannelId, channel_type: Option[String], thread_ts: Option[SlackTs] = None) extends Product with Serializable
- case class SlackMessageReaction(count: Int, name: String, users: List[String]) extends Product with Serializable
- case class SlackMessageReplied(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, hidden: Option[Boolean] = None, message: SlackMessage) extends SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("message_replied")
- case class SlackMessageReplyInfo(user: SlackUserId, ts: SlackTs) extends Product with Serializable
- case class SlackMessageThreadBroadcast(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, hidden: Option[Boolean] = None, message: SlackMessage) extends SlackMessageEvent with Product with Serializable
- Annotations
- @JsonAdt("thread_broadcast")
- case class SlackPinAddedEvent(channel_id: SlackChannelId, user: SlackUserId, item: SlackPinItem) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/pin_added
https://api.slack.com/events/pin_added
- Annotations
- @JsonAdt("pin_added")
- case class SlackPinRemovedEvent(channel_id: SlackChannelId, user: SlackUserId, item: SlackPinItem, has_pins: Option[Boolean] = None) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/pin_removed
https://api.slack.com/events/pin_removed
- Annotations
- @JsonAdt("pin_removed")
- sealed trait SlackPinnedMessage extends AnyRef
- sealed trait SlackPushEvent extends AnyRef
Incoming Slack push event https://api.slack.com/types/event
- case class SlackReactionAddedEvent(reaction: String, user: SlackUserId, item_user: SlackUserId, item: SlackMessageGeneralInfo) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/reaction_added
https://api.slack.com/events/reaction_added
- Annotations
- @JsonAdt("reaction_added")
- case class SlackReactionRemovedEvent(reaction: String, user: SlackUserId, item_user: SlackUserId, item: SlackMessageGeneralInfo) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/reaction_removed
https://api.slack.com/events/reaction_removed
- Annotations
- @JsonAdt("reaction_removed")
- case class SlackRevokedTokens(oauth: List[SlackUserId] = List(), bot: List[SlackUserId] = List()) extends Product with Serializable
- case class SlackTeamJoinEvent(user: SlackUserInfo) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/team_join
https://api.slack.com/events/team_join
- Annotations
- @JsonAdt("team_join")
- case class SlackTeamRenameEvent(name: String) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/team_rename
https://api.slack.com/events/team_rename
- Annotations
- @JsonAdt("team_rename")
- case class SlackTokensRevokedEvent(tokens: SlackRevokedTokens) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/tokens_revoked
https://api.slack.com/events/tokens_revoked
- Annotations
- @JsonAdt("tokens_revoked")
- case class SlackUrlVerificationEvent(challenge: String) extends SlackPushEvent with Product with Serializable
Push URL verification event https://api.slack.com/events-api#request_url_configurationampverification
Push URL verification event https://api.slack.com/events-api#request_url_configurationampverification
- Annotations
- @JsonAdt("url_verification")
- case class SlackUserChangeEvent(user: SlackUserInfo) extends SlackEventCallbackBody with Product with Serializable
https://api.slack.com/events/user_change
https://api.slack.com/events/user_change
- Annotations
- @JsonAdt("user_change")
- case class SlackUserMessage(ts: SlackTs, channel: Option[SlackChannelId] = None, channel_type: Option[String] = None, thread_ts: Option[SlackTs] = None, reactions: Option[List[SlackMessageReaction]] = None, edited: Option[SlackMessageEdited] = None, reply_count: Option[Long] = None, replies: Option[List[SlackMessageReplyInfo]] = None, text: Option[String] = None, blocks: Option[List[SlackBlock]] = None, permalink: Option[String] = None, pinned_to: Option[List[String]] = None, hidden: Option[Boolean] = None, user: SlackUserId) extends SlackMessage with SlackPinnedMessage with SlackMessageEvent with Product with Serializable