Skip to content

Commit

Permalink
Задокументировал текущее поведение состояний анонимных пользователей
Browse files Browse the repository at this point in the history
  • Loading branch information
K1rL3s committed May 1, 2024
1 parent 545fa72 commit fe91a35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tutorial/finite-state-machine.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ async def cancel_handler(message: Message, state: FSMContext) -> Response:

![alice-storage.png](../_static/alice-storage.png)

!!! note "Примечание"
Если навыком пользуется неавторизованный пользователь, то FSMStrategy.USER будет как FSMStrategy.APPLICATION:

- для локальных хранилищ user_id будет равен application_id
- в хранилище на стороне Алисы состояние будет храниться по устройству


## Примеры

* [fsm_form](https://github.com/K1rL3s/aliceio/blob/master/examples/fsm_form.py){:target="_blank"}
Expand Down

0 comments on commit fe91a35

Please sign in to comment.