# 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 from ._tl import custom # depends on utils from ._misc import hints # depends on custom from ._client.telegramclient import TelegramClient from ._network import connection from ._tl.custom import Button from . import version, events, utils, errors __version__ = version.__version__ __all__ = [ 'TelegramClient', 'Button', 'types', 'functions', 'custom', 'errors', 'events', 'utils', 'connection' ]