| 1 | package slack |
| 2 | |
| 3 | // IMCreatedEvent represents the IM created event |
| 4 | type IMCreatedEvent struct { |
| 5 | Type string `json:"type"` |
| 6 | User string `json:"user"` |
| 7 | Channel ChannelCreatedInfo `json:"channel"` |
| 8 | } |
| 9 | |
| 10 | // IMHistoryChangedEvent represents the IM history changed event |
| 11 | type IMHistoryChangedEvent ChannelHistoryChangedEvent |
| 12 | |
| 13 | // IMOpenEvent represents the IM open event |
| 14 | type IMOpenEvent ChannelInfoEvent |
| 15 | |
| 16 | // IMCloseEvent represents the IM close event |
| 17 | type IMCloseEvent ChannelInfoEvent |
| 18 | |
| 19 | // IMMarkedEvent represents the IM marked event |
| 20 | type IMMarkedEvent ChannelInfoEvent |
| 21 | |
| 22 | // IMMarkedHistoryChanged represents the IM marked history changed event |
| 23 | type IMMarkedHistoryChanged ChannelInfoEvent |