mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Update README.md
This commit is contained in:
parent
1915497289
commit
1564f8d80a
1 changed files with 2 additions and 1 deletions
|
@ -307,9 +307,10 @@ async fn receive_location(
|
|||
}
|
||||
```
|
||||
|
||||
|
||||
</details>
|
||||
|
||||
All these subtransitions accept a corresponding state (one of the many variants of `Dialogue`), a context, and a textual message. They return `TransitionOut<Dialogue>`, e.g. a mapping from `<your state type>` to `Dialogue`.
|
||||
|
||||
Finally, the `main` function looks like this:
|
||||
|
||||
([dialogue_bot/src/main.rs](https://github.com/teloxide/teloxide/blob/master/examples/dialogue_bot/src/main.rs))
|
||||
|
|
Loading…
Add table
Reference in a new issue