python-telegram-bot / python-telegram-bot

We have made you a wrapper you can't refuse
https://python-telegram-bot.org
GNU General Public License v3.0
25.73k stars 5.22k forks source link

bot not seeing other bots messages #842

Closed rjuni0r closed 6 years ago

rjuni0r commented 6 years ago

i´m using python telegram 8 and my bot is not seeing other bots messages. is there any Filter that i have to use to see other bot messages? i am just using Filter.text

it´s ok with people messages that aren't bot

updater = Updater(bot_token)
dp = updater.dispatcher

dp.add_handler(MessageHandler(Filters.text,check_messages))

.

JosXa commented 6 years ago

@rjuni0r Bots cannot communicate with other bots, but there are the following exceptions:

If the channel approach makes sense for you, try Filters.channel_post in conjunction with update.channel_post.message.