mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Fix wrong check on .send_message (closes #250)
This commit is contained in:
@@ -427,7 +427,7 @@ class TelegramClient(TelegramBareClient):
|
||||
reply_to_msg_id=self._get_reply_to(reply_to)
|
||||
)
|
||||
result = self(request)
|
||||
if isinstance(request, UpdateShortSentMessage):
|
||||
if isinstance(result, UpdateShortSentMessage):
|
||||
return Message(
|
||||
id=result.id,
|
||||
to_id=entity,
|
||||
|
Reference in New Issue
Block a user