Skip to content

Async send_photo, application.run_polling #4077

Answered by Bibo-Joshi
formulatimer asked this question in Q&A
Discussion options

You must be logged in to vote
  1. v20 is asyncio-only
  2. Application.run_polling starts the polling and keeps the event loop running until you stop the process. This is roughly equivalent to the combination of v13's updater.start_polling + updater.idle(). If you want to use some custom logic for running your script, please have a look at the docs of run_polling as well as this faq entry

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by formulatimer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants