File tree Expand file tree Collapse file tree 3 files changed +46
-5
lines changed
Expand file tree Collapse file tree 3 files changed +46
-5
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.35.0 (12.02.2025)
4+
5+ ### Dependencies
6+
7+ - Added:
8+ - serde_with 3.12
9+ - Updated:
10+ - bytes 1.10
11+ - derive_more 2.0
12+ - tokio 1.43
13+
14+ ### Bot API
15+
16+ #### 8.3
17+
18+ - Removed methods:
19+ - ` InputMedia ` : ` with_thumbnail ` .
20+ - ` SendGift ` : ` new ` .
21+ - Changed types:
22+ - ` InputMediaType ` : from enum to struct.
23+ - Added types: ` TransactionPartnerChatParameters ` .
24+ - Added fields:
25+ - ` ChatFullInfo ` : ` can_send_gift ` .
26+ - ` Video ` : ` cover ` , ` start_timestamp ` .
27+ - Added methods:
28+ - ` CopyMessage ` : ` with_video_start_timestamp ` .
29+ - ` ForwardMessage ` : ` with_video_start_timestamp ` .
30+ - ` InputMedia ` : ` with_cover ` .
31+ - ` InputMediaVideo ` : ` with_start_timestamp ` .
32+ - ` InputPaidMediaGroupItem ` : ` with_cover ` .
33+ - ` InputPaidMediaVideo ` : ` with_start_timestamp ` .
34+ - ` MediaGroupItem ` : ` with_cover ` .
35+ - ` SendGift ` : ` for_chat_id ` , ` for_user_id ` .
36+ - ` SendVideo ` : ` with_cover ` , ` with_start_timestamp ` .
37+ - ` Video ` : ` with_cover ` , ` with_start_timestamp ` .
38+ - Added enum variants:
39+ - ` InputMediaError ` : ` CoverNotAcceptable ` , ` ThumbnailNotAcceptable ` .
40+ - ` TransactionPartner ` : ` Chat ` .
41+ - Changed signature:
42+ - ` InputMedia ` : ` new ` from ` (file: A, media_type: B) ` to ` (mut media_type: InputMediaType) ` .
43+
344## 0.34.0 (02.01.2025)
445
546### Dependencies
Original file line number Diff line number Diff line change 11[package ]
22name = " tgbot"
33description = " A Telegram Bot library"
4- version = " 0.34 .0"
4+ version = " 0.35 .0"
55authors = [" Ross Nomann <rossnomann@protonmail.com>" ]
66edition = " 2021"
77readme = " README.md"
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ A full-featured Telegram Bot API client.
1010
1111``` toml
1212[dependencies ]
13- tgbot = " 0.34 .0"
13+ tgbot = " 0.35 .0"
1414```
1515
1616## Examples
1717
18- See examples in the [ examples] ( https://github.com/tg-rs/tgbot/tree/0.34 .0/examples ) directory.
18+ See examples in the [ examples] ( https://github.com/tg-rs/tgbot/tree/0.35 .0/examples ) directory.
1919
2020To 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.34 .0/CHANGELOG.md )
38- - [ Code of Conduct] ( https://github.com/tg-rs/tgbot/tree/0.34 .0/CODE_OF_CONDUCT.md )
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 )
3939
4040## LICENSE
4141
You can’t perform that action at this time.
0 commit comments