retrieving the ID from the web interface is much easier.

Mark Glasgow 2022-03-18 12:42:49 +00:00
parent 0c0a7d6812
commit 696ff44b4f

@ -5,8 +5,31 @@
Token="Yourtokenhere"
RemoteNickFormat="({PROTOCOL}) {NICK} "
MessageFormat="HTMLNick"
IgnoreMessages="^/" #Ignore bot command spam
```
Here is an example gateway bridging `Discord`<>`Telegram`
```toml
[[gateway]]
name="YourUniqueGateWayName"
enable=true
[[gateway.inout]]
account="telegram.mytelegram"
channel="-100xxx"
[[gateway.inout]]
account="discord.mydiscord"
channel="channel-name"
```
The easiest way to retrieve your channel id is to navigate to https://web.telegram.org/ and simply copy the numbers at the end of the hyperlink into the `xxx` position.
To add more nodes to this bridge, you simply need to add additional `[[gateway.inout]]` fields.
## Retrieving your chat number from Matterbridge
### Setup
Matterbridge can output your chat number as debug information. Here's how.