N
N
not-deanon2017-10-27 16:53:56
Messengers
not-deanon, 2017-10-27 16:53:56

Why doesn't sending a message to a group using the telegram bot work?

Hello!
I send messages using a bot, it sends users without problems, but there is no group. group id is present (with a minus).
https://api.telegram.org/bot[bot]/sendMessage?disa...
But the error is reported:
{"ok":false,"error_code":400,"description":"Bad Request: chat not found "}
What's wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThisFruit, 2021-09-04
@ThisFruit

Maybe someone will help. Telegram throws this error when the bot is not added to the chat on chats or if you simply did not write to the bot

O
Oleg Polyakov, 2017-10-27
@challenger1401

https://core.telegram.org/api/errors

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question