Skip to content

Commit 7114875

Browse files
committed
Tiny documentation fixes
1 parent aaf0e82 commit 7114875

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyrogram/client/methods/chats/create_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create_channel(
3030
"""Create a new broadcast channel.
3131
3232
Parameters:
33-
title (``title``):
33+
title (``str``):
3434
The channel title.
3535
3636
description (``str``, *optional*):

pyrogram/client/methods/chats/create_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def create_group(
3636
If you want to create a new supergroup, use :meth:`~pyrogram.Client.create_supergroup` instead.
3737
3838
Parameters:
39-
title (``title``):
39+
title (``str``):
4040
The group title.
4141
4242
users (``int`` | ``str`` | List of ``int`` or ``str``):

pyrogram/client/methods/chats/create_supergroup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def create_supergroup(
3434
If you want to create a new basic group, use :meth:`~pyrogram.Client.create_group` instead.
3535
3636
Parameters:
37-
title (``title``):
37+
title (``str``):
3838
The supergroup title.
3939
4040
description (``str``, *optional*):

pyrogram/client/methods/chats/iter_dialogs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def iter_dialogs(
3939
The offset date in Unix time taken from the top message of a :obj:`Dialog`.
4040
Defaults to 0 (most recent dialog).
4141
42-
limit (``str``, *optional*):
42+
limit (``int``, *optional*):
4343
Limits the number of dialogs to be retrieved.
4444
By default, no limit is applied and all dialogs are returned.
4545

0 commit comments

Comments
 (0)