mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 00:04:14 +03:00
Fix message entities being ignored by edit_message
This commit is contained in:
parent
8194288797
commit
c11aefa95b
|
@ -711,7 +711,8 @@ class TelegramClient(TelegramBareClient):
|
||||||
peer=self.get_input_entity(entity),
|
peer=self.get_input_entity(entity),
|
||||||
id=self._get_message_id(message_id),
|
id=self._get_message_id(message_id),
|
||||||
message=message,
|
message=message,
|
||||||
no_webpage=not link_preview
|
no_webpage=not link_preview,
|
||||||
|
entities=msg_entities
|
||||||
)
|
)
|
||||||
result = self(request)
|
result = self(request)
|
||||||
return self._get_response_message(request, result)
|
return self._get_response_message(request, result)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user