A bot to synchronise chat between an DC hub and a Telegram supergroup. https://code.ivysaur.me/nmdc-telegramfrontend/
Go to file
2018-06-03 15:28:05 +12:00
vendor vendor dependencies (dep) 2018-06-03 15:28:05 +12:00
Gopkg.lock vendor dependencies (dep) 2018-06-03 15:28:05 +12:00
Gopkg.toml vendor dependencies (dep) 2018-06-03 15:28:05 +12:00
main.go initial commit 2018-06-03 15:27:50 +12:00
NTFConfig.go initial commit 2018-06-03 15:27:50 +12:00
NTFServer.go initial commit 2018-06-03 15:27:50 +12:00
README.txt initial commit 2018-06-03 15:27:50 +12:00
upstreamWorker.go initial commit 2018-06-03 15:27:50 +12:00
version.go initial commit 2018-06-03 15:27:50 +12:00

A bot to synchronise an NMDC hub with a Telegram supergroup.

## USAGE

Create a new bot
	- Use BotFather to create a new bot
	- Use BotFather to change its privacy mode for group chats
	
Create a group
	- Manually create a group chat and add the bot to it
	- Convert group chat to supergroup
	- Grant bot to be an administrator (including ability to add more administrators)
	- Settings > "Who can add members" > Only administrators
	- Create an invite link
	
Start nmdc-telegramfrontend
	- Run this bot with no -GroupChatID, to learn the groupchat ID
	- Post a test message in the group chat, to discover the groupchat ID
	- Leave the group chat
	- Run this bot with -GroupChatID for normal operation