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

Poll messages aren't correct #230

Open
MistakingManx opened this issue Jan 19, 2023 · 3 comments
Open

Poll messages aren't correct #230

MistakingManx opened this issue Jan 19, 2023 · 3 comments

Comments

@MistakingManx
Copy link

MistakingManx commented Jan 19, 2023

I'm trying to get poll information by replying to a message with a command:
image
The result should be 2 votes, however I receive this:

{
  id: '5066888604035317776',
  question: 'Tesy',
  options: [
    { text: 'Test', voter_count: 0 },
    { text: 'Test', voter_count: 0 }
  ],
  total_voter_count: 0,
  is_closed: false,
  is_anonymous: false,
  type: 'regular',
  allows_multiple_answers: false
}
@MistakingManx
Copy link
Author

My main goal is trying to get a list of all the people who voted, so I can select a random winner.

@MistakingManx
Copy link
Author

Also, missing bot.sendPoll

@VDS13
Copy link

VDS13 commented Feb 17, 2023

The last update of the library was almost 2 years ago. Therefore, this package does not support topics. Alternatively, you can switch to node-telegram-bot-api, the syntax is similar to telebot and is constantly updated.

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

2 participants