From 604c3de070a6f318347fc0ebcf101402d7726cd7 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sun, 12 Sep 2021 16:05:56 +0200 Subject: [PATCH] Move custom and core objects to a new subpackage This should keep it cleaner, as now _tl is fully auto-generated. --- telethon/{_tl/core => types/_core}/__init__.py | 0 telethon/{_tl/core => types/_core}/gzippacked.py | 0 telethon/{_tl/core => types/_core}/messagecontainer.py | 0 telethon/{_tl/core => types/_core}/rpcresult.py | 0 telethon/{_tl/core => types/_core}/tlmessage.py | 0 telethon/{_tl/custom => types/_custom}/__init__.py | 0 telethon/{_tl/custom => types/_custom}/adminlogevent.py | 0 telethon/{_tl/custom => types/_custom}/button.py | 0 telethon/{_tl/custom => types/_custom}/chatgetter.py | 0 telethon/{_tl/custom => types/_custom}/dialog.py | 0 telethon/{_tl/custom => types/_custom}/draft.py | 0 telethon/{_tl/custom => types/_custom}/file.py | 0 telethon/{_tl/custom => types/_custom}/forward.py | 0 telethon/{_tl/custom => types/_custom}/inlinebuilder.py | 0 telethon/{_tl/custom => types/_custom}/inlineresult.py | 0 telethon/{_tl/custom => types/_custom}/inlineresults.py | 0 telethon/{_tl/custom => types/_custom}/inputsizedfile.py | 0 telethon/{_tl/custom => types/_custom}/message.py | 0 telethon/{_tl/custom => types/_custom}/messagebutton.py | 0 telethon/{_tl/custom => types/_custom}/participantpermissions.py | 0 telethon/{_tl/custom => types/_custom}/qrlogin.py | 0 telethon/{_tl/custom => types/_custom}/sendergetter.py | 0 telethon/{_tl => types}/tlobject.py | 0 23 files changed, 0 insertions(+), 0 deletions(-) rename telethon/{_tl/core => types/_core}/__init__.py (100%) rename telethon/{_tl/core => types/_core}/gzippacked.py (100%) rename telethon/{_tl/core => types/_core}/messagecontainer.py (100%) rename telethon/{_tl/core => types/_core}/rpcresult.py (100%) rename telethon/{_tl/core => types/_core}/tlmessage.py (100%) rename telethon/{_tl/custom => types/_custom}/__init__.py (100%) rename telethon/{_tl/custom => types/_custom}/adminlogevent.py (100%) rename telethon/{_tl/custom => types/_custom}/button.py (100%) rename telethon/{_tl/custom => types/_custom}/chatgetter.py (100%) rename telethon/{_tl/custom => types/_custom}/dialog.py (100%) rename telethon/{_tl/custom => types/_custom}/draft.py (100%) rename telethon/{_tl/custom => types/_custom}/file.py (100%) rename telethon/{_tl/custom => types/_custom}/forward.py (100%) rename telethon/{_tl/custom => types/_custom}/inlinebuilder.py (100%) rename telethon/{_tl/custom => types/_custom}/inlineresult.py (100%) rename telethon/{_tl/custom => types/_custom}/inlineresults.py (100%) rename telethon/{_tl/custom => types/_custom}/inputsizedfile.py (100%) rename telethon/{_tl/custom => types/_custom}/message.py (100%) rename telethon/{_tl/custom => types/_custom}/messagebutton.py (100%) rename telethon/{_tl/custom => types/_custom}/participantpermissions.py (100%) rename telethon/{_tl/custom => types/_custom}/qrlogin.py (100%) rename telethon/{_tl/custom => types/_custom}/sendergetter.py (100%) rename telethon/{_tl => types}/tlobject.py (100%) 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