summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/im.go
blob: 7c4bc257269ccbc7f6c2d816c0b8bd6a31fa36ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 {
	Conversation
	IsUserDeleted bool `json:"is_user_deleted"`
}