| 1 | // inner_events.go provides EventsAPI particular inner events |
| 2 | |
| 3 | package slackeventsscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ |
| 4 | |
| 5 | import ( |
| 6 | "github.com/slack-go/slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/" |
| 7 | ) |
| 8 | |
| 9 | // EventsAPIInnerEvent the inner event of a EventsAPI event_callback Event. |
| 10 | type EventsAPIInnerEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIInnerEvent# struct { |
| 11 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIInnerEvent#Type. string `json:"type"` |
| 12 | Datascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIInnerEvent#Data. interface{} |
| 13 | } |
| 14 | |
| 15 | // AppMentionEvent is an (inner) EventsAPI subscribable event. |
| 16 | type AppMentionEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent# struct { |
| 17 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#Type. string `json:"type"` |
| 18 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#User. string `json:"user"` |
| 19 | Textscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#Text. string `json:"text"` |
| 20 | TimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#TimeStamp. string `json:"ts"` |
| 21 | ThreadTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#ThreadTimeStamp. string `json:"thread_ts"` |
| 22 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#Channel. string `json:"channel"` |
| 23 | EventTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#EventTimeStamp. string `json:"event_ts"` |
| 24 | |
| 25 | // When Message comes from a channel that is shared between workspaces |
| 26 | UserTeamscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#UserTeam. string `json:"user_team,omitempty"` |
| 27 | SourceTeamscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#SourceTeam. string `json:"source_team,omitempty"` |
| 28 | |
| 29 | // BotID is filled out when a bot triggers the app_mention event |
| 30 | BotIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#BotID. string `json:"bot_id,omitempty"` |
| 31 | } |
| 32 | |
| 33 | // AppHomeOpenedEvent Your Slack app home was opened. |
| 34 | type AppHomeOpenedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent# struct { |
| 35 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent#Type. string `json:"type"` |
| 36 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent#User. string `json:"user"` |
| 37 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent#Channel. string `json:"channel"` |
| 38 | EventTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent#EventTimeStamp. string `json:"event_ts"` |
| 39 | Tabscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent#Tab. string `json:"tab"` |
| 40 | Viewscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent#View. slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.Viewscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/View# `json:"view"` |
| 41 | } |
| 42 | |
| 43 | // AppUninstalledEvent Your Slack app was uninstalled. |
| 44 | type AppUninstalledEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppUninstalledEvent# struct { |
| 45 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppUninstalledEvent#Type. string `json:"type"` |
| 46 | } |
| 47 | |
| 48 | // ChannelCreatedEvent represents the Channel created event |
| 49 | type ChannelCreatedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedEvent# struct { |
| 50 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedEvent#Type. string `json:"type"` |
| 51 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedEvent#Channel. ChannelCreatedInfoscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedInfo# `json:"channel"` |
| 52 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedEvent#EventTimestamp. string `json:"event_ts"` |
| 53 | } |
| 54 | |
| 55 | // ChannelDeletedEvent represents the Channel deleted event |
| 56 | type ChannelDeletedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelDeletedEvent# struct { |
| 57 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelDeletedEvent#Type. string `json:"type"` |
| 58 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelDeletedEvent#Channel. string `json:"channel"` |
| 59 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelDeletedEvent#EventTimestamp. string `json:"event_ts"` |
| 60 | } |
| 61 | |
| 62 | // ChannelArchiveEvent represents the Channel archive event |
| 63 | type ChannelArchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchiveEvent# struct { |
| 64 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchiveEvent#Type. string `json:"type"` |
| 65 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchiveEvent#Channel. string `json:"channel"` |
| 66 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchiveEvent#User. string `json:"user"` |
| 67 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchiveEvent#EventTimestamp. string `json:"event_ts"` |
| 68 | } |
| 69 | |
| 70 | // ChannelUnarchiveEvent represents the Channel unarchive event |
| 71 | type ChannelUnarchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchiveEvent# struct { |
| 72 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchiveEvent#Type. string `json:"type"` |
| 73 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchiveEvent#Channel. string `json:"channel"` |
| 74 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchiveEvent#User. string `json:"user"` |
| 75 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchiveEvent#EventTimestamp. string `json:"event_ts"` |
| 76 | } |
| 77 | |
| 78 | // ChannelLeftEvent represents the Channel left event |
| 79 | type ChannelLeftEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelLeftEvent# struct { |
| 80 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelLeftEvent#Type. string `json:"type"` |
| 81 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelLeftEvent#Channel. string `json:"channel"` |
| 82 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelLeftEvent#EventTimestamp. string `json:"event_ts"` |
| 83 | } |
| 84 | |
| 85 | // ChannelRenameEvent represents the Channel rename event |
| 86 | type ChannelRenameEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameEvent# struct { |
| 87 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameEvent#Type. string `json:"type"` |
| 88 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameEvent#Channel. ChannelRenameInfoscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameInfo# `json:"channel"` |
| 89 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameEvent#EventTimestamp. string `json:"event_ts"` |
| 90 | } |
| 91 | |
| 92 | // ChannelIDChangedEvent represents the Channel identifier changed event |
| 93 | type ChannelIDChangedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChangedEvent# struct { |
| 94 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChangedEvent#Type. string `json:"type"` |
| 95 | OldChannelIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChangedEvent#OldChannelID. string `json:"old_channel_id"` |
| 96 | NewChannelIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChangedEvent#NewChannelID. string `json:"new_channel_id"` |
| 97 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChangedEvent#EventTimestamp. string `json:"event_ts"` |
| 98 | } |
| 99 | |
| 100 | // ChannelCreatedInfo represents the information associated with the Channel created event |
| 101 | type ChannelCreatedInfoscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedInfo# struct { |
| 102 | IDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedInfo#ID. string `json:"id"` |
| 103 | IsChannelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedInfo#IsChannel. bool `json:"is_channel"` |
| 104 | Namescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedInfo#Name. string `json:"name"` |
| 105 | Createdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedInfo#Created. int `json:"created"` |
| 106 | Creatorscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedInfo#Creator. string `json:"creator"` |
| 107 | } |
| 108 | |
| 109 | // ChannelRenameInfo represents the information associated with the Channel rename event |
| 110 | type ChannelRenameInfoscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameInfo# struct { |
| 111 | IDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameInfo#ID. string `json:"id"` |
| 112 | Namescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameInfo#Name. string `json:"name"` |
| 113 | Createdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameInfo#Created. int `json:"created"` |
| 114 | } |
| 115 | |
| 116 | // GroupDeletedEvent represents the Group deleted event |
| 117 | type GroupDeletedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupDeletedEvent# struct { |
| 118 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupDeletedEvent#Type. string `json:"type"` |
| 119 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupDeletedEvent#Channel. string `json:"channel"` |
| 120 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupDeletedEvent#EventTimestamp. string `json:"event_ts"` |
| 121 | } |
| 122 | |
| 123 | // GroupArchiveEvent represents the Group archive event |
| 124 | type GroupArchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupArchiveEvent# struct { |
| 125 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupArchiveEvent#Type. string `json:"type"` |
| 126 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupArchiveEvent#Channel. string `json:"channel"` |
| 127 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupArchiveEvent#EventTimestamp. string `json:"event_ts"` |
| 128 | } |
| 129 | |
| 130 | // GroupUnarchiveEvent represents the Group unarchive event |
| 131 | type GroupUnarchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupUnarchiveEvent# struct { |
| 132 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupUnarchiveEvent#Type. string `json:"type"` |
| 133 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupUnarchiveEvent#Channel. string `json:"channel"` |
| 134 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupUnarchiveEvent#EventTimestamp. string `json:"event_ts"` |
| 135 | } |
| 136 | |
| 137 | // GroupLeftEvent represents the Group left event |
| 138 | type GroupLeftEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupLeftEvent# struct { |
| 139 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupLeftEvent#Type. string `json:"type"` |
| 140 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupLeftEvent#Channel. string `json:"channel"` |
| 141 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupLeftEvent#EventTimestamp. string `json:"event_ts"` |
| 142 | } |
| 143 | |
| 144 | // GroupRenameEvent represents the Group rename event |
| 145 | type GroupRenameEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameEvent# struct { |
| 146 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameEvent#Type. string `json:"type"` |
| 147 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameEvent#Channel. GroupRenameInfoscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameInfo# `json:"channel"` |
| 148 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameEvent#EventTimestamp. string `json:"event_ts"` |
| 149 | } |
| 150 | |
| 151 | // GroupRenameInfo represents the information associated with the Group rename event |
| 152 | type GroupRenameInfoscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameInfo# struct { |
| 153 | IDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameInfo#ID. string `json:"id"` |
| 154 | Namescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameInfo#Name. string `json:"name"` |
| 155 | Createdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameInfo#Created. int `json:"created"` |
| 156 | } |
| 157 | |
| 158 | // GridMigrationFinishedEvent An enterprise grid migration has finished on this workspace. |
| 159 | type GridMigrationFinishedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationFinishedEvent# struct { |
| 160 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationFinishedEvent#Type. string `json:"type"` |
| 161 | EnterpriseIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationFinishedEvent#EnterpriseID. string `json:"enterprise_id"` |
| 162 | } |
| 163 | |
| 164 | // GridMigrationStartedEvent An enterprise grid migration has started on this workspace. |
| 165 | type GridMigrationStartedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationStartedEvent# struct { |
| 166 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationStartedEvent#Type. string `json:"type"` |
| 167 | EnterpriseIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationStartedEvent#EnterpriseID. string `json:"enterprise_id"` |
| 168 | } |
| 169 | |
| 170 | // LinkSharedEvent A message was posted containing one or more links relevant to your application |
| 171 | type LinkSharedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent# struct { |
| 172 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#Type. string `json:"type"` |
| 173 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#User. string `json:"user"` |
| 174 | TimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#TimeStamp. string `json:"ts"` |
| 175 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#Channel. string `json:"channel"` |
| 176 | // MessageTimeStamp can be both a numeric timestamp if the LinkSharedEvent corresponds to a sent |
| 177 | // message and (contrary to the field name) a uuid if the LinkSharedEvent is generated in the |
| 178 | // compose text area. |
| 179 | MessageTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#MessageTimeStamp. string `json:"message_ts"` |
| 180 | ThreadTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#ThreadTimeStamp. string `json:"thread_ts"` |
| 181 | Linksscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#Links. []sharedLinksscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/sharedLinks# `json:"links"` |
| 182 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#EventTimestamp. string `json:"event_ts"` |
| 183 | } |
| 184 | |
| 185 | type sharedLinksscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/sharedLinks# struct { |
| 186 | Domainscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/sharedLinks#Domain. string `json:"domain"` |
| 187 | URLscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/sharedLinks#URL. string `json:"url"` |
| 188 | } |
| 189 | |
| 190 | // MessageEvent occurs when a variety of types of messages has been posted. |
| 191 | // Parse ChannelType to see which |
| 192 | // if ChannelType = "group", this is a private channel message |
| 193 | // if ChannelType = "channel", this message was sent to a channel |
| 194 | // if ChannelType = "im", this is a private message |
| 195 | // if ChannelType = "mim", A message was posted in a multiparty direct message channel |
| 196 | // TODO: Improve this so that it is not required to manually parse ChannelType |
| 197 | type MessageEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent# struct { |
| 198 | // Basic Message Event - https://api.slack.com/events/message |
| 199 | ClientMsgIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#ClientMsgID. string `json:"client_msg_id"` |
| 200 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Type. string `json:"type"` |
| 201 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#User. string `json:"user"` |
| 202 | Textscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Text. string `json:"text"` |
| 203 | ThreadTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#ThreadTimeStamp. string `json:"thread_ts"` |
| 204 | TimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#TimeStamp. string `json:"ts"` |
| 205 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Channel. string `json:"channel"` |
| 206 | ChannelTypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#ChannelType. string `json:"channel_type"` |
| 207 | EventTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#EventTimeStamp. string `json:"event_ts"` |
| 208 | |
| 209 | // When Message comes from a channel that is shared between workspaces |
| 210 | UserTeamscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#UserTeam. string `json:"user_team,omitempty"` |
| 211 | SourceTeamscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#SourceTeam. string `json:"source_team,omitempty"` |
| 212 | |
| 213 | // Edited Message |
| 214 | Messagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Message. *MessageEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent# `json:"message,omitempty"` |
| 215 | PreviousMessagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#PreviousMessage. *MessageEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent# `json:"previous_message,omitempty"` |
| 216 | Editedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Edited. *Editedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Edited# `json:"edited,omitempty"` |
| 217 | |
| 218 | // Message Subtypes |
| 219 | SubTypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#SubType. string `json:"subtype,omitempty"` |
| 220 | |
| 221 | // bot_message (https://api.slack.com/events/message/bot_message) |
| 222 | BotIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#BotID. string `json:"bot_id,omitempty"` |
| 223 | Usernamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Username. string `json:"username,omitempty"` |
| 224 | Iconsscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Icons. *Iconscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Icon# `json:"icons,omitempty"` |
| 225 | |
| 226 | Uploadscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Upload. bool `json:"upload"` |
| 227 | Filesscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Files. []Filescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File# `json:"files"` |
| 228 | |
| 229 | Attachmentsscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Attachments. []slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.Attachmentscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/Attachment# `json:"attachments,omitempty"` |
| 230 | |
| 231 | // Root is the message that was broadcast to the channel when the SubType is |
| 232 | // thread_broadcast. If this is not a thread_broadcast message event, this |
| 233 | // value is nil. |
| 234 | Rootscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Root. *MessageEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent# `json:"root"` |
| 235 | } |
| 236 | |
| 237 | // MemberJoinedChannelEvent A member joined a public or private channel |
| 238 | type MemberJoinedChannelEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent# struct { |
| 239 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#Type. string `json:"type"` |
| 240 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#User. string `json:"user"` |
| 241 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#Channel. string `json:"channel"` |
| 242 | ChannelTypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#ChannelType. string `json:"channel_type"` |
| 243 | Teamscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#Team. string `json:"team"` |
| 244 | Inviterscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#Inviter. string `json:"inviter"` |
| 245 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#EventTimestamp. string `json:"event_ts"` |
| 246 | } |
| 247 | |
| 248 | // MemberLeftChannelEvent A member left a public or private channel |
| 249 | type MemberLeftChannelEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent# struct { |
| 250 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent#Type. string `json:"type"` |
| 251 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent#User. string `json:"user"` |
| 252 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent#Channel. string `json:"channel"` |
| 253 | ChannelTypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent#ChannelType. string `json:"channel_type"` |
| 254 | Teamscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent#Team. string `json:"team"` |
| 255 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent#EventTimestamp. string `json:"event_ts"` |
| 256 | } |
| 257 | |
| 258 | type pinEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent# struct { |
| 259 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent#Type. string `json:"type"` |
| 260 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent#User. string `json:"user"` |
| 261 | Itemscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent#Item. Itemscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item# `json:"item"` |
| 262 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent#Channel. string `json:"channel_id"` |
| 263 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent#EventTimestamp. string `json:"event_ts"` |
| 264 | HasPinsscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent#HasPins. bool `json:"has_pins,omitempty"` |
| 265 | } |
| 266 | |
| 267 | type reactionEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent# struct { |
| 268 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent#Type. string `json:"type"` |
| 269 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent#User. string `json:"user"` |
| 270 | Reactionscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent#Reaction. string `json:"reaction"` |
| 271 | ItemUserscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent#ItemUser. string `json:"item_user"` |
| 272 | Itemscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent#Item. Itemscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item# `json:"item"` |
| 273 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent#EventTimestamp. string `json:"event_ts"` |
| 274 | } |
| 275 | |
| 276 | // ReactionAddedEvent An reaction was added to a message - https://api.slack.com/events/reaction_added |
| 277 | type ReactionAddedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionAddedEvent# reactionEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent# |
| 278 | |
| 279 | // ReactionRemovedEvent An reaction was removed from a message - https://api.slack.com/events/reaction_removed |
| 280 | type ReactionRemovedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionRemovedEvent# reactionEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/reactionEvent# |
| 281 | |
| 282 | // PinAddedEvent An item was pinned to a channel - https://api.slack.com/events/pin_added |
| 283 | type PinAddedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinAddedEvent# pinEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent# |
| 284 | |
| 285 | // PinRemovedEvent An item was unpinned from a channel - https://api.slack.com/events/pin_removed |
| 286 | type PinRemovedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinRemovedEvent# pinEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/pinEvent# |
| 287 | |
| 288 | type tokensscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/tokens# struct { |
| 289 | Oauthscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/tokens#Oauth. []string `json:"oauth"` |
| 290 | Botscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/tokens#Bot. []string `json:"bot"` |
| 291 | } |
| 292 | |
| 293 | // TeamJoinEvent A new member joined a workspace - https://api.slack.com/events/team_join |
| 294 | type TeamJoinEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TeamJoinEvent# struct { |
| 295 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TeamJoinEvent#Type. string `json:"type"` |
| 296 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TeamJoinEvent#User. *slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/User# `json:"user"` |
| 297 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TeamJoinEvent#EventTimestamp. string `json:"event_ts"` |
| 298 | } |
| 299 | |
| 300 | // TokensRevokedEvent APP's API tokens are revoked - https://api.slack.com/events/tokens_revoked |
| 301 | type TokensRevokedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TokensRevokedEvent# struct { |
| 302 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TokensRevokedEvent#Type. string `json:"type"` |
| 303 | Tokensscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TokensRevokedEvent#Tokens. tokensscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/tokens# `json:"tokens"` |
| 304 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TokensRevokedEvent#EventTimestamp. string `json:"event_ts"` |
| 305 | } |
| 306 | |
| 307 | // EmojiChangedEvent is the event of custom emoji has been added or changed |
| 308 | type EmojiChangedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent# struct { |
| 309 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#Type. string `json:"type"` |
| 310 | Subtypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#Subtype. string `json:"subtype"` |
| 311 | EventTimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#EventTimeStamp. string `json:"event_ts"` |
| 312 | |
| 313 | // filled out when custom emoji added |
| 314 | Namescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#Name. string `json:"name,omitempty"` |
| 315 | |
| 316 | // filled out when custom emoji removed |
| 317 | Namesscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#Names. []string `json:"names,omitempty"` |
| 318 | |
| 319 | // filled out when custom emoji renamed |
| 320 | OldNamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#OldName. string `json:"old_name,omitempty"` |
| 321 | NewNamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#NewName. string `json:"new_name,omitempty"` |
| 322 | |
| 323 | // filled out when custom emoji added or renamed |
| 324 | Valuescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#Value. string `json:"value,omitempty"` |
| 325 | } |
| 326 | |
| 327 | // WorkflowStepExecuteEvent is fired, if a workflow step of your app is invoked |
| 328 | type WorkflowStepExecuteEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecuteEvent# struct { |
| 329 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecuteEvent#Type. string `json:"type"` |
| 330 | CallbackIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecuteEvent#CallbackID. string `json:"callback_id"` |
| 331 | WorkflowStepscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecuteEvent#WorkflowStep. EventWorkflowStepscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep# `json:"workflow_step"` |
| 332 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecuteEvent#EventTimestamp. string `json:"event_ts"` |
| 333 | } |
| 334 | |
| 335 | // MessageMetadataPostedEvent is sent, if a message with metadata is posted |
| 336 | type MessageMetadataPostedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent# struct { |
| 337 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#Type. string `json:"type"` |
| 338 | AppIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#AppId. string `json:"app_id"` |
| 339 | BotIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#BotId. string `json:"bot_id"` |
| 340 | UserIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#UserId. string `json:"user_id"` |
| 341 | TeamIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#TeamId. string `json:"team_id"` |
| 342 | ChannelIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#ChannelId. string `json:"channel_id"` |
| 343 | Metadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#Metadata. *slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.SlackMetadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/SlackMetadata# `json:"metadata"` |
| 344 | MessageTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#MessageTimestamp. string `json:"message_ts"` |
| 345 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#EventTimestamp. string `json:"event_ts"` |
| 346 | } |
| 347 | |
| 348 | // MessageMetadataUpdatedEvent is sent, if a message with metadata is deleted |
| 349 | type MessageMetadataUpdatedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent# struct { |
| 350 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#Type. string `json:"type"` |
| 351 | ChannelIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#ChannelId. string `json:"channel_id"` |
| 352 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#EventTimestamp. string `json:"event_ts"` |
| 353 | PreviousMetadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#PreviousMetadata. *slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.SlackMetadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/SlackMetadata# `json:"previous_metadata"` |
| 354 | AppIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#AppId. string `json:"app_id"` |
| 355 | BotIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#BotId. string `json:"bot_id"` |
| 356 | UserIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#UserId. string `json:"user_id"` |
| 357 | TeamIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#TeamId. string `json:"team_id"` |
| 358 | MessageTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#MessageTimestamp. string `json:"message_ts"` |
| 359 | Metadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#Metadata. *slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.SlackMetadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/SlackMetadata# `json:"metadata"` |
| 360 | } |
| 361 | |
| 362 | // MessageMetadataDeletedEvent is sent, if a message with metadata is deleted |
| 363 | type MessageMetadataDeletedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent# struct { |
| 364 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#Type. string `json:"type"` |
| 365 | ChannelIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#ChannelId. string `json:"channel_id"` |
| 366 | EventTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#EventTimestamp. string `json:"event_ts"` |
| 367 | PreviousMetadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#PreviousMetadata. *slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.SlackMetadatascip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/SlackMetadata# `json:"previous_metadata"` |
| 368 | AppIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#AppId. string `json:"app_id"` |
| 369 | BotIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#BotId. string `json:"bot_id"` |
| 370 | UserIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#UserId. string `json:"user_id"` |
| 371 | TeamIdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#TeamId. string `json:"team_id"` |
| 372 | MessageTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#MessageTimestamp. string `json:"message_ts"` |
| 373 | DeletedTimestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#DeletedTimestamp. string `json:"deleted_ts"` |
| 374 | } |
| 375 | |
| 376 | type EventWorkflowStepscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep# struct { |
| 377 | WorkflowStepExecuteIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep#WorkflowStepExecuteID. string `json:"workflow_step_execute_id"` |
| 378 | WorkflowIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep#WorkflowID. string `json:"workflow_id"` |
| 379 | WorkflowInstanceIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep#WorkflowInstanceID. string `json:"workflow_instance_id"` |
| 380 | StepIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep#StepID. string `json:"step_id"` |
| 381 | Inputsscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep#Inputs. *slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.WorkflowStepInputsscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/WorkflowStepInputs# `json:"inputs,omitempty"` |
| 382 | Outputsscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventWorkflowStep#Outputs. *[]slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/.WorkflowStepOutputscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/WorkflowStepOutput# `json:"outputs,omitempty"` |
| 383 | } |
| 384 | |
| 385 | // JSONTime exists so that we can have a String method converting the date |
| 386 | type JSONTimescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/JSONTime# int64 |
| 387 | |
| 388 | // Comment contains all the information relative to a comment |
| 389 | type Commentscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Comment# struct { |
| 390 | IDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Comment#ID. string `json:"id,omitempty"` |
| 391 | Createdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Comment#Created. JSONTimescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/JSONTime# `json:"created,omitempty"` |
| 392 | Timestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Comment#Timestamp. JSONTimescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/JSONTime# `json:"timestamp,omitempty"` |
| 393 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Comment#User. string `json:"user,omitempty"` |
| 394 | Commentscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Comment#Comment. string `json:"comment,omitempty"` |
| 395 | } |
| 396 | |
| 397 | // File is a file upload |
| 398 | type Filescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File# struct { |
| 399 | IDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#ID. string `json:"id"` |
| 400 | Createdscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Created. int `json:"created"` |
| 401 | Timestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Timestamp. int `json:"timestamp"` |
| 402 | Namescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Name. string `json:"name"` |
| 403 | Titlescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Title. string `json:"title"` |
| 404 | Mimetypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Mimetype. string `json:"mimetype"` |
| 405 | Filetypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Filetype. string `json:"filetype"` |
| 406 | PrettyTypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#PrettyType. string `json:"pretty_type"` |
| 407 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#User. string `json:"user"` |
| 408 | Editablescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Editable. bool `json:"editable"` |
| 409 | Sizescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Size. int `json:"size"` |
| 410 | Modescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Mode. string `json:"mode"` |
| 411 | IsExternalscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#IsExternal. bool `json:"is_external"` |
| 412 | ExternalTypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#ExternalType. string `json:"external_type"` |
| 413 | IsPublicscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#IsPublic. bool `json:"is_public"` |
| 414 | PublicURLSharedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#PublicURLShared. bool `json:"public_url_shared"` |
| 415 | DisplayAsBotscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#DisplayAsBot. bool `json:"display_as_bot"` |
| 416 | Usernamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Username. string `json:"username"` |
| 417 | URLPrivatescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#URLPrivate. string `json:"url_private"` |
| 418 | URLPrivateDownloadscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#URLPrivateDownload. string `json:"url_private_download"` |
| 419 | Thumb64scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb64. string `json:"thumb_64"` |
| 420 | Thumb80scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb80. string `json:"thumb_80"` |
| 421 | Thumb360scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb360. string `json:"thumb_360"` |
| 422 | Thumb360Wscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb360W. int `json:"thumb_360_w"` |
| 423 | Thumb360Hscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb360H. int `json:"thumb_360_h"` |
| 424 | Thumb480scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb480. string `json:"thumb_480"` |
| 425 | Thumb480Wscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb480W. int `json:"thumb_480_w"` |
| 426 | Thumb480Hscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb480H. int `json:"thumb_480_h"` |
| 427 | Thumb160scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb160. string `json:"thumb_160"` |
| 428 | Thumb720scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb720. string `json:"thumb_720"` |
| 429 | Thumb720Wscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb720W. int `json:"thumb_720_w"` |
| 430 | Thumb720Hscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb720H. int `json:"thumb_720_h"` |
| 431 | Thumb800scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb800. string `json:"thumb_800"` |
| 432 | Thumb800Wscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb800W. int `json:"thumb_800_w"` |
| 433 | Thumb800Hscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb800H. int `json:"thumb_800_h"` |
| 434 | Thumb960scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb960. string `json:"thumb_960"` |
| 435 | Thumb960Wscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb960W. int `json:"thumb_960_w"` |
| 436 | Thumb960Hscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb960H. int `json:"thumb_960_h"` |
| 437 | Thumb1024scip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb1024. string `json:"thumb_1024"` |
| 438 | Thumb1024Wscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb1024W. int `json:"thumb_1024_w"` |
| 439 | Thumb1024Hscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Thumb1024H. int `json:"thumb_1024_h"` |
| 440 | ImageExifRotationscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#ImageExifRotation. int `json:"image_exif_rotation"` |
| 441 | OriginalWscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#OriginalW. int `json:"original_w"` |
| 442 | OriginalHscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#OriginalH. int `json:"original_h"` |
| 443 | Permalinkscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#Permalink. string `json:"permalink"` |
| 444 | PermalinkPublicscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File#PermalinkPublic. string `json:"permalink_public"` |
| 445 | } |
| 446 | |
| 447 | // Edited is included when a Message is edited |
| 448 | type Editedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Edited# struct { |
| 449 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Edited#User. string `json:"user"` |
| 450 | TimeStampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Edited#TimeStamp. string `json:"ts"` |
| 451 | } |
| 452 | |
| 453 | // Icon is used for bot messages |
| 454 | type Iconscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Icon# struct { |
| 455 | IconURLscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Icon#IconURL. string `json:"icon_url,omitempty"` |
| 456 | IconEmojiscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Icon#IconEmoji. string `json:"icon_emoji,omitempty"` |
| 457 | } |
| 458 | |
| 459 | // Item is any type of slack message - message, file, or file comment. |
| 460 | type Itemscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item# struct { |
| 461 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item#Type. string `json:"type"` |
| 462 | Channelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item#Channel. string `json:"channel,omitempty"` |
| 463 | Messagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item#Message. *ItemMessagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage# `json:"message,omitempty"` |
| 464 | Filescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item#File. *Filescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/File# `json:"file,omitempty"` |
| 465 | Commentscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item#Comment. *Commentscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Comment# `json:"comment,omitempty"` |
| 466 | Timestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Item#Timestamp. string `json:"ts,omitempty"` |
| 467 | } |
| 468 | |
| 469 | // ItemMessage is the event message |
| 470 | type ItemMessagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage# struct { |
| 471 | Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage#Type. string `json:"type"` |
| 472 | Userscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage#User. string `json:"user"` |
| 473 | Textscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage#Text. string `json:"text"` |
| 474 | Timestampscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage#Timestamp. string `json:"ts"` |
| 475 | PinnedToscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage#PinnedTo. []string `json:"pinned_to"` |
| 476 | ReplaceOriginalscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage#ReplaceOriginal. bool `json:"replace_original"` |
| 477 | DeleteOriginalscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ItemMessage#DeleteOriginal. bool `json:"delete_original"` |
| 478 | } |
| 479 | |
| 480 | // IsEdited checks if the MessageEvent is caused by an edit |
| 481 | func (e MessageEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#) IsEditedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#IsEdited().() bool { |
| 482 | return e.Messagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Message. != nil && |
| 483 | e.Messagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Message..Editedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#Edited. != nil |
| 484 | } |
| 485 | |
| 486 | type EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType# string |
| 487 | |
| 488 | const ( |
| 489 | // AppMention is an Events API subscribable event |
| 490 | AppMentionscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMention. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("app_mention") |
| 491 | // AppHomeOpened Your Slack app home was opened |
| 492 | AppHomeOpenedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpened. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("app_home_opened") |
| 493 | // AppUninstalled Your Slack app was uninstalled. |
| 494 | AppUninstalledscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppUninstalled. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("app_uninstalled") |
| 495 | // ChannelCreated is sent when a new channel is created. |
| 496 | ChannelCreatedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreated. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("channel_created") |
| 497 | // ChannelDeleted is sent when a channel is deleted. |
| 498 | ChannelDeletedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelDeleted. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("channel_deleted") |
| 499 | // ChannelArchive is sent when a channel is archived. |
| 500 | ChannelArchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchive. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("channel_archive") |
| 501 | // ChannelUnarchive is sent when a channel is unarchived. |
| 502 | ChannelUnarchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchive. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("channel_unarchive") |
| 503 | // ChannelLeft is sent when a channel is left. |
| 504 | ChannelLeftscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelLeft. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("channel_left") |
| 505 | // ChannelRename is sent when a channel is rename. |
| 506 | ChannelRenamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRename. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("channel_rename") |
| 507 | // ChannelIDChanged is sent when a channel identifier is changed. |
| 508 | ChannelIDChangedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChanged. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("channel_id_changed") |
| 509 | // GroupDeleted is sent when a group is deleted. |
| 510 | GroupDeletedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupDeleted. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("group_deleted") |
| 511 | // GroupArchive is sent when a group is archived. |
| 512 | GroupArchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupArchive. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("group_archive") |
| 513 | // GroupUnarchive is sent when a group is unarchived. |
| 514 | GroupUnarchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupUnarchive. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("group_unarchive") |
| 515 | // GroupLeft is sent when a group is left. |
| 516 | GroupLeftscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupLeft. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("group_left") |
| 517 | // GroupRename is sent when a group is renamed. |
| 518 | GroupRenamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRename. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("group_rename") |
| 519 | // GridMigrationFinished An enterprise grid migration has finished on this workspace. |
| 520 | GridMigrationFinishedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationFinished. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("grid_migration_finished") |
| 521 | // GridMigrationStarted An enterprise grid migration has started on this workspace. |
| 522 | GridMigrationStartedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationStarted. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("grid_migration_started") |
| 523 | // LinkShared A message was posted containing one or more links relevant to your application |
| 524 | LinkSharedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkShared. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("link_shared") |
| 525 | // Message A message was posted to a channel, private channel (group), im, or mim |
| 526 | Messagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Message. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("message") |
| 527 | // Member Joined Channel |
| 528 | MemberJoinedChannelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannel. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("member_joined_channel") |
| 529 | // Member Left Channel |
| 530 | MemberLeftChannelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannel. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("member_left_channel") |
| 531 | // PinAdded An item was pinned to a channel |
| 532 | PinAddedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinAdded. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("pin_added") |
| 533 | // PinRemoved An item was unpinned from a channel |
| 534 | PinRemovedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinRemoved. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("pin_removed") |
| 535 | // ReactionAdded An reaction was added to a message |
| 536 | ReactionAddedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionAdded. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("reaction_added") |
| 537 | // ReactionRemoved An reaction was removed from a message |
| 538 | ReactionRemovedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionRemoved. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("reaction_removed") |
| 539 | // TeamJoin A new user joined the workspace |
| 540 | TeamJoinscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TeamJoin. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("team_join") |
| 541 | // TokensRevoked APP's API tokes are revoked |
| 542 | TokensRevokedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TokensRevoked. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("tokens_revoked") |
| 543 | // EmojiChanged A custom emoji has been added or changed |
| 544 | EmojiChangedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChanged. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("emoji_changed") |
| 545 | // WorkflowStepExecute Happens, if a workflow step of your app is invoked |
| 546 | WorkflowStepExecutescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecute. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("workflow_step_execute") |
| 547 | // MessageMetadataPosted A message with metadata was posted |
| 548 | MessageMetadataPostedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPosted. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("message_metadata_posted") |
| 549 | // MessageMetadataPosted A message with metadata was updated |
| 550 | MessageMetadataUpdatedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdated. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("message_metadata_updated") |
| 551 | // MessageMetadataPosted A message with metadata was deleted |
| 552 | MessageMetadataDeletedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeleted. = EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#("message_metadata_deleted") |
| 553 | ) |
| 554 | |
| 555 | // EventsAPIInnerEventMapping maps INNER Event API events to their corresponding struct |
| 556 | // implementations. The structs should be instances of the unmarshalling |
| 557 | // target for the matching event type. |
| 558 | var EventsAPIInnerEventMappingscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIInnerEventMapping. = map[EventsAPITypescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EventsAPIType#]interface{}{ |
| 559 | AppMentionscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMention.: AppMentionEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppMentionEvent#{}, |
| 560 | AppHomeOpenedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpened.: AppHomeOpenedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppHomeOpenedEvent#{}, |
| 561 | AppUninstalledscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppUninstalled.: AppUninstalledEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/AppUninstalledEvent#{}, |
| 562 | ChannelCreatedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreated.: ChannelCreatedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelCreatedEvent#{}, |
| 563 | ChannelDeletedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelDeleted.: ChannelDeletedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelDeletedEvent#{}, |
| 564 | ChannelArchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchive.: ChannelArchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelArchiveEvent#{}, |
| 565 | ChannelUnarchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchive.: ChannelUnarchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelUnarchiveEvent#{}, |
| 566 | ChannelLeftscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelLeft.: ChannelLeftEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelLeftEvent#{}, |
| 567 | ChannelRenamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRename.: ChannelRenameEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelRenameEvent#{}, |
| 568 | ChannelIDChangedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChanged.: ChannelIDChangedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ChannelIDChangedEvent#{}, |
| 569 | GroupDeletedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupDeleted.: GroupDeletedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupDeletedEvent#{}, |
| 570 | GroupArchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupArchive.: GroupArchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupArchiveEvent#{}, |
| 571 | GroupUnarchivescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupUnarchive.: GroupUnarchiveEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupUnarchiveEvent#{}, |
| 572 | GroupLeftscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupLeft.: GroupLeftEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupLeftEvent#{}, |
| 573 | GroupRenamescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRename.: GroupRenameEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GroupRenameEvent#{}, |
| 574 | GridMigrationFinishedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationFinished.: GridMigrationFinishedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationFinishedEvent#{}, |
| 575 | GridMigrationStartedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationStarted.: GridMigrationStartedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/GridMigrationStartedEvent#{}, |
| 576 | LinkSharedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkShared.: LinkSharedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/LinkSharedEvent#{}, |
| 577 | Messagescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/Message.: MessageEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageEvent#{}, |
| 578 | MemberJoinedChannelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannel.: MemberJoinedChannelEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberJoinedChannelEvent#{}, |
| 579 | MemberLeftChannelscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannel.: MemberLeftChannelEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MemberLeftChannelEvent#{}, |
| 580 | PinAddedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinAdded.: PinAddedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinAddedEvent#{}, |
| 581 | PinRemovedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinRemoved.: PinRemovedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/PinRemovedEvent#{}, |
| 582 | ReactionAddedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionAdded.: ReactionAddedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionAddedEvent#{}, |
| 583 | ReactionRemovedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionRemoved.: ReactionRemovedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/ReactionRemovedEvent#{}, |
| 584 | TeamJoinscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TeamJoin.: TeamJoinEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TeamJoinEvent#{}, |
| 585 | TokensRevokedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TokensRevoked.: TokensRevokedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/TokensRevokedEvent#{}, |
| 586 | EmojiChangedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChanged.: EmojiChangedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/EmojiChangedEvent#{}, |
| 587 | WorkflowStepExecutescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecute.: WorkflowStepExecuteEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/WorkflowStepExecuteEvent#{}, |
| 588 | MessageMetadataPostedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPosted.: MessageMetadataPostedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataPostedEvent#{}, |
| 589 | MessageMetadataUpdatedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdated.: MessageMetadataUpdatedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataUpdatedEvent#{}, |
| 590 | MessageMetadataDeletedscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeleted.: MessageMetadataDeletedEventscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack/slackevents`/MessageMetadataDeletedEvent#{}, |
| 591 | } |