PyroFork: Cleanup parameter description

Signed-off-by: wulan17 <galihgustip@gmail.com>
This commit is contained in:
wulan17 2023-01-04 09:47:54 +07:00
parent e15e3d7d50
commit 609d8985d4
No known key found for this signature in database
GPG key ID: A1EF50E174745C55
2 changed files with 1 additions and 5 deletions

View file

@ -33,15 +33,13 @@ class GetForumTopics:
chat_id: Union[int, str],
limit: int = 0
) -> Optional[AsyncGenerator["types.ForumTopic", None]]:
"""Get one or more topic from a chat by using topic identifiers.
"""Get one or more topic from a chat.
.. include:: /_includes/usable-by/users.rst
Parameters:
chat_id (``int`` | ``str``):
Unique identifier (int) or username (str) of the target chat.
For your personal cloud (Saved topics) you can simply use "me" or "self".
For a contact that exists in your Telegram address book you can use his phone number (str).
limit (``int``, *optional*):
Limits the number of topics to be retrieved.

View file

@ -40,8 +40,6 @@ class GetForumTopicsByID:
Parameters:
chat_id (``int`` | ``str``):
Unique identifier (int) or username (str) of the target chat.
For your personal cloud (Saved topics) you can simply use "me" or "self".
For a contact that exists in your Telegram address book you can use his phone number (str).
topic_ids (``int`` | Iterable of ``int``, *optional*):
Pass a single topic identifier or an iterable of topic ids (as integers) to get the information of the