Telethon: RuntimeError: There is no current event loop in thread 'Thread-1'.

Sync version new

RuntimeError: There is no current event loop in thread 'Thread-1'.

client.get_messages(
            entity='@test',
            offset_id=2,
            limit=1
        )

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 33 (15 by maintainers)

Most upvoted comments

There was a not that shouldn’t have been there. https://github.com/LonamiWebs/Telethon/commit/872dfdd7d6db2d74008e5e41d5b60e4be96e2590 fixed it.

yes, thank you, I hope the other did not fall off)