From 6043f5566e02dd7a9c72ee6c2c56bfa904ea5d04 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Fri, 7 Oct 2022 10:38:52 +0600 Subject: [PATCH 1/3] Update the 'Highlights' section I've simplified the point about dialogues and added the point "Feature-rich", which mentions some functionality typically asked by users in our support chat. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab74b6d7..ae498ce6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ [`dptree`]: https://github.com/teloxide/dptree [chain of responsibility]: https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern - - **Dialogues management subsystem.** Our dialogues management subsystem is simple and easy-to-use, and, furthermore, is agnostic of how/where dialogues are stored. For example, you can just replace a one line to achieve [persistence]. Out-of-the-box storages include [Redis] and [Sqlite]. + - **Feature-rich.** You can use both long polling and webhooks, configure an underlying HTTPS client, set a custom URL of a Telegram API server, and a lot more. + + - **Simple dialogues.** Our dialogues subsystem is simple and easy-to-use, and, furthermore, is agnostic of how/where dialogues are stored. For example, you can just replace a one line to achieve [persistence]. Out-of-the-box storages include [Redis] and [Sqlite]. [persistence]: https://en.wikipedia.org/wiki/Persistence_(computer_science) [Redis]: https://redis.io/ From 6966ab9ce111e7e932d852f51d560e4b64e7d491 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Fri, 7 Oct 2022 10:45:35 +0600 Subject: [PATCH 2/3] Simplify the highlights more --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae498ce6..da4d421a 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ [Redis]: https://redis.io/ [Sqlite]: https://www.sqlite.org - - **Strongly typed commands.** You can describe bot commands as enumerations, and then they'll be automatically constructed from strings — just like JSON structures in [`serde-json`] and command-line arguments in [`structopt`]. + - **Strongly typed commands.** Define bot commands as an `enum` and teloxide will parse them automatically — just like JSON structures in [`serde-json`] and command-line arguments in [`structopt`]. [`structopt`]: https://github.com/TeXitoi/structopt [`serde-json`]: https://github.com/serde-rs/json From 3d65f81eae9c57a47e2cccdc2850f613bbda99cc Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Fri, 7 Oct 2022 16:30:33 +0600 Subject: [PATCH 3/3] Apply a tiny review suggestion Co-authored-by: Waffle Maybe --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da4d421a..7c726708 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ [`dptree`]: https://github.com/teloxide/dptree [chain of responsibility]: https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern - - **Feature-rich.** You can use both long polling and webhooks, configure an underlying HTTPS client, set a custom URL of a Telegram API server, and a lot more. + - **Feature-rich.** You can use both long polling and webhooks, configure an underlying HTTPS client, set a custom URL of a Telegram API server, and much more. - **Simple dialogues.** Our dialogues subsystem is simple and easy-to-use, and, furthermore, is agnostic of how/where dialogues are stored. For example, you can just replace a one line to achieve [persistence]. Out-of-the-box storages include [Redis] and [Sqlite].