1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-15 05:09:30 +00:00

Replaced the fields can_send_media_messages in the classes RestrictedChatMember and ChatPermissions with separate fields can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes for different media types.

This commit is contained in:
madhead
2023-02-03 22:14:35 +01:00
parent f29996aac8
commit cd596cc66d
4 changed files with 46 additions and 7 deletions

View File

@@ -2,6 +2,10 @@
## 5.1.0
* `Core`:
* [Bot API 6.5](https://core.telegram.org/bots/api#february-3-2023) support
* Replaced the fields `can_send_media_messages` in the classes `ChatMemberRestricted` and `ChatPermissions` with separate fields `can_send_audios`, `can_send_documents`, `can_send_photos`, `can_send_videos`, `can_send_video_notes`, and `can_send_voice_notes` for different media types.
## 5.0.1
* `Versions`: