mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-28 15:09:26 +01:00
clarity
parent
4fd0891c8c
commit
b60ac6d594
@ -88,7 +88,7 @@ Now add this newly created bot to the Telegram chat you're trying to bridge.
|
|||||||
|
|
||||||
### 2. Add your config to Matterbridge.
|
### 2. Add your config to Matterbridge.
|
||||||
|
|
||||||
Here is an example gateway bridging `Discord`<>`Telegram`
|
Here is an example gateway bridging `Discord`<>`Telegram` which should be placed in your `matterbridge.toml` (or equivalent)
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# /
|
# /
|
||||||
@ -96,8 +96,8 @@ Here is an example gateway bridging `Discord`<>`Telegram`
|
|||||||
# /
|
# /
|
||||||
[telegram]
|
[telegram]
|
||||||
[telegram.mytelegram]
|
[telegram.mytelegram]
|
||||||
Token="token"
|
Token="your_token_from_botfather"
|
||||||
RemoteNickFormat="<{NICK}> " # How your message will be bridged.
|
RemoteNickFormat="<{NICK}> " # How your message will be formatted when bridged.
|
||||||
MessageFormat="HTMLNick :"
|
MessageFormat="HTMLNick :"
|
||||||
QuoteFormat="{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})"
|
QuoteFormat="{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})"
|
||||||
QuoteLengthLimit=46 # Truncuate long quotes to prevent spammy bridged messages
|
QuoteLengthLimit=46 # Truncuate long quotes to prevent spammy bridged messages
|
||||||
|
Loading…
Reference in New Issue
Block a user