Skip to content

0.23.0

Compare
Choose a tag to compare
@ayrat555 ayrat555 released this 04 Feb 11:37
· 117 commits to master since this release
d7f0291

0.23.0 (2023-02-04)

Bot API 6.5 - #97

  • Added the struct KeyboardButtonRequestUser and the field request_user to the struct KeyboardButton.
  • Added the struct KeyboardButtonRequestChat and the field request_chat to the struct KeyboardButton.
  • Added the structs UserShared, ChatShared and the fields user_shared, and chat_shared to the struct Message.
  • Replaced the fields can_send_media_messages in the structs 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 structs RestrictChatMemberParams and SetChatPermissionsParams.
  • Added the field user_chat_id to the struct ChatJoinRequest.