diff --git a/basethon/__init__.py b/basethon/__init__.py index b0c3ddf..4a970d9 100644 --- a/basethon/__init__.py +++ b/basethon/__init__.py @@ -1,5 +1,5 @@ from .base_session import BaseSession -from .base_thon import BaseThon +from .base_thon import BaseData, BaseThon from .json_converter import JsonConverter -__all__ = ["BaseThon", "BaseSession", "JsonConverter"] +__all__ = ["BaseThon", "BaseSession", "JsonConverter", "BaseData"] diff --git a/basethon/consts.py b/basethon/consts.py new file mode 100644 index 0000000..2872bfb --- /dev/null +++ b/basethon/consts.py @@ -0,0 +1,14 @@ +API_PACKS = { + 4: "android", + 5: "android", + 6: "android", + 8: "ios", + 9: "macos", + 2834: "macos", + 2040: "tdesktop", + 10840: "ios", + 17349: "tdesktop", + 21724: "android", + 16623: "android", + 2496: "", +}