From 54cdb3f368a4417259ff7293ddf3d7d0654866be Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 30 May 2022 23:29:18 +0300 Subject: [PATCH] #7 Notifier inconsistent naming fix. --- telegram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram.py b/telegram.py index a4b0bea..bf39403 100644 --- a/telegram.py +++ b/telegram.py @@ -108,9 +108,9 @@ class Notifier: time.sleep(1) self.sent_counter = 0 - def __send_update(self, telegram_id: int, update: FeedItem): + def __send_update(self, chat_id: int, update: FeedItem): self.bot.send_message( - chat_id=telegram_id, + chat_id=chat_id, text=self.__format_message(update), parse_mode='HTML' )