Skip to content

Updates from Bot API 3.1

Compare
Choose a tag to compare
@TheMY3 TheMY3 released this 10 Jul 07:31
· 217 commits to master since this release
  • Add new checkers to Client class.
  • Add error description when API Request fails.

Add all features from Bot API 3.1:

  • Added new methods restrictChatMember and promoteChatMember to manage users and admins, added new parameter until_date to kickChatMember for temporary bans.
  • Added new methods exportChatInviteLink, setChatPhoto, deleteChatPhoto, setChatTitle, setChatDescription, pinChatMessage and unpinChatMessage to manage groups and channels.
  • Added the new fields photo, description and invite_link to the Chat object.
  • Added the new fields until_date, can_be_edited, can_change_info, can_post_messages, can_edit_messages, can_delete_messages, can_invite_users, can_restrict_members, can_pin_messages, can_promote_members, can_send_messages, can_send_media_messages, can_send_other_messages and can_add_web_page_previews to the ChatMember object.