summaryrefslogtreecommitdiffstats
path: root/bridge/config
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/config')
-rw-r--r--bridge/config/config.go31
1 files changed, 21 insertions, 10 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index 932de2eb..3d1206c7 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -14,16 +14,17 @@ import (
)
const (
- EventJoinLeave = "join_leave"
- EventTopicChange = "topic_change"
- EventFailure = "failure"
- EventFileFailureSize = "file_failure_size"
- EventAvatarDownload = "avatar_download"
- EventRejoinChannels = "rejoin_channels"
- EventUserAction = "user_action"
- EventMsgDelete = "msg_delete"
- EventAPIConnected = "api_connected"
- EventUserTyping = "user_typing"
+ EventJoinLeave = "join_leave"
+ EventTopicChange = "topic_change"
+ EventFailure = "failure"
+ EventFileFailureSize = "file_failure_size"
+ EventAvatarDownload = "avatar_download"
+ EventRejoinChannels = "rejoin_channels"
+ EventUserAction = "user_action"
+ EventMsgDelete = "msg_delete"
+ EventAPIConnected = "api_connected"
+ EventUserTyping = "user_typing"
+ EventGetChannelMembers = "get_channel_members"
)
type Message struct {
@@ -61,6 +62,16 @@ type ChannelInfo struct {
Options ChannelOptions
}
+type ChannelMember struct {
+ Username string
+ Nick string
+ UserID string
+ ChannelID string
+ ChannelName string
+}
+
+type ChannelMembers []ChannelMember
+
type Protocol struct {
AuthCode string // steam
BindAddress string // mattermost, slack // DEPRECATED