Telethon/tl/__init__.py

10 lines
324 B
Python
Raw Normal View History

import os
# Only import most stuff if the TLObjects were generated
if os.path.isfile('tl/all_tlobjects.py'):
from .all_tlobjects import tlobjects
from .session import Session
from .mtproto_request import MTProtoRequest
from .telegram_client import TelegramClient
del os
2016-09-04 13:42:11 +03:00
from .tlobject import TLObject, TLArg