diff --git a/README.md b/README.md index 874f0703..0ba4763f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ +
+ FYI: Updating to v0.4.0 + + - `answer_str` -> `answer` + - Don't write `.send()` after each request, now it is done automatically. + - Use `.auto_send()` to construct your bot: `let bot = Bot::from_env().auto_send();`. + - `UpdateWithCx` -> `UpdateWithCx, Message>` + - `ResponseResult<()>` -> `Result<(), Box>` (or import `ResponseResult` beforehand: `use teloxide::requests::ResponseResult;`) + +
+

teloxide

@@ -178,7 +189,7 @@ async fn main() {
### Dialogues management -A dialogue is described by an enumeration where each variant is one of possible dialogue's states. There are also _subtransition functions_, which turn a dialogue from one state to another, thereby forming a [FSM]. +A dialogue is described by an enumeration where each variant is one of possible dialogue's states. There are also _subtransition functions_, which turn a dialogue from one state to another, thereby forming an [FSM]. [FSM]: https://en.wikipedia.org/wiki/Finite-state_machine