From 789c325bd612219ab5903f5216b08b431899feec Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Fri, 17 Apr 2020 14:31:10 +0600 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0da5500f..491f4c13 100644 --- a/README.md +++ b/README.md @@ -39,16 +39,22 @@ teloxide supports higher-order programming by making streams a first-class citizen: feel free to demultiplex them, apply arbitrary transformations, pass to/return from other functions, lazily evaluate them, concurrently process their items, and much more, thereby achieving extremely flexible design.

+
+

Type safety

All the API types and methods are implemented with heavy use of ADTs to enforce type-safety and tight integration with IDEs. Bot's commands have precise types too, thereby serving as a self-documenting code and respecting the parse, don't validate programming idiom.

+
+

Persistency

By default, teloxide stores all user dialogues in RAM, but you can store them somewhere else (for example, in a database) just by implementing 2 functions.

- + +
+

Convenient dialogues system

Define a type-safe finite automaton and transition functions to drive a user dialogue with ease (see the guess-a-number example below).