TelegramBots
TelegramBots copied to clipboard
update.getPollAnswer() returns null
Description of the bug getPollAnswer method returns null value, but request from telegramAPI shows the poll answer
To Reproduce Steps to reproduce the behavior:
- Send not anonymous poll with allowed multiple answers.
- vote for any option (one or many, doesn't matter)
- see the null value from update.getPollAnswer()
Screenshots
request for updates from telegram api
result in java when doing same action
Project dependencies where can be conflict spring boot v2.7.1 hibernate v5.4.21 jackson databind v2.11.3 telegrambots v6.5.0
I've encountered this issue as well, and I believe it's a bug caused by multithreading problems.
Same here. I can´t read answers.
spring boot 3.1.8 telegrambots 6.9.7.1 and 6.9.7.0
I've added a test here to validate this case and data is properly generated.
Do you have a quick test where this potential bug manifest?