Added changelog

This commit is contained in:
Alex Root Junior 2023-04-21 00:16:17 +03:00
parent 8345a8fa69
commit e23839aa6c
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

17
CHANGES/1161.feature.rst Normal file
View file

@ -0,0 +1,17 @@
Added support for FSM in Forum topics.
The strategy can be changed in dispatcher:
.. code-block:: python
from aiogram.fsm.strategy import FSMStrategy
...
dispatcher = Dispatcher(
fsm_strategy=FSMStrategy.USER_IN_THREAD,
storage=..., # Any persistent storage
)
.. note::
If you have implemented you own storages you should extend record key generation
with new one attribute - `thread_id`