devforth / hothost

Lightweight and minimalistic open-source Servers and HTTP monitor
MIT License
169 stars 14 forks source link

Can't get telegram bot working #25

Open N1k145 opened 1 year ago

N1k145 commented 1 year ago

When I try to setup the telegram bot I can't send a test message, it always prints undefinedChatId and invalidChatId in the docker log.

When I send a message to the bot it seems that it can't get the chat id.

When I set the chat id manually in the JSON file as "telegramLastChannelId": "12345" (with my correct Id) I don't get the error anymore but I also don't get a message

Is this something you can look into?

edoardolimone commented 1 year ago

HotHost_issue I've the same problem in a docker installation. When I try to send the test message after the configuration, the LOG register this event:

Incorrect chat id

and

[90mundefined chatId

SkiperX commented 9 months ago

Notifications in Telegram and Gmail do not work

SkiperX commented 9 months ago

Please make telegram chat id a separate field, now it’s not clear how to make sure that it is defined correctly in the application. And how to change it

SkiperX commented 9 months ago

Managed to launch telegram alerts 1) create a volume for the data folder volumes:

ivictbor commented 6 months ago

Thanks, we will take a look. We are now working on v2. Probably fix will be there, probably in this version. @MultiFox200 how do you think?