mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
7cac3668d6
This allows "from telethon.types import Message" to work. Closes #3929. Not entirely sure how it used to work before, perhaps it got changed at some point but this should revert previous behaviour.
14 lines
407 B
Python
14 lines
407 B
Python
from .client.telegramclient import TelegramClient
|
|
from .network import connection
|
|
from .tl.custom import Button
|
|
from .tl import patched as _ # import for its side-effects
|
|
from . import version, events, utils, errors, types, functions, custom
|
|
|
|
__version__ = version.__version__
|
|
|
|
__all__ = [
|
|
'TelegramClient', 'Button',
|
|
'types', 'functions', 'custom', 'errors',
|
|
'events', 'utils', 'connection'
|
|
]
|