Why does my Telegram bot reply to commands but leave group ads up?
First identify where the ad appeared. For a member’s post in a group, check whether the bot can receive ordinary messages, whether it can delete posts in that chat, and whether the group’s rules cover the post. A private reply to /start only tests the private chat.
Identify the chat first
A promotion posted by a group member, an unsolicited direct message, and a sponsored message in a channel appear in different places. A group grants deletion rights for its own chat. The steps below apply to a member’s post there.
Separate command delivery from message delivery
According to the Telegram Bots FAQ, a non-admin bot with privacy mode enabled can still receive commands addressed to it and certain replies. Open the group’s administrator list and check the full @username, particularly if two bots have similar avatars. An administrator bot can receive ordinary posts from users in the group.
Check deletion rights in the relevant group
In a supergroup, open the bot’s administrator permissions and look for Delete messages. The Bot API lists different deletion conditions for basic groups and supergroups. For ordinary chat messages, deleteMessage also has a limit of less than 48 hours after sending. Start with a fresh post so that age does not confound the test.
Trace one fresh post through the group’s settings
If you use AdBlock for Bot, check the selected group, the protection switch and the allowlist. If the post has a moderation record, compare the applied rule with the action recorded. If it has no record, save the time, group name and message link for the admin handling the case. A post still being visible does not establish whether the bot received it.
Define a successful check
In a test group, have an ordinary member send a sample agreed with the owner. Compare the timestamp, applicable rule, moderation record and actual outcome. If a legitimate link to an official website is removed too, review that rule and the scope of its exceptions before applying it elsewhere.