diff --git a/pyrogram/client/methods/messages/send_message.py b/pyrogram/client/methods/messages/send_message.py index d8ee87af..f719031c 100644 --- a/pyrogram/client/methods/messages/send_message.py +++ b/pyrogram/client/methods/messages/send_message.py @@ -151,7 +151,10 @@ class SendMessage(BaseClient): text=message, date=r.date, outgoing=r.out, - entities=entities, + entities=[ + pyrogram.MessageEntity._parse(None, entity, {}) + for entity in entities + ], client=self )