You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
480 B
Go
22 lines
480 B
Go
8 years ago
|
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 {
|
||
5 years ago
|
Conversation
|
||
|
IsUserDeleted bool `json:"is_user_deleted"`
|
||
8 years ago
|
}
|