Update README.md

This commit is contained in:
Temirkhan Myrzamadi 2020-02-12 16:18:41 +06:00 committed by GitHub
parent ab358601e2
commit 687c5e4cd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,10 +27,11 @@ $ rustup update stable
teloxide = "0.1.0"
```
## Writing your first bot
First, create a new bot using [@botfather](https://t.me/botfather), and after that you'll get a token in format `123456789:somemanyletters`.
3. Create a new bot using [@botfather](https://t.me/botfather), and after that you'll get a token in format `123456789:somemanyletters`.
## Writing your first bot
Open `main.rs` file, because we're gonna write a ping-pong-bot!
Next, open `main.rs` file, because we're gonna write a ping-pong-bot!
```rust
use teloxide::prelude::*;