2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 06:16:06 +00:00

Tiny documentation fixes

This commit is contained in:
Dan
2019-09-09 15:42:38 +02:00
parent aaf0e82cdf
commit 71148758c9
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ class CreateChannel(BaseClient):
"""Create a new broadcast channel. """Create a new broadcast channel.
Parameters: Parameters:
title (``title``): title (``str``):
The channel title. The channel title.
description (``str``, *optional*): description (``str``, *optional*):

View File

@@ -36,7 +36,7 @@ class CreateGroup(BaseClient):
If you want to create a new supergroup, use :meth:`~pyrogram.Client.create_supergroup` instead. If you want to create a new supergroup, use :meth:`~pyrogram.Client.create_supergroup` instead.
Parameters: Parameters:
title (``title``): title (``str``):
The group title. The group title.
users (``int`` | ``str`` | List of ``int`` or ``str``): users (``int`` | ``str`` | List of ``int`` or ``str``):

View File

@@ -34,7 +34,7 @@ class CreateSupergroup(BaseClient):
If you want to create a new basic group, use :meth:`~pyrogram.Client.create_group` instead. If you want to create a new basic group, use :meth:`~pyrogram.Client.create_group` instead.
Parameters: Parameters:
title (``title``): title (``str``):
The supergroup title. The supergroup title.
description (``str``, *optional*): description (``str``, *optional*):

View File

@@ -39,7 +39,7 @@ class IterDialogs(BaseClient):
The offset date in Unix time taken from the top message of a :obj:`Dialog`. The offset date in Unix time taken from the top message of a :obj:`Dialog`.
Defaults to 0 (most recent dialog). Defaults to 0 (most recent dialog).
limit (``str``, *optional*): limit (``int``, *optional*):
Limits the number of dialogs to be retrieved. Limits the number of dialogs to be retrieved.
By default, no limit is applied and all dialogs are returned. By default, no limit is applied and all dialogs are returned.