mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix default parse mode
This commit is contained in:
parent
a2cb637ed9
commit
df6a861276
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class TelegramMethod(abc.ABC, BaseModel, Generic[T]):
|
|||
self.prepare_parse_mode(item)
|
||||
return
|
||||
|
||||
if "parse_mode" not in root:
|
||||
if root.get("parse_mode"):
|
||||
return
|
||||
|
||||
from ..client.bot import Bot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue