Bump supported TBA version to 7.1

This commit is contained in:
Andrey Brusnik 2024-07-20 23:53:48 +04:00
parent 44cb9c1ef4
commit 2ee1740228
No known key found for this signature in database
GPG key ID: D33232F28CFF442C
7 changed files with 23 additions and 5 deletions

View file

@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## unreleased ## unreleased
### Added
- Add `filter_boost_added` and `filter_reply_to_story` filters to `MessageFilterExt` trait
## 0.13.0 - 2024-08-16 ## 0.13.0 - 2024-08-16
### Added ### Added

View file

@ -11,7 +11,7 @@
<img src="https://img.shields.io/crates/v/teloxide.svg"> <img src="https://img.shields.io/crates/v/teloxide.svg">
</a> </a>
<a href="https://core.telegram.org/bots/api"> <a href="https://core.telegram.org/bots/api">
<img src="https://img.shields.io/badge/API%20coverage-Up%20to%207.0%20(inclusively)-green.svg"> <img src="https://img.shields.io/badge/API%20coverage-Up%20to%207.1%20(inclusively)-green.svg">
</a> </a>
<a href="https://t.me/teloxide"> <a href="https://t.me/teloxide">
<img src="https://img.shields.io/badge/support-t.me%2Fteloxide-blueviolet"> <img src="https://img.shields.io/badge/support-t.me%2Fteloxide-blueviolet">

View file

@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## unreleased ## unreleased
### Added
- Support for TBA 7.1 ([#1131](pr1131))
- Updated docs for `can_post_stories`, `can_edit_stories` and `can_delete_stories` admin privileges
- Add `ChatBoostAdded` and `StoryId` structs
- Add `ChatBoostAdded` variant to `MessageKind` enum
- Add `sender_boost_count` and `reply_to_story` fields to `MessageCommon` struct
- Add `chat` and `id` fields to `Story` struct
- Add `unrestrict_boost_count` and `custom_emoji_sticker_set_name` fields to `PublicChatSupergroup` struct
- Add `boost_added` and `reply_to_story` getters to `Message` struct
- Add `unrestrict_boost_count` and `custom_emoji_sticker_set_name` getters to `Chat` struct
[pr1131]: https://github.com/teloxide/teloxide/pull/1131
## 0.10.1 - 2024-08-17 ## 0.10.1 - 2024-08-17
### Fixed ### Fixed

View file

@ -12,7 +12,7 @@
<img src="https://img.shields.io/badge/license-MIT-blue.svg"> <img src="https://img.shields.io/badge/license-MIT-blue.svg">
</a> </a>
<a href="https://core.telegram.org/bots/api"> <a href="https://core.telegram.org/bots/api">
<img src="https://img.shields.io/badge/API%20coverage-Up%20to%207.0%20(inclusively)-green.svg"> <img src="https://img.shields.io/badge/API%20coverage-Up%20to%207.1%20(inclusively)-green.svg">
</a> </a>
<a href="https://crates.io/crates/teloxide_core"> <a href="https://crates.io/crates/teloxide_core">
<img src="https://img.shields.io/crates/v/teloxide_core.svg"> <img src="https://img.shields.io/crates/v/teloxide_core.svg">

View file

@ -39,7 +39,7 @@
//! [github]: https://github.com/WaffleLapkin/tg-methods-schema //! [github]: https://github.com/WaffleLapkin/tg-methods-schema
Schema( Schema(
api_version: ApiVersion(ver: "7.0", date: "December 29, 2023"), api_version: ApiVersion(ver: "7.1", date: "February 16, 2024"),
methods: [ methods: [
Method( Method(
names: ("getUpdates", "GetUpdates", "get_updates"), names: ("getUpdates", "GetUpdates", "get_updates"),

View file

@ -1,7 +1,7 @@
//! Core part of the [`teloxide`] library. //! Core part of the [`teloxide`] library.
//! //!
//! This library provides tools for making requests to the [Telegram Bot API] //! This library provides tools for making requests to the [Telegram Bot API]
//! (Currently, version `7.0` is supported) with ease. The library is fully //! (Currently, version `7.1` is supported) with ease. The library is fully
//! asynchronous and built using [`tokio`]. //! asynchronous and built using [`tokio`].
//! //!
//!```toml //!```toml

View file

@ -1,6 +1,6 @@
//! A full-featured framework that empowers you to easily build [Telegram bots] //! A full-featured framework that empowers you to easily build [Telegram bots]
//! using [Rust]. It handles all the difficult stuff so you can focus only on //! using [Rust]. It handles all the difficult stuff so you can focus only on
//! your business logic. Currently, version `7.0` of [Telegram Bot API] is //! your business logic. Currently, version `7.1` of [Telegram Bot API] is
//! supported. //! supported.
//! //!
//! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide). //! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide).