iterate send_chat_action #3598
-
when my bot receives a message it take long time to respond because running a long computational task. In the meanwhile I send a "send_chat_action with typing", but after 5 seconds it stops. Is there a way to iterate send_chat_action, until a result is returned from computational task? I'm trying using asyncio.run and and similar but all my attempts are wrongs. |
Beta Was this translation helpful? Give feedback.
Answered by
Bibo-Joshi
Mar 19, 2023
Replies: 1 comment
-
I did something like this here. Maybe that helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PietroG72
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did something like this here. Maybe that helps.