5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-28 17:11:36 +00:00
matterbridge/vendor/github.com/slack-go/slack/im.go
Wim a0bca42a7a
Update vendor (#1461)
* Update vendored libs

* Fix slack api changes
2021-05-05 22:03:28 +02:00

22 lines
480 B
Go

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"`
}