From d82ef211cfa658d1be432ebcc70f5e8844a3fa54 Mon Sep 17 00:00:00 2001 From: Mike Shultz Date: Mon, 11 May 2020 13:50:04 -0600 Subject: [PATCH] filter out messages from 777000 (Telegram Service Messages) --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 7b818dc..2b58657 100644 --- a/bot.py +++ b/bot.py @@ -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) ))