|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.40.0 (16.08.2025) |
| 4 | + |
| 5 | +### Bot API |
| 6 | + |
| 7 | +#### 9.2 |
| 8 | + |
| 9 | +- Added types: |
| 10 | + `ApproveSuggestedPost`, `DeclineSuggestedPost`, `DirectMessagesTopic`, `SuggestedPostApprovalFailed`, |
| 11 | + `SuggestedPostApproved`, `SuggestedPostDeclined`, `SuggestedPostInfo`, `SuggestedPostPaid`, |
| 12 | + `SuggestedPostParameters`, `SuggestedPostPrice`, `SuggestedPostRefunded`, `SuggestedPostRefundReason`, |
| 13 | + `SuggestedPostState`. |
| 14 | +- Added enum variants: |
| 15 | + - `MessageData`: `SuggestedPostApproved`, `SuggestedPostApprovalFailed`, `SuggestedPostDeclined`, |
| 16 | + `SuggestedPostPaid`, `SuggestedPostRefunded`. |
| 17 | +- Added fields: |
| 18 | + - `ChatAdministratorRights`: `can_manage_direct_messages`. |
| 19 | + - `ChatFullInfo`: `is_direct_messages`, `parent_chat`. |
| 20 | + - `ChatMemberAdministrator`: `can_manage_direct_messages`. |
| 21 | + - `Gift`: `publisher_chat`. |
| 22 | + - `Message`: `direct_messages_topic`, `is_paid_post`, `reply_to_checklist_task_id`, `suggested_post_info`. |
| 23 | + - `SupergroupChat`: `is_direct_messages`. |
| 24 | + - `UniqueGift`: `publisher_chat`. |
| 25 | +- Added methods: |
| 26 | + - `ChatAdministratorRights`: `with_can_manage_direct_messages`. |
| 27 | + - `ChatMemberAdministrator`: `with_can_manage_direct_messages`. |
| 28 | + - `CopyMessage`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`. |
| 29 | + - `CopyMessages`:`with_direct_messages_topic_id`. |
| 30 | + - `ForwardMessage`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`. |
| 31 | + - `ForwardMessages`:`with_direct_messages_topic_id`. |
| 32 | + - `Gift`: `with_publisher_chat`. |
| 33 | + - `Message`: `with_direct_messages_topic`, `with_is_paid_post`, `with_reply_to_checklist_task_id`, |
| 34 | + `with_suggested_post_info`. |
| 35 | + - `PromoteChatMember`: `with_can_manage_direct_messages`. |
| 36 | + - `ReplyParameters`: `with_checklist_task_id`. |
| 37 | + - `SendAnimation`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 38 | + - `SendAudio`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 39 | + - `SendContact`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 40 | + - `SendDice`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 41 | + - `SendDocument`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 42 | + - `SendInvoice`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 43 | + - `SendLocation`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 44 | + - `SendMediaGroup`:`with_direct_messages_topic_id`. |
| 45 | + - `SendMessage`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 46 | + - `SendPaidMedia`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 47 | + - `SendPhoto`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 48 | + - `SendSticker`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 49 | + - `SendVenue`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 50 | + - `SendVideo`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 51 | + - `SendVideoNote`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 52 | + - `SendVoice`: `with_direct_messages_topic_id`, `with_suggested_post_parameters`, |
| 53 | + - `SupergroupChat`: `with_is_direct_messages`. |
| 54 | + - `UniqueGift`: `new`, `with_publisher_chat`. |
| 55 | + |
3 | 56 | ## 0.39.1 (08.07.2025) |
4 | 57 |
|
5 | 58 | ### Bot API |
|
0 commit comments