|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.43.0 (02.03.2026) |
| 4 | + |
| 5 | +### Types |
| 6 | + |
| 7 | +- Removed `#[allow(clippy::large_enum_variant)]` attributes, large variants are boxed. |
| 8 | + |
| 9 | +### Bot API |
| 10 | + |
| 11 | +#### 9.5 |
| 12 | + |
| 13 | +- Added types: `SetChatMemberTag`. |
| 14 | +- Added enum variants: |
| 15 | + - `TextEntity`: `DateTime`. |
| 16 | +- Added fields: |
| 17 | + - `ChatAdministratorRights`: `can_manage_tags`. |
| 18 | + - `ChatMemberAdministrator`: `can_manage_tags`. |
| 19 | + - `ChatMemberRestricted`: `can_edit_tag`, `tag`. |
| 20 | + - `ChatPermissions`: `can_edit_tag`. |
| 21 | + - `Message`: `sender_tag`. |
| 22 | +- Added methods: |
| 23 | + - `ChatAdministratorRights`: `with_can_manage_tags`. |
| 24 | + - `ChatMemberAdministrator`: `with_can_manage_tags`. |
| 25 | + - `ChatMemberRestricted`: `with_can_edit_tag`, `with_tag`. |
| 26 | + - `ChatPermissions`: `with_can_edit_tag`. |
| 27 | + - `Message`: `with_sender_tag`. |
| 28 | + - `PromoteChatMember`: `with_can_manage_tags`. |
| 29 | +- Changed enum variants: |
| 30 | + - `ChatMember::Member`: added `tag` field. |
| 31 | +- Changed fields: |
| 32 | + - `ChatMemberRestricted`: |
| 33 | + - `can_pin_messages`: `Option<bool>` -> `bool`. |
| 34 | + - `can_send_audios`: `Option<bool>` -> `bool`. |
| 35 | + - `can_send_documents`: `Option<bool>` -> `bool`. |
| 36 | + - `can_send_photos`: `Option<bool>` -> `bool`. |
| 37 | + - `can_send_video_notes`: `Option<bool>` -> `bool`. |
| 38 | + - `can_send_videos`: `Option<bool>` -> `bool`. |
| 39 | + - `can_send_voice_notes`: `Option<bool>` -> `bool`. |
| 40 | + |
3 | 41 | ## 0.42.0 (09.02.2026) |
4 | 42 |
|
5 | 43 | ### Handlers |
|
0 commit comments