2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 06:16:06 +00:00

Add .(kick|unban|restrict|promote)_member bound methods to Chat

This commit is contained in:
Mendel E
2019-06-28 20:22:20 -04:00
parent 54c8e24f48
commit 2c1834b1b2
2 changed files with 263 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ Chat
- :meth:`~Chat.set_title`
- :meth:`~Chat.set_description`
- :meth:`~Chat.set_photo`
- :meth:`~Chat.kick_member`
- :meth:`~Chat.unban_member`
- :meth:`~Chat.restrict_member`
- :meth:`~Chat.promote_member`
User
^^^^
@@ -140,6 +144,10 @@ Details
.. automethod:: Chat.set_title()
.. automethod:: Chat.set_description)
.. automethod:: Chat.set_photo()
.. automethod:: Chat.kick_member()
.. automethod:: Chat.unban_member()
.. automethod:: Chat.restrict_member()
.. automethod:: Chat.promote_member()
.. User
.. automethod:: User.archive()