Merge pull request #161 from teloxide/beatify_screenshots

Create new screenshots from MacOS
This commit is contained in:
Temirkhan Myrzamadi 2020-02-19 07:13:41 +06:00 committed by GitHub
commit 677dc5ebc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View file

@ -108,7 +108,9 @@ TELOXIDE_TOKEN=<Your token here> cargo run
</details>
<div align="center">
<img src=https://github.com/teloxide/teloxide/raw/master/media/PING_PONG_BOT.png width="400" />
<kbd>
<img src=https://github.com/teloxide/teloxide/raw/beatify_screenshots/media/PING_PONG_BOT.png width="600" />
</kbd>
</div>
### Commands
@ -177,7 +179,10 @@ TELOXIDE_TOKEN=<Your token here> cargo run
</details>
<div align="center">
<img src=https://github.com/teloxide/teloxide/raw/master/media/SIMPLE_COMMANDS_BOT.png width="400" />
<kbd>
<img src=https://github.com/teloxide/teloxide/raw/beatify_screenshots/media/SIMPLE_COMMANDS_BOT.png width="500"/>
</kbd>
<br/><br/>
</div>
@ -274,7 +279,10 @@ TELOXIDE_TOKEN=<Your token here> cargo run
</details>
<div align="center">
<img src=https://github.com/teloxide/teloxide/raw/master/media/GUESS_A_NUMBER_BOT.png width="400" />
<kbd>
<img src=https://github.com/teloxide/teloxide/raw/beatify_screenshots/media/GUESS_A_NUMBER_BOT.png width="600" />
</kbd>
<br/><br/>
</div>
Our [finite automaton](https://en.wikipedia.org/wiki/Finite-state_machine), designating a user dialogue, cannot be in an invalid state, and this is why it is called "type-safe". We could use `enum` + `Option`s instead, but it will lead is to lots of unpleasure `.unwrap()`s.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 129 KiB