Simple gitlab telegram bot that listen to gitlab webhooks and send each event to the authenticated chats
https://core.telegram.org/bots
Create a new bot https://core.telegram.org/bots#create-a-new-bot and then copy the token to the token file.
Only work with python3
- Run the app.py in your server
- Create a webhook in your gitlab project that points to http://yourserver:10111/
- Digite "conectar" para começar a receber as mensagens
- You will receive each event in your repo
R. Digite /sair para parar de receber as notificações
R. Digite /conectar ao invés de conectar, todos os comandos quando executados em grupos tem que ser precedidos de "/"
- chats, the json with all the chats to send notifications
- token, the bot token
- offset, the last msg id received from telegram api