diff --git a/pyrogram/py.typed b/pyrogram/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py index 1a24654c..66ede506 100644 --- a/setup.py +++ b/setup.py @@ -172,6 +172,9 @@ setup( "Documentation": "https://docs.pyrogram.org", }, python_requires="~=3.6", + package_data = { + "pyrogram": ["py.typed"], + }, packages=find_packages(exclude=["compiler*", "tests*"]), zip_safe=False, install_requires=requires,