#7 Notifier inconsistent naming fix.
This commit is contained in:
parent
8554689fef
commit
54cdb3f368
|
@ -108,9 +108,9 @@ class Notifier:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
self.sent_counter = 0
|
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(
|
self.bot.send_message(
|
||||||
chat_id=telegram_id,
|
chat_id=chat_id,
|
||||||
text=self.__format_message(update),
|
text=self.__format_message(update),
|
||||||
parse_mode='HTML'
|
parse_mode='HTML'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue