mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-09 23:40:27 +00:00
Update documentation and sample (telegram)
This commit is contained in:
parent
2867ec459a
commit
2e4b7fac11
@ -1,7 +1,7 @@
|
|||||||
# matterbridge
|
# matterbridge
|
||||||
Simple bridge between mattermost, IRC, XMPP, Gitter, Slack and Discord
|
Simple bridge between mattermost, IRC, XMPP, Gitter, Slack, Discord and Telegram.
|
||||||
|
|
||||||
* Relays public channel messages between multiple mattermost, IRC, XMPP, Gitter, Slack and Discord. Pick and mix.
|
* Relays public channel messages between multiple mattermost, IRC, XMPP, Gitter, Slack, Discord and Telegram. Pick and mix.
|
||||||
* Supports multiple channels.
|
* Supports multiple channels.
|
||||||
* Matterbridge can also work with private groups on your mattermost.
|
* Matterbridge can also work with private groups on your mattermost.
|
||||||
* Allow for bridging the same bridges, which means you can eg bridge between multiple mattermosts.
|
* Allow for bridging the same bridges, which means you can eg bridge between multiple mattermosts.
|
||||||
@ -21,6 +21,7 @@ Accounts to one of the supported bridges
|
|||||||
* [Gitter] (https://gitter.im)
|
* [Gitter] (https://gitter.im)
|
||||||
* [Slack] (https://slack.com)
|
* [Slack] (https://slack.com)
|
||||||
* [Discord] (https://discordapp.com)
|
* [Discord] (https://discordapp.com)
|
||||||
|
* [Telegram] (https://telegram.org)
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
Create your matterbridge.toml file locally eg in ```/tmp/matterbridge.toml```
|
Create your matterbridge.toml file locally eg in ```/tmp/matterbridge.toml```
|
||||||
|
@ -342,6 +342,36 @@ RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
|
|||||||
#OPTIONAL (default false)
|
#OPTIONAL (default false)
|
||||||
ShowJoinPart=false
|
ShowJoinPart=false
|
||||||
|
|
||||||
|
###################################################################
|
||||||
|
#telegram section
|
||||||
|
###################################################################
|
||||||
|
[telegram]
|
||||||
|
|
||||||
|
#You can configure multiple servers "[telegram.name]" or "[telegram.name2]"
|
||||||
|
#In this example we use [telegram.secure]
|
||||||
|
#REQUIRED
|
||||||
|
[telegram.secure]
|
||||||
|
#Token to connect with telegram API
|
||||||
|
#REQUIRED
|
||||||
|
Token="Yourtokenhere"
|
||||||
|
|
||||||
|
#Nicks you want to ignore.
|
||||||
|
#Messages from those users will not be sent to other bridges.
|
||||||
|
#OPTIONAL
|
||||||
|
IgnoreNicks="spammer1 spammer2"
|
||||||
|
|
||||||
|
#RemoteNickFormat defines how remote users appear on this bridge
|
||||||
|
#The string "{NICK}" (case sensitive) will be replaced by the actual nick / username.
|
||||||
|
#The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge
|
||||||
|
#The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge
|
||||||
|
#OPTIONAL (default empty)
|
||||||
|
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
|
||||||
|
|
||||||
|
#Enable to show users joins/parts from other bridges (only from irc-bridge at the moment)
|
||||||
|
#OPTIONAL (default false)
|
||||||
|
ShowJoinPart=false
|
||||||
|
|
||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
#Gateway configuration
|
#Gateway configuration
|
||||||
###################################################################
|
###################################################################
|
||||||
@ -381,6 +411,7 @@ enable=true
|
|||||||
#discord - channel (without the #)
|
#discord - channel (without the #)
|
||||||
# - ID:123456789 (where 123456789 is the channel ID)
|
# - ID:123456789 (where 123456789 is the channel ID)
|
||||||
# (https://github.com/42wim/matterbridge/issues/57)
|
# (https://github.com/42wim/matterbridge/issues/57)
|
||||||
|
#telegram - chatid (a large negative number, eg -123456789)
|
||||||
#REQUIRED
|
#REQUIRED
|
||||||
channel="#testing"
|
channel="#testing"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user