telegram-bot-api
telegram-bot-api copied to clipboard
One group with multiple bot
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
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"
I meant 'botfather' - autocorrect typo
luke, i am not your father.
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
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.
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.