linuxserver / docker-healthchecks

GNU General Public License v3.0
177 stars 38 forks source link

Telegram integration #89

Closed SAOPP closed 2 years ago

SAOPP commented 2 years ago

linuxserver.io


Expected Behavior

Hi! Guys, who can explaine me 'bout telegram integration steps, I added token and bot name via variables, open my hc and try to add this integration, but, after send /start to my bot, nothing happens in chat. What I do wrong or how I can set webhook via manage.py?

Current Behavior

Nothing happens in bot chat

Steps to Reproduce

  1. register bot
  2. add variables with token and bot name
  3. add integration
  4. send /start to bot
github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

SAOPP commented 2 years ago

I will answer my own question. I think that this should be added to the section in the Telegram integration description.

In order for the hook from the official documentation to work in the linuxserver container, u need to run the command like this:

docker exec -it name_of_your_container cd /app/healthchecks && python3 ./manage.py settelegramwebhook or connect into the container and change current directory to /app/healthchecks and run command python3 ./manage.py settelegramwebhook. After it, u can open your bot and send /start to it, in an answer u got intergration activate link from your Healthchecks instance. :+1:

image

Cheers! :beers: