Update README.md

This commit is contained in:
Temirkhan Myrzamadi 2020-02-14 03:57:22 +06:00 committed by GitHub
parent 7ab3f70efa
commit 5d0177e1a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ async fn main() {
```
## Commands
teloxide has a few handy macros to define a type of your commands and their descriptions (similar to [serde_json](https://github.com/serde-rs/json)):
Commands are defined similar to how we define CLI using [structopt](https://docs.rs/structopt/0.3.9/structopt/):
([Full](https://github.com/teloxide/teloxide/blob/dev/examples/simple_commands_bot/src/main.rs))
```rust