v6.5.0
Bot API 6.5
- Added requests for users and chats and support for granular media permissions.
- Added the class KeyboardButtonRequestUser and the field request_user to the class KeyboardButton.
- Added the class KeyboardButtonRequestChat and the field request_chat to the class KeyboardButton.
- Added the classes UserShared, ChatShared and the fields user_shared, and chat_shared to the class Message.
- 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.
- Added the parameter use_independent_chat_permissions to the methods restrictChatMember and setChatPermissions.
- Added the field user_chat_id to the class ChatJoinRequest.