T
T
tkus2020-05-08 08:40:37
JavaScript
tkus, 2020-05-08 08:40:37

How to get the "greatest" response from a telegram poll (telegraf.js)?

What you need to do:
1. The bot creates a poll on command (Conditionally: Let's go to the cinema? "Yes"\"No")
2. Users in the chat vote (Let's say "Yes" wins)
3. (Conditionally) BOT: Ok, let's go to the cinema!

Now the question is - how to get the "winning answer" itself? Because I understand how to create polls, but I can’t :(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question