filter out messages from 777000 (Telegram Service Messages)

This commit is contained in:
Mike Shultz 2020-05-11 13:50:04 -06:00
parent b0a8bd01b2
commit d82ef211cf
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -703,7 +703,7 @@ class TelegramMonitorBot:
# on noncommand i.e message - echo the message on Telegram
dp.add_handler(MessageHandler(
Filters.all,
Filters.user(777000),
lambda bot, update : self.logger(bot, update)
))