Async send_photo, application.run_polling #4077
Answered
by
Bibo-Joshi
formulatimer
asked this question in
Q&A
-
I was using v13, and now I have rewritten the code to use v20.
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
Bibo-Joshi
Jan 21, 2024
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
formulatimer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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'supdater.start_polling
+updater.idle()
. If you want to use some custom logic for running your script, please have a look at the docs ofrun_polling
as well as this faq entry