mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Add new blank lines for clarity and for fixing rst
This commit is contained in:
parent
856870c195
commit
92d47f17f3
1 changed files with 14 additions and 1 deletions
|
|
@ -215,17 +215,23 @@ class User(Object):
|
||||||
|
|
||||||
return self._client.unarchive_chats(self.id)
|
return self._client.unarchive_chats(self.id)
|
||||||
|
|
||||||
|
|
||||||
def block(self):
|
def block(self):
|
||||||
"""Bound method *block* of :obj:`User`.
|
"""Bound method *block* of :obj:`User`.
|
||||||
|
|
||||||
Use as a shortcut for:
|
Use as a shortcut for:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
client.block_user(123456789)
|
client.block_user(123456789)
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
user.block()
|
user.block()
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
True on success.
|
True on success.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
RPCError: In case of a Telegram RPC error.
|
RPCError: In case of a Telegram RPC error.
|
||||||
"""
|
"""
|
||||||
|
|
@ -235,14 +241,21 @@ class User(Object):
|
||||||
|
|
||||||
def unblock(self):
|
def unblock(self):
|
||||||
"""Bound method *unblock* of :obj:`User`.
|
"""Bound method *unblock* of :obj:`User`.
|
||||||
|
|
||||||
Use as a shortcut for:
|
Use as a shortcut for:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
client.unblock_user(123456789)
|
client.unblock_user(123456789)
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
user.unblock()
|
user.unblock()
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
True on success.
|
True on success.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
RPCError: In case of a Telegram RPC error.
|
RPCError: In case of a Telegram RPC error.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue