mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Fix small typos
This commit is contained in:
parent
4a9cfa42de
commit
e30b9c5255
@ -547,13 +547,13 @@ class Chat(Object):
|
|||||||
client.restrict_chat_member(
|
client.restrict_chat_member(
|
||||||
chat_id=chat_id,
|
chat_id=chat_id,
|
||||||
user_id=user_id,
|
user_id=user_id,
|
||||||
permissions=ChatPermission()
|
permissions=ChatPermissions()
|
||||||
)
|
)
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
chat.restrict_member(user_id, ChatPermission())
|
chat.restrict_member(user_id, ChatPermissions())
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
user_id (``int`` | ``str``):
|
user_id (``int`` | ``str``):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user