summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-11-20 17:02:17 +0100
committerWim <wim@42.be>2016-11-20 17:02:17 +0100
commit94ea775232eabfd3945ef9b5d6e93e3505fd4a99 (patch)
tree9930dd9d68cee5e7b8153d3e3345539f21fe1fbe /matterbridge.toml.sample
parent449ed31e25f2c21ac9db258999a5a893889983eb (diff)
parent2e4b7fac1146c186f28599d62379d7e9912fda81 (diff)
downloadmatterbridge-msglm-94ea775232eabfd3945ef9b5d6e93e3505fd4a99.tar.gz
matterbridge-msglm-94ea775232eabfd3945ef9b5d6e93e3505fd4a99.tar.bz2
matterbridge-msglm-94ea775232eabfd3945ef9b5d6e93e3505fd4a99.zip
Merge branch 'telegram'
Add telegram support
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample31
1 files changed, 31 insertions, 0 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index 831e99f2..2e5f8186 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -343,6 +343,36 @@ RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
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
###################################################################
@@ -381,6 +411,7 @@ enable=true
#discord - channel (without the #)
# - ID:123456789 (where 123456789 is the channel ID)
# (https://github.com/42wim/matterbridge/issues/57)
+ #telegram - chatid (a large negative number, eg -123456789)
#REQUIRED
channel="#testing"