PyroFork: Cleanup

Signed-off-by: wulan17 <galihgustip@gmail.com>
This commit is contained in:
wulan17 2023-01-02 09:55:14 +07:00
parent 97f0ecc7c9
commit b2158f702a
No known key found for this signature in database
GPG key ID: A1EF50E174745C55
5 changed files with 11 additions and 11 deletions

View file

@ -35,12 +35,12 @@ class CloseGeneralTopic:
Unique identifier (int) or username (str) of the target chat.
Returns:
`bool`: On success, a Boolean is returned.
`bool`: On success, a True is returned.
Example:
.. code-block:: python
await app.close_forum_topic(chat_id, topic_id)
await app.close_general_topic(chat_id)
"""
await self.invoke(
raw.functions.channels.EditForumTopic(

View file

@ -39,12 +39,12 @@ class EditGeneralTopic:
The general forum topic title.
Returns:
`bool`: On success, a Boolean is returned.
`bool`: On success, a True is returned.
Example:
.. code-block:: python
await app.edit_forum_topic(chat_id,topic_id,"New Topic Title")
await app.edit_general_topic(chat_id,"New Topic Title")
"""
await self.invoke(
raw.functions.channels.EditForumTopic(

View file

@ -35,12 +35,12 @@ class HideGeneralTopic:
Unique identifier (int) or username (str) of the target chat.
Returns:
`bool`: On success, a Boolean is returned.
`bool`: On success, a True is returned.
Example:
.. code-block:: python
await app.close_forum_topic(chat_id, topic_id)
await app.hide_general_topic(chat_id)
"""
await self.invoke(
raw.functions.channels.EditForumTopic(

View file

@ -26,7 +26,7 @@ class ReopenGeneralTopic:
self: "pyrogram.Client",
chat_id: Union[int, str]
) -> bool:
"""Reopen a forum topic.
"""Reopen a general forum topic.
.. include:: /_includes/usable-by/users-bots.rst
@ -35,12 +35,12 @@ class ReopenGeneralTopic:
Unique identifier (int) or username (str) of the target chat.
Returns:
`bool`: On success, a Boolean is returned.
`bool`: On success, a True is returned.
Example:
.. code-block:: python
await app.reopen_forum_topic(chat_id, topic_id)
await app.reopen_general_topic(chat_id, topic_id)
"""
await self.invoke(
raw.functions.channels.EditForumTopic(

View file

@ -35,12 +35,12 @@ class UnhideGeneralTopic:
Unique identifier (int) or username (str) of the target chat.
Returns:
`bool`: On success, a Boolean is returned.
`bool`: On success, a True is returned.
Example:
.. code-block:: python
await app.close_forum_topic(chat_id, topic_id)
await app.unhide_general_topic(chat_id)
"""
await self.invoke(
raw.functions.channels.EditForumTopic(