Closed belogolovm closed 2 years ago
I read and understood that only admin user should be in this variable. And so, I created a new bot, created a new chat, added the bot to administrators, add its token in the config, add my id. And no notifications, why?
docker logs:
level=warn ts=2021-12-14T11:05:46.775793017Z caller=bot.go:300 component=telegram msg="failed to send message to subscribed chat" err="api error: Bad Request: chat not found"
The admin is an actual user account. Meaning, that would be you with your own account to control some admin aspects of the bot.
The admin is an actual user account. Meaning, that would be you with your own account to control some admin aspects of the bot.
I get it, thanks! But the problem is not solved, the bot ignores the chat, it was added to the chat by the administrator, but it does not listen to commands. And when I write to him /start, he sends only to me, not to the chat
Thank! The problem turned out to be that I was creating a channel, not a group.
Hello! Help, please... Everything works if I put TELEGRAM_ADMIN on my id, but if I put the group chat is "-xxxx" then messages do not come and the bot does not respond in group chat to /status@mybot
Am I specifying the variable correctly?
alertmanager-bot: command: