What messages will my bot get?
Telegram Bot SupportAll bots, regardless of settings, will receive:
- All service messages.
- All messages from private chats with users.
- All messages from channels where they are a member.
Bot admins and bots with privacy mode disabled will receive all messages except messages sent by other bots.
Bots with privacy mode enabled will receive:
- Commands explicitly meant for them (e.g., /command@this_bot).
- General commands from users (e.g. /start) if the bot was the last bot to send a message to the group.
- Messages sent via this bot.
- Replies to any messages implicitly or explicitly meant for this bot.
Note: Each particular message can only be available to one privacy-enabled bot at a time, i.e., a reply to bot A containing an explicit command for bot B or sent via bot C will only be available to bot A. Replies have the highest priority.
Note: Bots talking to each other could potentially get stuck in unwelcome loops. To avoid this, we decided that bots will not be able to see messages from other bots regardless of mode.
Note: When "All members are administrators" is enabled for a group, a bot in this group is not affected by this; unless it is manually appointed as an administrator, it will not have admin privileges.
This article is part of the Bot API Help — answers to common questions that the Telegram Bot Support volunteers receive.