mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Remove all deprecated methods
This commit is contained in:
@@ -423,11 +423,6 @@ class TelegramBaseClient(abc.ABC):
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
async def invoke(self, *args, **kwargs):
|
||||
warnings.warn('client.invoke(...) is deprecated, '
|
||||
'use client(...) instead')
|
||||
self(*args, **kwargs)
|
||||
|
||||
@abc.abstractmethod
|
||||
def _handle_update(self, update):
|
||||
raise NotImplementedError
|
||||
|
Reference in New Issue
Block a user