diff --git a/src/bot.py b/src/bot.py index c18adbf..197e8e9 100644 --- a/src/bot.py +++ b/src/bot.py @@ -9,7 +9,7 @@ def send_msg(text: str): baseurl = "api.telegram.org" url = f"{baseurl}/bot{token}" - payload = dict(user_id=chanel_id, text=text) + payload = dict(chat_id=chanel_id, text=text) try: requests.post(url=url, params=payload)