Question about polls and timers #1654
sudousercom
started this conversation in
General
Replies: 1 comment 4 replies
-
If you are using pure async, then you will need to take a look at asyncio scheduler in apscheduler. Instead of thread tasks, you will need to use asyncio tasks. And, you cannot pin all polls in a group: you can get new polls and pin them using pin_chat_member. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am using some scheduled messages with schedule, for remind chat member to do something at every day, but with migration on async telebot this function becomes broken, because it uses Thread for schedule cheker, iam not an programmer at all, maybe you have advise for me? the code:
And second question is about polls, how can i automatically pin all polls in chat? In docs i found only poll handler, and nothing about how to use it. Thanks for answers!
Beta Was this translation helpful? Give feedback.
All reactions