mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
Merge branch 'master' into improve-dialogues
This commit is contained in:
commit
dfe0f39ee1
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ All the API <a href="https://docs.rs/teloxide/latest/teloxide/types/index.html">
|
|||
|
||||
<h3 align="center">Persistency</h3>
|
||||
<p align="center">
|
||||
By default, teloxide stores all user dialogues in RAM, but you can store them somewhere else (for example, in a database) just by implementing <a href="https://docs.rs/teloxide/latest/teloxide/dispatching/dialogue/trait.Storage.html">2 functions</a>. Default database implementations <a href="https://github.com/teloxide/teloxide/issues/183">are coming</a>!.
|
||||
Dialogues management is independent of how/where they are stored: just replace one line and make them <a href="https://en.wikipedia.org/wiki/Persistence_(computer_science)">persistent</a> (for example, store on a disk, transmit through a network), without affecting the actual <a href="https://en.wikipedia.org/wiki/Finite-state_machine">FSM</a> algorithm. By default, teloxide stores all user dialogues in RAM. Default database implementations <a href="https://github.com/teloxide/teloxide/issues/183">are coming</a>!
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
|
Loading…
Reference in a new issue