Skip to content

Commit d91b33b

Browse files
committed
Prepare 0.36.0 release
1 parent 36cc291 commit d91b33b

File tree

3 files changed

+46
-5
lines changed

3 files changed

+46
-5
lines changed

CHANGELOG.md

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

3+
## 0.36.0 (12.04.2025)
4+
5+
### Dependencies
6+
7+
- Updated:
8+
- tokio 1.44
9+
10+
### Bot API
11+
12+
#### 9.0
13+
14+
- Added types: `AcceptedGiftTypes`, `BusinessBotRights`, `ConvertGiftToStars`, `DeleteBusinessMessages`, `DeleteStory`,
15+
`EditStory`, `GetBusinessAccountGifts`, `GetBusinessAccountStarBalance`, `GiftInfo`, `GiftPremiumSubscription`,
16+
`InputProfilePhoto`, `InputProfilePhotoAnimated`, `InputProfilePhotoStatic`, `InputStoryContent`,
17+
`InputStoryContentPhoto`, `InputStoryContentVideo`, `LocationAddress`, `MessageDataPaidMessagePriceChanged`,
18+
`OwnedGift`, `OwnedGiftRegular`, `OwnedGifts`, `OwnedGiftUnique`, `PostStory`, `ReadBusinessMessage`,
19+
`RemoveBusinessAccountProfilePhoto`, `SetBusinessAccountBio`, `SetBusinessAccountGiftSettings`,
20+
`SetBusinessAccountName`, `SetBusinessAccountProfilePhoto`, `SetBusinessAccountUsername`, `StarAmount`, `StoryArea`,
21+
`StoryAreaPosition`, `StoryAreaType`, `StoryAreaTypeLink`, `StoryAreaTypeLocation`, `StoryAreaTypeSuggestedReaction`,
22+
`StoryAreaTypeUniqueGift`, `StoryAreaTypeWeather`, `TransactionPartnerUserType`, `TransferBusinessAccountStars`,
23+
`TransferGift`, `UniqueGift`, `UniqueGiftBackdrop`, `UniqueGiftBackdropColors`, `UniqueGiftInfo`, `UniqueGiftModel`,
24+
`UniqueGiftSymbol`, `UpgradeGift`.
25+
- Added fields:
26+
- `BusinessConnection`: `rights`.
27+
- `ChatFullInfo`: `accepted_gift_types`.
28+
- `Message`: `paid_star_count`.
29+
- `TransactionPartnerUserParameters`: `premium_subscription_duration`, `transaction_type`.
30+
- Added methods:
31+
- `BusinessConnection`: `with_rights`.
32+
- `Message`: `with_paid_star_count`.
33+
- `TransactionPartnerUserParameters`: `with_premium_subscription_duration`.
34+
- Added enum variants:
35+
- `MessageData`: `Gift`, `PaidMessagePriceChanged`, `UniqueGift`.
36+
- Removed fields:
37+
- `BusinessConnection`: `can_reply`.
38+
- `ChatFullInfo`: `can_send_gift`.
39+
- Removed methods:
40+
- `BusinessConnection`: `with_can_reply`.
41+
- Changed signature:
42+
- `TransactionPartnerUserParameters`: `new(User) -> Self` to `new(TransactionPartnerUserType, User) -> Self`.
43+
344
## 0.35.0 (12.02.2025)
445

546
### Dependencies

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.35.0"
4+
version = "0.36.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.35.0"
13+
tgbot = "0.36.0"
1414
```
1515

1616
## Examples
1717

18-
See examples in the [examples](https://github.com/tg-rs/tgbot/tree/0.35.0/examples) directory.
18+
See examples in the [examples](https://github.com/tg-rs/tgbot/tree/0.36.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.35.0/CHANGELOG.md)
38-
- [Code of Conduct](https://github.com/tg-rs/tgbot/tree/0.35.0/CODE_OF_CONDUCT.md)
37+
- [Changelog](https://github.com/tg-rs/tgbot/tree/0.36.0/CHANGELOG.md)
38+
- [Code of Conduct](https://github.com/tg-rs/tgbot/tree/0.36.0/CODE_OF_CONDUCT.md)
3939

4040
## LICENSE
4141

0 commit comments

Comments
 (0)