Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Suggestion: Recurring Polls #10

Open
Jeremiah33-3 opened this issue May 24, 2024 · 0 comments
Open

Feature Suggestion: Recurring Polls #10

Jeremiah33-3 opened this issue May 24, 2024 · 0 comments

Comments

@Jeremiah33-3
Copy link

Overview
A feature to allow users to sit back and let the bot to send the created poll into the destination group chat periodically, automatically.

Use Case
Sometimes, the event in which is being polled is recurring, so users often have to create a new poll and send to the group over and over again. It would be great to have a feature for the bot to automatically send the poll into the group periodically (e.g. weekly), unless the user cancels it.

Proposed Solution
Consider using solutions such as cron job in Google App Engine to periodically trigger the send-message handler logic. Also have a command to ask if user want the poll to be sent periodically, when and how frequent to send, and an inline button to cancel the scheduler.

Potential Challenges
Not sure if the bot has to be added into the group to retrieve the group chat id or is it sufficient to let the user forward a message to the group chat and let the bot capture the group chat id in the response object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant