diff --git a/pyrogram/client/methods/chats/create_channel.py b/pyrogram/client/methods/chats/create_channel.py index 9520ceef..9dde8781 100644 --- a/pyrogram/client/methods/chats/create_channel.py +++ b/pyrogram/client/methods/chats/create_channel.py @@ -30,7 +30,7 @@ class CreateChannel(BaseClient): """Create a new broadcast channel. Parameters: - title (``title``): + title (``str``): The channel title. description (``str``, *optional*): diff --git a/pyrogram/client/methods/chats/create_group.py b/pyrogram/client/methods/chats/create_group.py index 4e1d63bd..a9013d81 100644 --- a/pyrogram/client/methods/chats/create_group.py +++ b/pyrogram/client/methods/chats/create_group.py @@ -36,7 +36,7 @@ class CreateGroup(BaseClient): If you want to create a new supergroup, use :meth:`~pyrogram.Client.create_supergroup` instead. Parameters: - title (``title``): + title (``str``): The group title. users (``int`` | ``str`` | List of ``int`` or ``str``): diff --git a/pyrogram/client/methods/chats/create_supergroup.py b/pyrogram/client/methods/chats/create_supergroup.py index 0ad14d06..28b3fd1b 100644 --- a/pyrogram/client/methods/chats/create_supergroup.py +++ b/pyrogram/client/methods/chats/create_supergroup.py @@ -34,7 +34,7 @@ class CreateSupergroup(BaseClient): If you want to create a new basic group, use :meth:`~pyrogram.Client.create_group` instead. Parameters: - title (``title``): + title (``str``): The supergroup title. description (``str``, *optional*): diff --git a/pyrogram/client/methods/chats/iter_dialogs.py b/pyrogram/client/methods/chats/iter_dialogs.py index 55de2a74..f0082096 100644 --- a/pyrogram/client/methods/chats/iter_dialogs.py +++ b/pyrogram/client/methods/chats/iter_dialogs.py @@ -39,7 +39,7 @@ class IterDialogs(BaseClient): The offset date in Unix time taken from the top message of a :obj:`Dialog`. Defaults to 0 (most recent dialog). - limit (``str``, *optional*): + limit (``int``, *optional*): Limits the number of dialogs to be retrieved. By default, no limit is applied and all dialogs are returned.