From 609d8985d435e6d7bb32906e003cfb638cea0501 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Wed, 4 Jan 2023 09:47:54 +0700 Subject: [PATCH] PyroFork: Cleanup parameter description Signed-off-by: wulan17 --- pyrogram/methods/chats/get_forum_topics.py | 4 +--- pyrogram/methods/chats/get_forum_topics_by_id.py | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyrogram/methods/chats/get_forum_topics.py b/pyrogram/methods/chats/get_forum_topics.py index 5101c17b..7c67fa7b 100644 --- a/pyrogram/methods/chats/get_forum_topics.py +++ b/pyrogram/methods/chats/get_forum_topics.py @@ -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. diff --git a/pyrogram/methods/chats/get_forum_topics_by_id.py b/pyrogram/methods/chats/get_forum_topics_by_id.py index 5460cb3f..ae67b983 100644 --- a/pyrogram/methods/chats/get_forum_topics_by_id.py +++ b/pyrogram/methods/chats/get_forum_topics_by_id.py @@ -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