telegram-bot-api icon indicating copy to clipboard operation
telegram-bot-api copied to clipboard

One group with multiple bot

Open FannyLee opened this issue 7 years ago • 6 comments

Hi, I have a problem with this module, if in a group have one more bot, the bot can't work, why? >< help me, please ><

thank you

FannyLee avatar Apr 26 '17 07:04 FannyLee

My guess would be the privacy settings of the bots. I think I remember that if set to "has no access to messages", then only the last bot will be able to work. Try to change the privacy settings via not father to "has access to messages"

realestninja avatar Apr 26 '17 09:04 realestninja

I meant 'botfather' - autocorrect typo

realestninja avatar Apr 26 '17 09:04 realestninja

luke, i am not your father.

Blockchainsorbankrupt avatar Aug 17 '18 20:08 Blockchainsorbankrupt

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.

https://core.telegram.org/bots/faq#what-messages-will-my-bot-get

jimmybrawn avatar Mar 14 '20 00:03 jimmybrawn

If its blocked, how can i send a command message for example: /start and using the same bot to execute it? Currently the bot cant read its own commands.

masterchop avatar Jun 15 '20 07:06 masterchop

I use bot together with other bots in a chat groups. You can implement special "commands", for example, !command params and parse it inside your bot as regular message. All bots will receive those commands tho, so you might want to define special pattern (in my case it's !command) that will be understood by your bot only.

mast avatar Jun 16 '20 16:06 mast