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

Convenient work with multiple polls #292

Open
Radch-enko opened this issue Jun 29, 2023 · 1 comment
Open

Convenient work with multiple polls #292

Radch-enko opened this issue Jun 29, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Radch-enko
Copy link

I want to do quiz bot.
I want to make it possible to select topics and subtopics to form a list of quiz questions. I want to use polls as a UI tool for selecting topics and subtopics. That is, to show a subtopics poll, I need to get the result of the topics poll.

The current tool for getting poll results is pollAnswer. And the main inconvenience for me in using it is that the results of all polls in my bot are sent to the same pollAnswer block. To distinguish which poll came from which answer I need to save the poll id and check it with pollAnswer.id.

This is not very convenient.
It would be much easier to have a separate pollAnswer{} for each of the poll.

Maybe you have a better solution on how to set up a poll in a situation where the answer choices depend on the results of the previous poll

@Radch-enko Radch-enko added the enhancement New feature or request label Jun 29, 2023
@keetsta
Copy link

keetsta commented Aug 16, 2023

Hey, what about make a documentation?

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

No branches or pull requests

3 participants