mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Add new is_bot method to check if the logged-in user is a bot
This commit is contained in:
@@ -289,6 +289,7 @@ class TelegramBaseClient(abc.ABC):
|
||||
|
||||
# Sometimes we need to know who we are, cache the self peer
|
||||
self._self_input_peer = None
|
||||
self._bot = None
|
||||
|
||||
# endregion
|
||||
|
||||
|
Reference in New Issue
Block a user