| 1 | package slack |
| 2 | |
| 3 | type imChannel struct { |
| 4 | ID string `json:"id"` |
| 5 | } |
| 6 | |
| 7 | type imResponseFull struct { |
| 8 | NoOp bool `json:"no_op"` |
| 9 | AlreadyClosed bool `json:"already_closed"` |
| 10 | AlreadyOpen bool `json:"already_open"` |
| 11 | Channel imChannel `json:"channel"` |
| 12 | IMs []IM `json:"ims"` |
| 13 | History |
| 14 | SlackResponse |
| 15 | } |
| 16 | |
| 17 | // IM contains information related to the Direct Message channel |
| 18 | type IM struct { |
| 19 | Conversation |
| 20 | IsUserDeleted bool `json:"is_user_deleted"` |
| 21 | } |