电报组读取来自另一个机器人的消息
Telegram group read messages from another bot
我在 1 个组中有 2 个机器人(机器人 A 和机器人 B)。
当用户向群组发送消息时,两个机器人都可以看到。
但是如果机器人 A 或 B 中的任何一个向群组发送消息,none 个机器人可以读取另一个机器人消息。
机器人是否可以读取其他机器人消息?还是自己发的消息?
“getUpdates”功能returns只有来自用户的消息,而不是机器人,有没有办法接收机器人发送的群消息?
谢谢
你不能。这是 Telegram 自己设置的限制。
官方Bot文档在FAQ Section.
下说的很清楚
Why doesn't my bot see messages from other bots?
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.
我在 1 个组中有 2 个机器人(机器人 A 和机器人 B)。
当用户向群组发送消息时,两个机器人都可以看到。
但是如果机器人 A 或 B 中的任何一个向群组发送消息,none 个机器人可以读取另一个机器人消息。
机器人是否可以读取其他机器人消息?还是自己发的消息?
“getUpdates”功能returns只有来自用户的消息,而不是机器人,有没有办法接收机器人发送的群消息?
谢谢
你不能。这是 Telegram 自己设置的限制。
官方Bot文档在FAQ Section.
下说的很清楚Why doesn't my bot see messages from other bots?
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.