Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TgIntegration does not work when using asyncio.run() #23

Open
JosXa opened this issue Nov 19, 2020 · 0 comments
Open

TgIntegration does not work when using asyncio.run() #23

JosXa opened this issue Nov 19, 2020 · 0 comments

Comments

@JosXa
Copy link
Owner

JosXa commented Nov 19, 2020

In Python 3.8, the examples cannot be run using asyncio.run(...), instead only asyncio.get_event_loop().run_until_complete() works.
It seems as if Pyrogram ran on a different loop when using asyncio.run().

If anyone has more insights or is aware of any known issues please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant