Skip to content

Commit

Permalink
fix parse_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoom-Developer committed Nov 5, 2024
1 parent 025a151 commit f85a5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/src/infrastructure/telegram/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f85a5af

Please sign in to comment.