Fix usable by in pin/unpin_forum_topic method

This commit is contained in:
KurimuzonAkuma 2024-10-15 20:36:21 +03:00
parent df881ee8cf
commit 48be19429c
3 changed files with 15 additions and 2 deletions

View File

@ -165,3 +165,16 @@ ActiveSession
:hidden:
{active_session_toctree}
StarGift
--------
.. hlist::
:columns: 2
{star_gift_hlist}
.. toctree::
:hidden:
{star_gift_toctree}

View File

@ -29,7 +29,7 @@ class PinForumTopic:
) -> bool:
"""Pin a forum topic.
.. include:: /_includes/usable-by/users-bots.rst
.. include:: /_includes/usable-by/users.rst
Parameters:
chat_id (``int`` | ``str``):

View File

@ -29,7 +29,7 @@ class UnpinForumTopic:
) -> bool:
"""Unpin a forum topic.
.. include:: /_includes/usable-by/users-bots.rst
.. include:: /_includes/usable-by/users.rst
Parameters:
chat_id (``int`` | ``str``):