2016-09-05 14:34:37 +00:00
|
|
|
package slack
|
|
|
|
|
|
|
|
type imChannel struct {
|
|
|
|
ID string `json:"id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type imResponseFull struct {
|
|
|
|
NoOp bool `json:"no_op"`
|
|
|
|
AlreadyClosed bool `json:"already_closed"`
|
|
|
|
AlreadyOpen bool `json:"already_open"`
|
|
|
|
Channel imChannel `json:"channel"`
|
|
|
|
IMs []IM `json:"ims"`
|
|
|
|
History
|
|
|
|
SlackResponse
|
|
|
|
}
|
|
|
|
|
|
|
|
// IM contains information related to the Direct Message channel
|
|
|
|
type IM struct {
|
2019-09-07 20:46:58 +00:00
|
|
|
Conversation
|
|
|
|
IsUserDeleted bool `json:"is_user_deleted"`
|
2016-09-05 14:34:37 +00:00
|
|
|
}
|