From a8a2924e1cffd9246b932d7187868456ee5582e4 Mon Sep 17 00:00:00 2001
From: SiHuan <sihuan@sakuya.love>
Date: Mon, 9 May 2022 11:10:49 +0800
Subject: [PATCH] fix telegram bot notification

---
 src/blrec/notification/providers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/blrec/notification/providers.py b/src/blrec/notification/providers.py
index 8e5d72f..7cc8089 100644
--- a/src/blrec/notification/providers.py
+++ b/src/blrec/notification/providers.py
@@ -214,7 +214,7 @@ class Telegram(MessagingProvider):
     async def _post_message(self, title: str, content: str) -> None:
         url = f'https://api.telegram.org/bot{self.token}/sendMessage'
         payload = {
-            'chatid': self.chatid,
+            'chat_id': self.chatid,
             'text': title + '\n' + content,
             'parse_mode': 'HTML',
         }