From 6cca00cf777b3ec3a3b0e5d8d360dd254781021a Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 17 Nov 2019 21:54:18 +0100 Subject: [PATCH] Updated Gateway config (channel rules) (markdown) --- Gateway-config-(channel-rules).md | 46 ++++++++++++++++--------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/Gateway-config-(channel-rules).md b/Gateway-config-(channel-rules).md index 19cf2ab..6c21d16 100644 --- a/Gateway-config-(channel-rules).md +++ b/Gateway-config-(channel-rules).md @@ -4,40 +4,21 @@ Below you can find how the channels (`protocolchannel` and `protocol2channel`) should be filled in: -- irc - - `#channel_name` - - \# is required - - must be lowercase -- slack - - `channel_name` - - without the # - - `ID:C123456` - - where C123456 is the channel ID - - does not work with webhook - discord - `channel_name` - without the # - `ID:123456789` - where 123456789 is the channel ID -- mattermost - - `channel_name` - - the channel name as seen in the URL, not the displayname - - https://yourmattermostserver/yourteam/channels/channel_name <- channel_name - gitter - `username/room` - as seen in the gitter.im url -- xmpp - - `channel_name` -- telegram - - `chatid` - - a large negative number, eg -123456789 - - [more information](https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau) - hipchat - `id_channel` - see [here](https://www.hipchat.com/account/xmpp) for the correct channel -- rocketchat +- irc - `#channel_name` - - \# is required (also for private channels) + - \# is required + - must be lowercase - keybase - `channel_name` - without the # @@ -46,10 +27,29 @@ Below you can find how the channels (`protocolchannel` and `protocol2channel`) s - `#channel:server` - e.g. `#yourchannel:matrix.org` - encrypted rooms are not supported in matrix +- mattermost + - `channel_name` + - the channel name as seen in the URL, not the displayname + - https://yourmattermostserver/yourteam/channels/channel_name <- channel_name +- rocketchat + - `#channel_name` + - \# is required (also for private channels) +- slack + - `channel_name` + - without the # + - `ID:C123456` + - where C123456 is the channel ID + - does not work with webhook +- sshchat + - `channel_name` must be `channel="sshchat"` - steam - `chatid` - a large number - the number in the URL when you click "enter chat room" in the browser +- telegram + - `chatid` + - a large negative number, eg -123456789 + - [more information](https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau) - whatsapp - `48111222333-123455678999@g.us` - a unique group JID @@ -57,6 +57,8 @@ Below you can find how the channels (`protocolchannel` and `protocol2channel`) s - `"Group Name"` - if you specify a group name the bridge will hint its JID to specify as group names might change in time and contain weird emoticons +- xmpp + - `channel_name` - zulip - `stream/topic:mytopic` - without the #