diff --git a/telethon/_tl/core/__init__.py b/telethon/types/_core/__init__.py similarity index 100% rename from telethon/_tl/core/__init__.py rename to telethon/types/_core/__init__.py diff --git a/telethon/_tl/core/gzippacked.py b/telethon/types/_core/gzippacked.py similarity index 100% rename from telethon/_tl/core/gzippacked.py rename to telethon/types/_core/gzippacked.py diff --git a/telethon/_tl/core/messagecontainer.py b/telethon/types/_core/messagecontainer.py similarity index 100% rename from telethon/_tl/core/messagecontainer.py rename to telethon/types/_core/messagecontainer.py diff --git a/telethon/_tl/core/rpcresult.py b/telethon/types/_core/rpcresult.py similarity index 100% rename from telethon/_tl/core/rpcresult.py rename to telethon/types/_core/rpcresult.py diff --git a/telethon/_tl/core/tlmessage.py b/telethon/types/_core/tlmessage.py similarity index 100% rename from telethon/_tl/core/tlmessage.py rename to telethon/types/_core/tlmessage.py diff --git a/telethon/_tl/custom/__init__.py b/telethon/types/_custom/__init__.py similarity index 100% rename from telethon/_tl/custom/__init__.py rename to telethon/types/_custom/__init__.py diff --git a/telethon/_tl/custom/adminlogevent.py b/telethon/types/_custom/adminlogevent.py similarity index 100% rename from telethon/_tl/custom/adminlogevent.py rename to telethon/types/_custom/adminlogevent.py diff --git a/telethon/_tl/custom/button.py b/telethon/types/_custom/button.py similarity index 100% rename from telethon/_tl/custom/button.py rename to telethon/types/_custom/button.py diff --git a/telethon/_tl/custom/chatgetter.py b/telethon/types/_custom/chatgetter.py similarity index 100% rename from telethon/_tl/custom/chatgetter.py rename to telethon/types/_custom/chatgetter.py diff --git a/telethon/_tl/custom/dialog.py b/telethon/types/_custom/dialog.py similarity index 100% rename from telethon/_tl/custom/dialog.py rename to telethon/types/_custom/dialog.py diff --git a/telethon/_tl/custom/draft.py b/telethon/types/_custom/draft.py similarity index 100% rename from telethon/_tl/custom/draft.py rename to telethon/types/_custom/draft.py diff --git a/telethon/_tl/custom/file.py b/telethon/types/_custom/file.py similarity index 100% rename from telethon/_tl/custom/file.py rename to telethon/types/_custom/file.py diff --git a/telethon/_tl/custom/forward.py b/telethon/types/_custom/forward.py similarity index 100% rename from telethon/_tl/custom/forward.py rename to telethon/types/_custom/forward.py diff --git a/telethon/_tl/custom/inlinebuilder.py b/telethon/types/_custom/inlinebuilder.py similarity index 100% rename from telethon/_tl/custom/inlinebuilder.py rename to telethon/types/_custom/inlinebuilder.py diff --git a/telethon/_tl/custom/inlineresult.py b/telethon/types/_custom/inlineresult.py similarity index 100% rename from telethon/_tl/custom/inlineresult.py rename to telethon/types/_custom/inlineresult.py diff --git a/telethon/_tl/custom/inlineresults.py b/telethon/types/_custom/inlineresults.py similarity index 100% rename from telethon/_tl/custom/inlineresults.py rename to telethon/types/_custom/inlineresults.py diff --git a/telethon/_tl/custom/inputsizedfile.py b/telethon/types/_custom/inputsizedfile.py similarity index 100% rename from telethon/_tl/custom/inputsizedfile.py rename to telethon/types/_custom/inputsizedfile.py diff --git a/telethon/_tl/custom/message.py b/telethon/types/_custom/message.py similarity index 100% rename from telethon/_tl/custom/message.py rename to telethon/types/_custom/message.py diff --git a/telethon/_tl/custom/messagebutton.py b/telethon/types/_custom/messagebutton.py similarity index 100% rename from telethon/_tl/custom/messagebutton.py rename to telethon/types/_custom/messagebutton.py diff --git a/telethon/_tl/custom/participantpermissions.py b/telethon/types/_custom/participantpermissions.py similarity index 100% rename from telethon/_tl/custom/participantpermissions.py rename to telethon/types/_custom/participantpermissions.py diff --git a/telethon/_tl/custom/qrlogin.py b/telethon/types/_custom/qrlogin.py similarity index 100% rename from telethon/_tl/custom/qrlogin.py rename to telethon/types/_custom/qrlogin.py diff --git a/telethon/_tl/custom/sendergetter.py b/telethon/types/_custom/sendergetter.py similarity index 100% rename from telethon/_tl/custom/sendergetter.py rename to telethon/types/_custom/sendergetter.py diff --git a/telethon/_tl/tlobject.py b/telethon/types/tlobject.py similarity index 100% rename from telethon/_tl/tlobject.py rename to telethon/types/tlobject.py