0 Gateway config (channel rules)
Ejaz edited this page 2022-04-14 17:26:40 +01:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Channel configuration for each protocol

⚠️ Needs to be lowercase

Below you can find how the channels (protocolchannel and protocol2channel) should be filled in:

  • discord
    • channel_name
      • without the #
    • ID:123456789
      • where 123456789 is the channel ID
  • gitter
    • username/room
      • as seen in the gitter.im url
  • hipchat
    • id_channel
      • see here for the correct channel
  • irc
    • #channel_name
      • # is required
      • must be lowercase
  • keybase
    • channel_name
      • without the #
      • if your team doesnt have multiple channels, use general
  • matrix
    • #channel:server
      • (local) address/alias
      • e.g. #yourchannel:matrix.org
      • encrypted rooms are not supported in matrix
  • mattermost
  • msteams
    • `channel=“19:82caxxxxxxxxxxxxxxxxxxxxxxxx@thread.skype”
  • mumble
    • channel id
      • The channel ID, as shown in the channels “Edit” window
  • nctalk
    • channel
      • The token in the URL when you are in a chat. It will be the last part of the URL.
      • eg xs25tz5y
  • 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
    • channel
      • a large negative number, eg -123456789
      • more information
      • ⚠️ telegram channels will always return unknown users. telegram groups will show usernames if possible
  • twitch
    • see irc
  • vk
    • a number that starts form 2000000000
    • use --debug and send any message in chat to get PeerID in the logs
    • if bot is only in one chat PeerID most likely 2000000001
  • whatsapp
    • 48111222333-123455678999@g.us
      • a unique group JID
      • if you specify an empty string bridge will list all the possibilities
    • "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 #

Discord

See Section docs for special features