Codebase list golang-github-nlopes-slack / 74f694f websocket_groups.go
74f694f

Tree @74f694f (Download .tar.gz)

websocket_groups.go @74f694fraw · history · blame

package slack

type GroupCreatedEvent struct {
	Type    string             `json:"type"`
	User    string             `json:"user"`
	Channel ChannelCreatedInfo `json:"channel"`
}

// XXX: Should we really do this? event.Group is probably nicer than event.Channel
// even though the api returns "channel"
type GroupMarkedEvent ChannelInfoEvent
type GroupOpenEvent ChannelInfoEvent
type GroupCloseEvent ChannelInfoEvent
type GroupArchiveEvent ChannelInfoEvent
type GroupUnarchiveEvent ChannelInfoEvent
type GroupLeftEvent ChannelInfoEvent
type GroupJoinedEvent ChannelJoinedEvent
type GroupRenameEvent ChannelRenameEvent
type GroupHistoryChangedEvent ChannelHistoryChangedEvent