Files
fredy/lib/notification/adapter/telegram.md
Alexander Roidl 2b36f868e7 Project-wide linting and formatting (#150)
* chore: configure project-wide linting and formatting

* chore: run lint autofix and formatter
2025-07-26 20:42:58 +02:00

631 B

Telegram Adapter

For Telegram, you need to create a Bot. This is pretty easy. Open this url on your smartphone and follow the instructions.

A telegram bot is not allowed to send messages directly to a user, you as a user need to first contact the bot to get a chatId.
After the user has send a message to your bot the first time, you can gather the chatId like this:

curl -X GET https://api.telegram.org/bot{YOUR_TELEGRAM_TOKEN}/getUpdates

A more detailed list of instructions can be found here https://core.telegram.org/bots#botfather