mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-31 12:44:52 +00:00
PyroFork: Cleanup parameter description
Signed-off-by: wulan17 <galihgustip@gmail.com>
This commit is contained in:
parent
e15e3d7d50
commit
609d8985d4
2 changed files with 1 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue