mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 23:24:50 +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],
|
chat_id: Union[int, str],
|
||||||
limit: int = 0
|
limit: int = 0
|
||||||
) -> Optional[AsyncGenerator["types.ForumTopic", None]]:
|
) -> 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
|
.. include:: /_includes/usable-by/users.rst
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
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*):
|
limit (``int``, *optional*):
|
||||||
Limits the number of topics to be retrieved.
|
Limits the number of topics to be retrieved.
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,6 @@ class GetForumTopicsByID:
|
||||||
Parameters:
|
Parameters:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
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*):
|
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
|
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