Can a Telegram Bot Post Messages in a Group Chat?

I’ve established a Telegram group and incorporated my bot into it. When I try to post a message to the group, I encounter an error. I followed the Bot API instructions to fetch the chat identifier using checkUpdates, which returned a valid ID; however, the bot can only send direct messages, not group messages.

Here is the new error output:

{"result": false, "error": {"code": 403, "info": "Access denied: cannot post to group because the target is inactive."}}

Any ideas on resolving this issue?

try givin the bot admin permissons in the group and re-add it if needed. my bot was blocked until i opened it up properly in group settings.

I encountered a similar issue when I was trying to make my bot interact in a group chat. From my experience, the problem was not only about permissions but also the bot’s activation within the group. Prior to sending group messages, I had to make sure the bot was triggered by a command, which effectively marked it as active in the group. Once I initiated a private conversation with it and then carefully readjusted its settings as an administrator, the issue was resolved. It might be beneficial to re-check the group settings and ensure the bot has engaged with the group properly.