From 0b2efd2b7ae82ff78cc9f28ee6deb608fbe39468 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 4 Jun 2018 12:21:48 +0200 Subject: [PATCH] Register the new chat administration methods --- pyrogram/client/methods/chats/__init__.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyrogram/client/methods/chats/__init__.py b/pyrogram/client/methods/chats/__init__.py index f32e474e..9c887ef5 100644 --- a/pyrogram/client/methods/chats/__init__.py +++ b/pyrogram/client/methods/chats/__init__.py @@ -19,13 +19,21 @@ from .export_chat_invite_link import ExportChatInviteLink from .get_chat import GetChat from .join_chat import JoinChat +from .kick_chat_member import KickChatMember from .leave_chat import LeaveChat +from .promote_chat_member import PromoteChatMember +from .restrict_chat_member import RestrictChatMember +from .unban_chat_member import UnbanChatMember class Chats( GetChat, ExportChatInviteLink, LeaveChat, - JoinChat + JoinChat, + KickChatMember, + UnbanChatMember, + RestrictChatMember, + PromoteChatMember ): pass