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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user