mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Register the new chat administration methods
This commit is contained in:
parent
5bf912640f
commit
0b2efd2b7a
@ -19,13 +19,21 @@
|
|||||||
from .export_chat_invite_link import ExportChatInviteLink
|
from .export_chat_invite_link import ExportChatInviteLink
|
||||||
from .get_chat import GetChat
|
from .get_chat import GetChat
|
||||||
from .join_chat import JoinChat
|
from .join_chat import JoinChat
|
||||||
|
from .kick_chat_member import KickChatMember
|
||||||
from .leave_chat import LeaveChat
|
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(
|
class Chats(
|
||||||
GetChat,
|
GetChat,
|
||||||
ExportChatInviteLink,
|
ExportChatInviteLink,
|
||||||
LeaveChat,
|
LeaveChat,
|
||||||
JoinChat
|
JoinChat,
|
||||||
|
KickChatMember,
|
||||||
|
UnbanChatMember,
|
||||||
|
RestrictChatMember,
|
||||||
|
PromoteChatMember
|
||||||
):
|
):
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user