version=pmwiki-2.2.130 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 author=mkf charset=UTF-8 csum= ctime=1627906711 host=198.251.81.133 name=Openbsd.Matterbridge rev=10 targets= text=matterbrige is a bridge written in go, with support of many protocols and chat programs.%0ain this guide, we will create a bridge from IRC to Telegram.%0a%0a!!configuartion%0a%0afirst, download matterbridge binary from author's github%0a%0a[@%0a$ ftp https://github.com/42wim/matterbridge/releases/download/v1.20.0/matterbridge-1.20.0-openbsd-64bit%0a@]%0a%0a'''Note''': due to a bug in newer version which lead to segfault, 1.20 is used%0a%0aafterwards, create a bot at @botfather in telegram, choose a name for it and disable group privacy, add it to your supergroup and make IRCchannel.%0athen fire up your editor and edit @@matterbridge.toml@@%0a%0a[@%0a[irc.ircbridge]%0aServer="example.com:6667"%0aNick="BotNick"%0a@]%0a%0afirst line defines a new bridge with name @@ircbridge@@, second line sets server and port to connect and last line sets BotNick for our bot%0a%0a'''Note''': currently, only plain-text is supported for IRC.%0a%0a[@%0a[telegram.telebridge]%0aToken="%3ctoken>"%0a@]%0a%0afirst line will adds another bridge and replace %3ctoken> in second line with your bot token.%0a%0a[@%0a[gateway]%0aname="gateway" %0aenable=true%0a%0a[[gateway.inout]] %0aaccount="irc.ircgateway"%0achannel="#channel"%0a %0a[[gateway.inout]]%0aaccount="telegram.telegateway"%0achannel="-10012345678"%0a@]%0a%0ain first three lines defined our gateway with name "gateway", in next lines we have defined our IRC channel ( #channel) with irc.ircgateway bridge and our supergroup with telegateway.%0areplace #channel and -10012345678 as your needs, note that telegram supergroups require -100 before their id.%0a%0athen run @@chmod +x matterbridge-1.20.0-openbsd-64bit@@ and @@./matterbridge-1.20.0-openbsd-64bit@@%0a%0a!!configuration file%0a%0a[@%0a[irc.ircbridge]%0aServer="example.com:6667"%0aNick="BotNick"%0a%0a[telegram.telebridge]%0aToken="%3ctoken>"%0a%0a[gateway]%0aname="gateway" %0aenable=true%0a%0a[[gateway.inout]] %0aaccount="irc.ircgateway"%0achannel="#channel"%0a %0a[[gateway.inout]]%0aaccount="telegram.telegateway"%0achannel="-10012345678"%0a@]%0a%0a!!troubleshooting%0a%0asometimes running matterbridge with @@-d@@ can help.%0a%0aif you can send messages from IRC to telegram, but messages won't come from telegram to IRC, chances are you've not disabled group privacy in botfather.%0a time=1627907605 author:1627907605=mkf diff:1627907605:1627907573:=24d23%0a%3c %0a host:1627907605=198.251.81.133 author:1627907573=mkf diff:1627907573:1627907500:=1a2%0a> %0a14a16%0a> %0a host:1627907573=198.251.81.133 author:1627907500=mkf diff:1627907500:1627907425:=8d7%0a%3c %0a12d10%0a%3c %0a15,16c13,14%0a%3c afterwards, create a bot at @botfather in telegram, choose a name for it and disable group privacy, add it to your supergroup and make IRCchannel.%0a%3c %0a---%0a> afterwards, create a bot at @botfather in telegram, choose a name for it and disable group privacy, add it to your supergroup and make irc channel.%0a> %0a49c47%0a%3c in first three lines defined our gateway with name "gateway", in next lines we have defined our IRC channel ( #channel) with irc.ircgateway bridge and our supergroup with telegateway.%0a---%0a> in first three lines defined our gateway with name "gateway", in next lines we have defined our irc channel ( #channel) with irc.ircgateway bridge and our supergroup with telegateway.%0a55a54%0a> %0a78d76%0a%3c %0a81c79%0a%3c if you can send messages from IRC to telegram, but messages won't come from telegram to IRC, chances are you've not disabled group privacy in botfather.%0a---%0a> if you can send messages from irc to telegram, but messages won't come from telegram to irc, chances are you've not disabled group privacy in botfather.%0a host:1627907500=198.251.81.133 author:1627907425=mkf diff:1627907425:1627907367:=4d3%0a%3c %0a7c6%0a%3c first, download matterbridge binary from author's github%0a---%0a> first, download matterbridge binary%0a host:1627907425=198.251.81.133 author:1627907367=mkf diff:1627907367:1627907341:=15d14%0a%3c %0a host:1627907367=198.251.81.133 author:1627907341=mkf diff:1627907341:1627907247:=10,11c10,11%0a%3c '''Note''': due to a bug in newer version which lead to segfault, 1.20 is used%0a%3c %0a---%0a> 'Note': due to a bug in newer version which lead to segfault, 1.20 is used%0a> %0a22,23c22,23%0a%3c '''Note''': currently, only plain-text is supported for IRC.%0a%3c %0a---%0a> 'Note': currently, only plain-text is supported for IRC.%0a> %0a51d50%0a%3c %0a host:1627907341=198.251.81.133 author:1627907247=mkf diff:1627907247:1627907181:=10,11c10,11%0a%3c 'Note': due to a bug in newer version which lead to segfault, 1.20 is used%0a%3c %0a---%0a> '''Note: due to a bug in newer version which lead to segfault, 1.20 is used%0a> %0a22c22%0a%3c 'Note': currently, only plain-text is supported for IRC.%0a---%0a> '''Note: currently, only plain-text is supported for IRC.%0a host:1627907247=198.251.81.133 author:1627907181=mkf diff:1627907181:1627907132:=71,72d70%0a%3c @]%0a%3c %0a host:1627907181=198.251.81.133 author:1627907132=mkf diff:1627907132:1627906711:minor=4,5d3%0a%3c !!configuartion%0a%3c %0a17,18c15,16%0a%3c Server="example.com:6667"%0a%3c Nick="BotNick"%0a---%0a> Server="example.com:6667" %0a> Nick="BotNick" %0a25c23%0a%3c [telegram.telebridge]%0a---%0a> [telegram.telebridge] %0a32,37c30,35%0a%3c [gateway]%0a%3c name="gateway" %0a%3c enable=true%0a%3c %0a%3c [[gateway.inout]] %0a%3c account="irc.ircgateway"%0a---%0a> [gateway] %0a> name="gateway" %0a> enable=true %0a> %0a> [[gateway.inout]] %0a> account="irc.ircgateway" %0a40,42c38,40%0a%3c [[gateway.inout]]%0a%3c account="telegram.telegateway"%0a%3c channel="-10012345678"%0a---%0a> [[gateway.inout]] %0a> account="telegram.telegateway" %0a> channel="-10012345678" %0a46,74c44%0a%3c replace #channel and -10012345678 as your needs, note that telegram supergroups require -100 before their id.%0a%3c %0a%3c then run @@chmod +x matterbridge-1.20.0-openbsd-64bit@@ and @@./matterbridge-1.20.0-openbsd-64bit@@%0a%3c %0a%3c !!configuration file%0a%3c %0a%3c [@%0a%3c [irc.ircbridge]%0a%3c Server="example.com:6667"%0a%3c Nick="BotNick"%0a%3c %0a%3c [telegram.telebridge]%0a%3c Token="%3ctoken>"%0a%3c %0a%3c [gateway]%0a%3c name="gateway" %0a%3c enable=true%0a%3c %0a%3c [[gateway.inout]] %0a%3c account="irc.ircgateway"%0a%3c channel="#channel"%0a%3c %0a%3c [[gateway.inout]]%0a%3c account="telegram.telegateway"%0a%3c channel="-10012345678"%0a%3c !!troubleshooting%0a%3c sometimes running matterbridge with @@-d@@ can help.%0a%3c %0a%3c if you can send messages from irc to telegram, but messages won't come from telegram to irc, chances are you've not disabled group privacy in botfather.%0a---%0a> replace #channel and -10012345678 as your needs, note that telegram supergroups require -100 before theor id.%0a\ No newline at end of file%0a host:1627907132=198.251.81.133 author:1627906711=mkf diff:1627906711:1627906711:=1,44d0%0a%3c matterbrige is a bridge written in go, with support of many protocols and chat programs.%0a%3c %0a%3c in this guide, we will create a bridge from IRC to Telegram.%0a%3c first, download matterbridge binary%0a%3c [@%0a%3c $ ftp https://github.com/42wim/matterbridge/releases/download/v1.20.0/matterbridge-1.20.0-openbsd-64bit%0a%3c @]%0a%3c '''Note: due to a bug in newer version which lead to segfault, 1.20 is used%0a%3c %0a%3c afterwards, create a bot at @botfather in telegram, choose a name for it and disable group privacy, add it to your supergroup and make irc channel.%0a%3c %0a%3c then fire up your editor and edit @@matterbridge.toml@@%0a%3c [@%0a%3c [irc.ircbridge]%0a%3c Server="example.com:6667" %0a%3c Nick="BotNick" %0a%3c @]%0a%3c %0a%3c first line defines a new bridge with name @@ircbridge@@, second line sets server and port to connect and last line sets BotNick for our bot%0a%3c '''Note: currently, only plain-text is supported for IRC.%0a%3c %0a%3c [@%0a%3c [telegram.telebridge] %0a%3c Token="%3ctoken>"%0a%3c @]%0a%3c %0a%3c first line will adds another bridge and replace %3ctoken> in second line with your bot token.%0a%3c %0a%3c [@%0a%3c [gateway] %0a%3c name="gateway" %0a%3c enable=true %0a%3c %0a%3c [[gateway.inout]] %0a%3c account="irc.ircgateway" %0a%3c channel="#channel"%0a%3c %0a%3c [[gateway.inout]] %0a%3c account="telegram.telegateway" %0a%3c channel="-10012345678" %0a%3c @]%0a%3c %0a%3c in first three lines defined our gateway with name "gateway", in next lines we have defined our irc channel ( #channel) with irc.ircgateway bridge and our supergroup with telegateway.%0a%3c replace #channel and -10012345678 as your needs, note that telegram supergroups require -100 before theor id.%0a\ No newline at end of file%0a host:1627906711=198.251.81.133