Updated Gateway config (channel rules) (markdown)

Wim 2019-11-17 21:54:18 +01:00
parent bde2505450
commit 6cca00cf77

@ -4,40 +4,21 @@
Below you can find how the channels (`protocolchannel` and `protocol2channel`) should be filled in: 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 - discord
- `channel_name` - `channel_name`
- without the # - without the #
- `ID:123456789` - `ID:123456789`
- where 123456789 is the channel ID - 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 - gitter
- `username/room` - `username/room`
- as seen in the gitter.im url - 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 - hipchat
- `id_channel` - `id_channel`
- see [here](https://www.hipchat.com/account/xmpp) for the correct channel - see [here](https://www.hipchat.com/account/xmpp) for the correct channel
- rocketchat - irc
- `#channel_name` - `#channel_name`
- \# is required (also for private channels) - \# is required
- must be lowercase
- keybase - keybase
- `channel_name` - `channel_name`
- without the # - without the #
@ -46,10 +27,29 @@ Below you can find how the channels (`protocolchannel` and `protocol2channel`) s
- `#channel:server` - `#channel:server`
- e.g. `#yourchannel:matrix.org` - e.g. `#yourchannel:matrix.org`
- encrypted rooms are not supported in matrix - 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 - steam
- `chatid` - `chatid`
- a large number - a large number
- the number in the URL when you click "enter chat room" in the browser - 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 - whatsapp
- `48111222333-123455678999@g.us` - `48111222333-123455678999@g.us`
- a unique group JID - a unique group JID
@ -57,6 +57,8 @@ Below you can find how the channels (`protocolchannel` and `protocol2channel`) s
- `"Group Name"` - `"Group Name"`
- if you specify a group name the bridge will hint its JID to - 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 specify as group names might change in time and contain weird emoticons
- xmpp
- `channel_name`
- zulip - zulip
- `stream/topic:mytopic` - `stream/topic:mytopic`
- without the # - without the #