mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-22 00:10:58 +01:00
retrieving the ID from the web interface is much easier.
parent
0c0a7d6812
commit
696ff44b4f
@ -5,8 +5,31 @@
|
|||||||
Token="Yourtokenhere"
|
Token="Yourtokenhere"
|
||||||
RemoteNickFormat="({PROTOCOL}) {NICK} "
|
RemoteNickFormat="({PROTOCOL}) {NICK} "
|
||||||
MessageFormat="HTMLNick"
|
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
|
## Retrieving your chat number from Matterbridge
|
||||||
### Setup
|
### Setup
|
||||||
Matterbridge can output your chat number as debug information. Here's how.
|
Matterbridge can output your chat number as debug information. Here's how.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user