Fix message entities being ignored by edit_message

This commit is contained in:
Lonami Exo 2018-02-16 13:42:12 +01:00
parent 8194288797
commit c11aefa95b

View File

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