mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Fix message entities being kept unparsed for private messages
Closes #386
This commit is contained in:
parent
374dc6d143
commit
ef5fa8f70b
@ -151,7 +151,10 @@ class SendMessage(BaseClient):
|
|||||||
text=message,
|
text=message,
|
||||||
date=r.date,
|
date=r.date,
|
||||||
outgoing=r.out,
|
outgoing=r.out,
|
||||||
entities=entities,
|
entities=[
|
||||||
|
pyrogram.MessageEntity._parse(None, entity, {})
|
||||||
|
for entity in entities
|
||||||
|
],
|
||||||
client=self
|
client=self
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user