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

Add .archive() and .unarchive() bound methods to User

This commit is contained in:
Dan
2019-06-08 19:29:55 +02:00
parent 6e3d8ca20b
commit 34616ebf61
2 changed files with 59 additions and 0 deletions

View File

@@ -68,6 +68,15 @@ Chat
- :meth:`~Chat.archive`
- :meth:`~Chat.unarchive`
User
^^^^
.. hlist::
:columns: 2
- :meth:`~User.archive`
- :meth:`~User.unarchive`
CallbackQuery
^^^^^^^^^^^^^
@@ -122,6 +131,10 @@ Details
.. automethod:: Chat.archive()
.. automethod:: Chat.unarchive()
.. User
.. automethod:: User.archive()
.. automethod:: User.unarchive()
.. CallbackQuery
.. automethod:: CallbackQuery.answer()