I set up Telegram access as described in the guide. Every time I run noti -g I get the following output:
noti -g
$ noti -g 2019/12/18 16:07:19 Bad Request: chat not found
Might be helpful to someone:
t.me/<USERNAME_BOT>
https://api.telegram.org/bot<TOKEN>/getUpdates?offset=0
chatId
@
Solved my own issue. The "Chat ID" is separate from your username, and is a Telegram API construct that must be identified separately.
Most helpful comment
Might be helpful to someone:
t.me/<USERNAME_BOT>
) a message.https://api.telegram.org/bot<TOKEN>/getUpdates?offset=0
and copy the numerical chat id of the message (123456789 or something).chatId
at the config (but without the@
sign).