Skip to content

Commit 750f523

Browse files
committed
Prepare 0.41.0 release
1 parent 031fbf7 commit 750f523

File tree

3 files changed

+51
-5
lines changed

3 files changed

+51
-5
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
# Changelog
22

3+
## 0.41.0 (02.01.2025)
4+
5+
### Dependencies
6+
7+
- reqwest 0.13
8+
9+
### Bot API
10+
11+
#### 9.3
12+
13+
- Added types: `GetChatGifts`, `GetUserGifts`, `GiftBackground`, `RepostStory`, `SendMessageDraft`, `UniqueGiftColors`,
14+
`UserRating`.
15+
- Added enum variants:
16+
- `MessageData`: `GiftUpgradeSent`.
17+
- `UniqueGiftOrigin`: `GiftedUpgrade`, `Offer`.
18+
- Added fields:
19+
- `AcceptedGiftTypes`: `gifts_from_channels`.
20+
- `Bot`: `has_topics_enabled`.
21+
- `ChatFullInfo`: `paid_message_star_count`, `rating`, `unique_gift_colors`.
22+
- `ChecklistTask`: `completed_by_chat`.
23+
- `ForumTopic`: `is_name_implicit`.
24+
- `Gift`: `background`, `has_colors`, `is_premium`, `personal_remaining_count`, `personal_total_count`,
25+
`unique_gift_variant_count`.
26+
- `GiftInfo`: `is_upgrade_separate`, `unique_gift_number`.
27+
- `MessageDataForumTopicCreated`: `is_name_implicit`.
28+
- `OwnedGiftRegular`: `is_upgrade_separate`, `unique_gift_number`.
29+
- `UniqueGift`: `colors`, `gift_id`, `is_from_blockchain`, `is_premium`.
30+
- Added methods:
31+
- `AcceptedGiftTypes`: `with_gifts_from_channels`.
32+
- `Bot`: `with_has_topics_enabled`.
33+
- `ChecklistTask`: `with_completed_by_chat`.
34+
- `CopyMessage`: `with_message_effect_id`.
35+
- `ForumTopic`: `with_is_name_implicit`.
36+
- `ForwardMessage`: `with_message_effect_id`.
37+
- `GetBusinessAccountGifts`: `with_exclude_from_blockchain`, `with_exclude_limited_non_upgradable`,
38+
`with_exclude_limited_upgradable`.
39+
- `Gift`: `with_background`, `with_has_colors`, `with_is_premium`, `with_personal_remaining_count`,
40+
`with_personal_total_count`, `with_unique_gift_variant_count`.
41+
- `GiftInfo`: `with_is_upgrade_separate`, `with_unique_gift_number`.
42+
- `MessageDataForumTopicCreated`: `with_is_name_implicit`.
43+
- `OwnedGiftRegular`: `with_is_upgrade_separate`, `with_unique_gift_number`.
44+
- `SendPaidMedia`: `with_message_thread_id`.
45+
- `UniqueGift`: `with_colors`, `with_is_from_blockchain`, `with_is_premium`.
46+
- Removed methods:
47+
- `GetBusinessAccountGifts`: `with_exclude_limited`.
48+
349
## 0.40.0 (16.08.2025)
450

551
### Bot API

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tgbot"
33
description = "A Telegram Bot library"
4-
version = "0.40.0"
4+
version = "0.41.0"
55
authors = ["Ross Nomann <rossnomann@protonmail.com>"]
66
edition = "2024"
77
readme = "README.md"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ A full-featured Telegram Bot API client.
1010

1111
```toml
1212
[dependencies]
13-
tgbot = "0.40.0"
13+
tgbot = "0.41.0"
1414
```
1515

1616
## Examples
1717

18-
See examples in the [examples](https://github.com/tg-rs/tgbot/tree/0.40.0/examples) directory.
18+
See examples in the [examples](https://github.com/tg-rs/tgbot/tree/0.41.0/examples) directory.
1919

2020
To run an example you need to create a `.env` file:
2121

@@ -34,8 +34,8 @@ This project adheres to [ZeroVer](https://0ver.org/).
3434
- [Latest documentation](https://docs.rs/tgbot)
3535
- [Master documentation](https://tg-rs.github.io/tgbot/tgbot/)
3636
- [Telegram Chat](https://t.me/tgrsusers)
37-
- [Changelog](https://github.com/tg-rs/tgbot/tree/0.40.0/CHANGELOG.md)
38-
- [Code of Conduct](https://github.com/tg-rs/tgbot/tree/0.40.0/CODE_OF_CONDUCT.md)
37+
- [Changelog](https://github.com/tg-rs/tgbot/tree/0.41.0/CHANGELOG.md)
38+
- [Code of Conduct](https://github.com/tg-rs/tgbot/tree/0.41.0/CODE_OF_CONDUCT.md)
3939

4040
## LICENSE
4141

0 commit comments

Comments
 (0)