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
687c5e4cd1
commit
5d331fc705
1 changed files with 3 additions and 4 deletions
|
@ -16,19 +16,18 @@
|
|||
</div>
|
||||
|
||||
## Getting started
|
||||
1. Be sure that you are up to date:
|
||||
1. Create a new bot using [@botfather](https://t.me/botfather) to get a token in the format `123456789:somemanyletters`.
|
||||
2. Be sure that you are up to date:
|
||||
```bash
|
||||
$ rustup update stable
|
||||
```
|
||||
|
||||
2. To create a new bot, execute `cargo new` and put the following lines into your `Cargo.toml`:
|
||||
3. To create a new bot, execute `cargo new` and put the following lines into your `Cargo.toml`:
|
||||
```toml
|
||||
[dependencies]
|
||||
teloxide = "0.1.0"
|
||||
```
|
||||
|
||||
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!
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue