Bot API 6.5
Chat and User Selection
• Bots can now show a friendly interface that can be used to select any channel, group or user.
• Added the KeyboardButtonRequestUser and KeyboardButtonRequestChat keyboard buttons for private chats.
• Added support for "user_shared
" and "chat_shared
" service messages, which hold the identifiers of users and chats shared via the buttons.
Improved Permissions
• Added support for granular media permissions by replacing can_send_media_messages
in ChatMemberRestricted and ChatPermissions with several separate fields for the respective media type.
• Added the parameter use_independent_chat_permissions
to the methods restrictChatMember and setChatPermissions.
• Added the field user_chat_id
to the class ChatJoinRequest.
• And more, see the full changelog for details:
https://core.telegram.org/bots/api-changelog#february-3-2023
>>Click here to continue<<