Updates from Bot API 3.1
- 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
andpromoteChatMember
to manage users and admins, added new parameter until_date tokickChatMember
for temporary bans. - Added new methods
exportChatInviteLink
,setChatPhoto
,deleteChatPhoto
,setChatTitle
,setChatDescription
,pinChatMessage
andunpinChatMessage
to manage groups and channels. - Added the new fields
photo
,description
andinvite_link
to theChat
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
andcan_add_web_page_previews
to theChatMember
object.