Can Telegram Bot sends message to group

telegram-bot

I create a group on Telegram and created a bot and add in.

I am trying to send a message to group that I created and the error shown as below

{"ok":false,"error_code":403,"description":"[Error]: Forbidden: can't write to chat with deleted user"}

I have use getUpdates from Bot Documents and managed to get chat id and doesn't work again for me. p2p (private type message) works for me but not group type.

Any advice please? Thank you.

Best Answer

Yes you can, you have to invite the bot into the group, grab the chat_id of the group and send the message as you are sending a normal message to a private user.

The error message is self-explanatory tough.