aiogram/CHANGES/1436.bugfix.rst
Alex Root Junior 0c9eeda8a7
Fixed poll answer FSM context (#1436)
* Add voter_chat to poll_answer event handling

The change ensures that when a poll_answer event is processed, the user context middleware now also returns the chat where the vote took place. Previously, only the user who cast the vote was returned.

* Added changelog

* Fixed tests

* Bump Python version in test
2024-03-10 16:18:41 +02:00

1 line
91 B
ReStructuredText

Fixed poll answer FSM context by handling :code:`voter_chat` for :code:`poll_answer` event