85 lines
2.2 KiB
TOML
85 lines
2.2 KiB
TOML
|
#https://github.com/42wim/matterbridge
|
||
|
|
||
|
###################################################################
|
||
|
#XMPP section - berriketak
|
||
|
###################################################################
|
||
|
[xmpp]
|
||
|
[xmpp.telegram_berriketak]
|
||
|
#Server="lainoa.eus:5222"
|
||
|
Server="server:5222"
|
||
|
#Jid="admin@lainoa.eus"
|
||
|
Jid="admin@lainoa.eus"
|
||
|
#Password="sagastarri996X"
|
||
|
Password="sagastarri996"
|
||
|
Muc="conference.lainoa.eus"
|
||
|
Nick="Admin"
|
||
|
SkipTLSVerify=true
|
||
|
#IgnoreNicks="ircspammer1 ircspammer2"
|
||
|
#RemoteNickFormat="[{NICK}] "
|
||
|
RemoteNickFormat="{TENGO}({PROTOCOL}) "
|
||
|
ShowJoinPart=false
|
||
|
|
||
|
###################################################################
|
||
|
#telegram section - berriketak
|
||
|
###################################################################
|
||
|
[telegram]
|
||
|
[telegram.berriket_xmppBot]
|
||
|
Token="434963747:AAHRbJAw9oN30b9KdjWacnyYyHS22r056SM" #token berriket_xmppBot
|
||
|
MessageFormat="HTMLNick"
|
||
|
EditDisable=false
|
||
|
EditSuffix=" (edited)"
|
||
|
IgnoreNicks="spammer1 spammer2"
|
||
|
RemoteNickFormat="{NICK}: "
|
||
|
ShowJoinPart=false
|
||
|
UseInsecureURL=true
|
||
|
MediaConvertWebPToPNG=true
|
||
|
DisableWebPagePreview=false
|
||
|
|
||
|
[tengo]
|
||
|
#RemoteNickFormat="remotenickformat.tengo"
|
||
|
RemoteNickFormat="/etc/matterbridge/nicks.tengo"
|
||
|
#InMessage="/etc/matterbridge/in.tengo"
|
||
|
OutMessage="/etc/matterbridge/out.tengo"
|
||
|
|
||
|
###################################################################
|
||
|
#gateway section
|
||
|
###################################################################
|
||
|
[[gateway]]
|
||
|
name="gateway_berriketak"
|
||
|
enable=true
|
||
|
|
||
|
[[gateway.inout]]
|
||
|
account="xmpp.telegram_berriketak"
|
||
|
channel="berriketak"
|
||
|
#channel="test"
|
||
|
|
||
|
[[gateway.inout]]
|
||
|
account="telegram.berriket_xmppBot"
|
||
|
channel="-183435536" #Telegram berriketak taldearen ID-a
|
||
|
|
||
|
[[gateway]]
|
||
|
name="test"
|
||
|
enable=true
|
||
|
|
||
|
[[gateway.inout]]
|
||
|
account="xmpp.telegram_berriketak"
|
||
|
channel="test"
|
||
|
|
||
|
[[gateway.inout]]
|
||
|
account="telegram.berriket_xmppBot"
|
||
|
#channel="-241666435" #Telegram xmpp_test taldearen ID-a
|
||
|
channel="-1001617641457"
|
||
|
|
||
|
#[[gateway]]
|
||
|
#name="etxekok"
|
||
|
#enable=true
|
||
|
|
||
|
# [[gateway.inout]]
|
||
|
# account="xmpp.telegram_berriketak"
|
||
|
# channel="etxekok"
|
||
|
|
||
|
# [[gateway.inout]]
|
||
|
# account="telegram.berriket_xmppBot"
|
||
|
# channel="-523032" #Telegram etxekok taldearen ID-a
|
||
|
|