mirror of
https://github.com/acgnhiki/blrec.git
synced 2025-01-14 20:30:08 +08:00
fix telegram bot notification
This commit is contained in:
parent
1fd94c3958
commit
a8a2924e1c
@ -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',
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user