diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index 5d3f5ae2..05b4af7e 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -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,