2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Add missing docstring arguments

This commit is contained in:
Dan 2018-07-10 15:57:27 +02:00
parent 31f41fae18
commit ab11c9e347

View File

@ -25,6 +25,11 @@ class GetChat(BaseClient):
"""Use this method to get up to date information about the chat (current name of the user for
one-on-one conversations, current username of a user, group or channel, etc.)
Args:
chat_id (``int`` | ``str``):
Unique identifier (int) or username (str) of the target chat.
For a private channel/supergroup you can use its *t.me/joinchat/* link.
Returns:
On success, a :obj:`Chat <pyrogram.Chat>` object is returned.