diff --git a/CHANGELOG.md b/CHANGELOG.md index ccae00b..51b2c35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.25.0 (2023-04-23) + +### [Bot API 6.7](https://core.telegram.org/bots/api#april-21-2023) - [#106](https://github.com/ayrat555/frankenstein/pull/106) + ## 0.24.1 (2023-03-18) * Update `typed-builder` to 0.14 diff --git a/Cargo.toml b/Cargo.toml index 5ffbc46..047babe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "frankenstein" -version = "0.24.1" +version = "0.25.0" authors = ["Ayrat Badykov "] description = "Telegram bot API client for Rust" edition = "2018" diff --git a/README.md b/README.md index 87a5ee2..974a7e0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Telegram bot API client for Rust. -It's a complete wrapper for Telegram bot API and it's up to date with version 6.6 of the API. +It's a complete wrapper for Telegram bot API and it's up to date with version 6.7 of the API. Frankenstein data structures (rust structs and enums) are mapped one-to-one from Telegram bot API objects and method params. @@ -17,7 +17,7 @@ Add this to your Cargo.toml ```toml [dependencies] -frankenstein = "0.24" +frankenstein = "0.25" ``` ## Features @@ -35,13 +35,13 @@ frankenstein = "0.24" To use the async client add the following line to your `Cargo.toml` file: ```toml -frankenstein = { version = "0.24", default-features = false, features = ["async-http-client"] } +frankenstein = { version = "0.25", default-features = false, features = ["async-http-client"] } ``` You can also disable all features: ```toml -frankenstein = { version = "0.24", default-features = false } +frankenstein = { version = "0.25", default-features = false } ``` In this case the crate will ship only with telegram types @@ -195,7 +195,7 @@ AsyncApi::builder().api_url(api_url).client(client).build() ### Documentation -Frankenstein implements all telegram bot api methods. To see which parameters you should pass, check [docs.rs](https://docs.rs/frankenstein/0.24.1/frankenstein/api_traits/telegram_api/trait.TelegramApi.html#provided-methods) +Frankenstein implements all telegram bot api methods. To see which parameters you should pass, check [docs.rs](https://docs.rs/frankenstein/0.25.0/frankenstein/api_traits/telegram_api/trait.TelegramApi.html#provided-methods) You can check out real-world bots created using this library: @@ -212,7 +212,7 @@ The library uses `ureq` http client by default, but it can be easily replaced wi 1. `ureq` comes with a default feature (`impl`). So the feature should be disabled: ```toml -frankenstein = { version = "0.24", default-features = false, features = ["telegram-trait"] } +frankenstein = { version = "0.25", default-features = false, features = ["telegram-trait"] } ``` 2. Implement `TelegramApi` trait which requires two functions: