Telethon/telethon/__init__.py

19 lines
548 B
Python
Raw Normal View History

2021-09-12 14:27:13 +03:00
# Note: the import order matters
from ._misc import helpers # no dependencies
from . import _tl # no dependencies
from ._misc import utils # depends on helpers and _tl
2021-09-12 17:23:55 +03:00
from ._misc import hints # depends on types/custom
2021-09-12 14:27:13 +03:00
from ._client.telegramclient import TelegramClient
2021-09-12 14:27:13 +03:00
from ._network import connection
from ._tl.custom import Button
2018-11-03 14:44:49 +03:00
from . import version, events, utils, errors
__version__ = version.__version__
2018-06-13 12:41:12 +03:00
__all__ = [
'TelegramClient', 'Button',
'types', 'functions', 'custom', 'errors',
'events', 'utils', 'connection'
]