Fix small typos

This commit is contained in:
Dan 2020-05-23 15:03:52 +02:00
parent 4a9cfa42de
commit e30b9c5255

View File

@ -547,13 +547,13 @@ class Chat(Object):
client.restrict_chat_member(
chat_id=chat_id,
user_id=user_id,
permissions=ChatPermission()
permissions=ChatPermissions()
)
Example:
.. code-block:: python
chat.restrict_member(user_id, ChatPermission())
chat.restrict_member(user_id, ChatPermissions())
Parameters:
user_id (``int`` | ``str``):