We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
mypy doesn't pick up type hints[BUG]
<!--
Thanks for reporting issues of python-telegram-bot!

Use this template to notify us if you found a bug.

To make it easier for us to help you please enter detailed information below.

Please note, we only support the latest version of python-telegram-bot and
master branch. Please make sure to upgrade & recreate the issue on the latest
version prior to opening an issue.
-->
### Steps to reproduce
1. import python-telegram-bot modules into your `test.py` file (e.g. `from telegram import InlineKeyboardMarkup`)

2. run `mypy test.py`

3. receive the following output `error: Skipping analyzing 'telegram': found module but no type hints or library stubs`

### Expected behaviour
mypy should pickup the typehints as they've been added in the latest release (version `13` )

### Actual behaviour
mypy doesn't pickup the typehints.

I'm confident this can be solved by either

1. adding `python-telegram-bot` to `typeshed` 
2. adding a `py.typed` file

More information can be found [here.](https://stackoverflow.com/questions/60856237/mypy-cant-find-type-hints-for-black)

### Configuration
**Operating System:**
Ubuntu 18.04

**Version of Python, python-telegram-bot & dependencies:**

``$ python -m telegram``
python-telegram-bot 13.0
certifi 2020.06.20
Python 3.8.0 (default, Oct 30 2020, 19:06:04)  [GCC 7.5.0]
### Logs
```
error: Skipping analyzing 'telegram.ext': found module but no type hints or library stubs
note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
error: Skipping analyzing 'telegram': found module but no type hints or library stubs
error: Skipping analyzing 'telegram.ext': found module but no type hints or library stubs
error: Skipping analyzing 'telegram': found module but no type hints or library stubs
```

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 #!/usr/bin/env python
2 """The setup and build script for the python-telegram-bot library."""
3 
4 import codecs
5 import os
6 import sys
7 
8 from setuptools import setup, find_packages
9 
10 
11 def requirements():
12     """Build the requirements list for this project"""
13     requirements_list = []
14 
15     with open('requirements.txt') as requirements:
16         for install in requirements:
17             requirements_list.append(install.strip())
18 
19     return requirements_list
20 
21 
22 packages = find_packages(exclude=['tests*'])
23 requirements = requirements()
24 
25 # Allow for a package install to not use the vendored urllib3
26 UPSTREAM_URLLIB3_FLAG = '--with-upstream-urllib3'
27 if UPSTREAM_URLLIB3_FLAG in sys.argv:
28     sys.argv.remove(UPSTREAM_URLLIB3_FLAG)
29     requirements.append('urllib3 >= 1.19.1')
30     packages = [x for x in packages if not x.startswith('telegram.vendor.ptb_urllib3')]
31 
32 with codecs.open('README.rst', 'r', 'utf-8') as fd:
33     fn = os.path.join('telegram', 'version.py')
34     with open(fn) as fh:
35         code = compile(fh.read(), fn, 'exec')
36         exec(code)
37 
38     setup(name='python-telegram-bot',
39           version=__version__,
40           author='Leandro Toledo',
41           author_email='devs@python-telegram-bot.org',
42           license='LGPLv3',
43           url='https://python-telegram-bot.org/',
44           keywords='python telegram bot api wrapper',
45           description="We have made you a wrapper you can't refuse",
46           long_description=fd.read(),
47           packages=packages,
48           install_requires=requirements,
49           extras_require={
50               'json': 'ujson',
51               'socks': 'PySocks'
52           },
53           include_package_data=True,
54           classifiers=[
55               'Development Status :: 5 - Production/Stable',
56               'Intended Audience :: Developers',
57               'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
58               'Operating System :: OS Independent',
59               'Topic :: Software Development :: Libraries :: Python Modules',
60               'Topic :: Communications :: Chat',
61               'Topic :: Internet',
62               'Programming Language :: Python',
63               'Programming Language :: Python :: 3',
64               'Programming Language :: Python :: 3.6',
65               'Programming Language :: Python :: 3.7',
66               'Programming Language :: Python :: 3.8',
67               'Programming Language :: Python :: 3.9',
68           ],)
69
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -45,6 +45,7 @@
           description="We have made you a wrapper you can't refuse",
           long_description=fd.read(),
           packages=packages,
+          package_data={'telegram': ['py.typed']},
           install_requires=requirements,
           extras_require={
               'json': 'ujson',

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -45,6 +45,7 @@\n           description=\"We have made you a wrapper you can't refuse\",\n           long_description=fd.read(),\n           packages=packages,\n+          package_data={'telegram': ['py.typed']},\n           install_requires=requirements,\n           extras_require={\n               'json': 'ujson',\n", "issue": "mypy doesn't pick up type hints[BUG]\n<!--\r\nThanks for reporting issues of python-telegram-bot!\r\n\r\nUse this template to notify us if you found a bug.\r\n\r\nTo make it easier for us to help you please enter detailed information below.\r\n\r\nPlease note, we only support the latest version of python-telegram-bot and\r\nmaster branch. Please make sure to upgrade & recreate the issue on the latest\r\nversion prior to opening an issue.\r\n-->\r\n### Steps to reproduce\r\n1. import python-telegram-bot modules into your `test.py` file (e.g. `from telegram import InlineKeyboardMarkup`)\r\n\r\n2. run `mypy test.py`\r\n\r\n3. receive the following output `error: Skipping analyzing 'telegram': found module but no type hints or library stubs`\r\n\r\n### Expected behaviour\r\nmypy should pickup the typehints as they've been added in the latest release (version `13` )\r\n\r\n### Actual behaviour\r\nmypy doesn't pickup the typehints.\r\n\r\nI'm confident this can be solved by either\r\n\r\n1. adding `python-telegram-bot` to `typeshed` \r\n2. adding a `py.typed` file\r\n\r\nMore information can be found [here.](https://stackoverflow.com/questions/60856237/mypy-cant-find-type-hints-for-black)\r\n\r\n### Configuration\r\n**Operating System:**\r\nUbuntu 18.04\r\n\r\n**Version of Python, python-telegram-bot & dependencies:**\r\n\r\n``$ python -m telegram``\r\npython-telegram-bot 13.0\r\ncertifi 2020.06.20\r\nPython 3.8.0 (default, Oct 30 2020, 19:06:04)  [GCC 7.5.0]\r\n### Logs\r\n```\r\nerror: Skipping analyzing 'telegram.ext': found module but no type hints or library stubs\r\nnote: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports\r\nerror: Skipping analyzing 'telegram': found module but no type hints or library stubs\r\nerror: Skipping analyzing 'telegram.ext': found module but no type hints or library stubs\r\nerror: Skipping analyzing 'telegram': found module but no type hints or library stubs\r\n```\n", "before_files": [{"content": "#!/usr/bin/env python\n\"\"\"The setup and build script for the python-telegram-bot library.\"\"\"\n\nimport codecs\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\n\n\ndef requirements():\n    \"\"\"Build the requirements list for this project\"\"\"\n    requirements_list = []\n\n    with open('requirements.txt') as requirements:\n        for install in requirements:\n            requirements_list.append(install.strip())\n\n    return requirements_list\n\n\npackages = find_packages(exclude=['tests*'])\nrequirements = requirements()\n\n# Allow for a package install to not use the vendored urllib3\nUPSTREAM_URLLIB3_FLAG = '--with-upstream-urllib3'\nif UPSTREAM_URLLIB3_FLAG in sys.argv:\n    sys.argv.remove(UPSTREAM_URLLIB3_FLAG)\n    requirements.append('urllib3 >= 1.19.1')\n    packages = [x for x in packages if not x.startswith('telegram.vendor.ptb_urllib3')]\n\nwith codecs.open('README.rst', 'r', 'utf-8') as fd:\n    fn = os.path.join('telegram', 'version.py')\n    with open(fn) as fh:\n        code = compile(fh.read(), fn, 'exec')\n        exec(code)\n\n    setup(name='python-telegram-bot',\n          version=__version__,\n          author='Leandro Toledo',\n          author_email='devs@python-telegram-bot.org',\n          license='LGPLv3',\n          url='https://python-telegram-bot.org/',\n          keywords='python telegram bot api wrapper',\n          description=\"We have made you a wrapper you can't refuse\",\n          long_description=fd.read(),\n          packages=packages,\n          install_requires=requirements,\n          extras_require={\n              'json': 'ujson',\n              'socks': 'PySocks'\n          },\n          include_package_data=True,\n          classifiers=[\n              'Development Status :: 5 - Production/Stable',\n              'Intended Audience :: Developers',\n              'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',\n              'Operating System :: OS Independent',\n              'Topic :: Software Development :: Libraries :: Python Modules',\n              'Topic :: Communications :: Chat',\n              'Topic :: Internet',\n              'Programming Language :: Python',\n              'Programming Language :: Python :: 3',\n              'Programming Language :: Python :: 3.6',\n              'Programming Language :: Python :: 3.7',\n              'Programming Language :: Python :: 3.8',\n              'Programming Language :: Python :: 3.9',\n          ],)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n\"\"\"The setup and build script for the python-telegram-bot library.\"\"\"\n\nimport codecs\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\n\n\ndef requirements():\n    \"\"\"Build the requirements list for this project\"\"\"\n    requirements_list = []\n\n    with open('requirements.txt') as requirements:\n        for install in requirements:\n            requirements_list.append(install.strip())\n\n    return requirements_list\n\n\npackages = find_packages(exclude=['tests*'])\nrequirements = requirements()\n\n# Allow for a package install to not use the vendored urllib3\nUPSTREAM_URLLIB3_FLAG = '--with-upstream-urllib3'\nif UPSTREAM_URLLIB3_FLAG in sys.argv:\n    sys.argv.remove(UPSTREAM_URLLIB3_FLAG)\n    requirements.append('urllib3 >= 1.19.1')\n    packages = [x for x in packages if not x.startswith('telegram.vendor.ptb_urllib3')]\n\nwith codecs.open('README.rst', 'r', 'utf-8') as fd:\n    fn = os.path.join('telegram', 'version.py')\n    with open(fn) as fh:\n        code = compile(fh.read(), fn, 'exec')\n        exec(code)\n\n    setup(name='python-telegram-bot',\n          version=__version__,\n          author='Leandro Toledo',\n          author_email='devs@python-telegram-bot.org',\n          license='LGPLv3',\n          url='https://python-telegram-bot.org/',\n          keywords='python telegram bot api wrapper',\n          description=\"We have made you a wrapper you can't refuse\",\n          long_description=fd.read(),\n          packages=packages,\n          package_data={'telegram': ['py.typed']},\n          install_requires=requirements,\n          extras_require={\n              'json': 'ujson',\n              'socks': 'PySocks'\n          },\n          include_package_data=True,\n          classifiers=[\n              'Development Status :: 5 - Production/Stable',\n              'Intended Audience :: Developers',\n              'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',\n              'Operating System :: OS Independent',\n              'Topic :: Software Development :: Libraries :: Python Modules',\n              'Topic :: Communications :: Chat',\n              'Topic :: Internet',\n              'Programming Language :: Python',\n              'Programming Language :: Python :: 3',\n              'Programming Language :: Python :: 3.6',\n              'Programming Language :: Python :: 3.7',\n              'Programming Language :: Python :: 3.8',\n              'Programming Language :: Python :: 3.9',\n          ],)\n", "path": "setup.py"}]}