From f85a5af9dc3630a5da1c14d629b76a9b14668716 Mon Sep 17 00:00:00 2001 From: Zoom-Developer Date: Tue, 5 Nov 2024 21:52:27 +0300 Subject: [PATCH] fix parse_mode --- bot/src/infrastructure/telegram/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/infrastructure/telegram/bot.py b/bot/src/infrastructure/telegram/bot.py index 0c6058d..4f8b8a4 100644 --- a/bot/src/infrastructure/telegram/bot.py +++ b/bot/src/infrastructure/telegram/bot.py @@ -4,7 +4,7 @@ from config import TG_TOKEN -bot = Bot(TG_TOKEN) +bot = Bot(TG_TOKEN, parse_mode = "html") async def send_media(chat_id: int, text: str, files: list[str], reply_to: int = None, parse_mode: str = "html") -> None: await bot.send_media_group(