diff --git a/telethon/telegram_bare_client.py b/telethon/telegram_bare_client.py index ba6ae374..bee3ecdd 100644 --- a/telethon/telegram_bare_client.py +++ b/telethon/telegram_bare_client.py @@ -556,6 +556,13 @@ class TelegramBareClient: (code request sent and confirmed)?""" return self._authorized + def get_input_entity(self, peer): + """ + Stub method, no functionality so that calling + ``.get_input_entity()`` from ``.resolve()`` doesn't fail. + """ + return peer + # endregion # region Updates handling