This is optional and will send you all messages you would get by using the Slack integration. To add this functionality these steps are needed:
- add the BotFather
- create a custom Bot
- obtain your chatId
Open this link https://t.me/botfather and send him /start
.
Send the BotFather /newbot
and choose a name, this will show up as a chat name.
Now you have to give it some random name which also has to be set as
telegramBotUsername
in the config.properties.
Next send /token
and select your newly created bot. Take the HTTP API token and
set it as telegramApiToken
in the config.
Send @yourNewBot1334 a message, a simple Hello is enough.
Now replace $(HTTP-TOKEN)
in this link https://api.telegram.org/bot$(HTTP-TOKEN)/getUpdates
and
open it with a browser. Search for the "id" in this JSON response and save the number behind to the config.
Send a /start
message to @myidbot (https://t.me/myidbot), followed by a /getid
message. The bot will reply with your chat id. Put that to your config.