Fix message entities being kept unparsed for private messages

Closes #386
This commit is contained in:
Dan 2020-04-12 13:30:59 +02:00
parent 374dc6d143
commit ef5fa8f70b

View File

@ -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
)