2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Update usable-by labels

This commit is contained in:
Dan 2022-10-15 15:49:36 +02:00
parent bb44f36247
commit bf52ec1e94
10 changed files with 10 additions and 10 deletions

View File

@ -30,7 +30,7 @@ class ApproveAllChatJoinRequests:
) -> bool: ) -> bool:
"""Approve all pending join requests in a chat. """Approve all pending join requests in a chat.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -30,7 +30,7 @@ class DeclineAllChatJoinRequests:
) -> bool: ) -> bool:
"""Decline all pending join requests in a chat. """Decline all pending join requests in a chat.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -30,7 +30,7 @@ class DeleteChatAdminInviteLinks:
) -> bool: ) -> bool:
"""Delete all revoked invite links of an administrator. """Delete all revoked invite links of an administrator.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -30,7 +30,7 @@ class DeleteChatInviteLink:
) -> bool: ) -> bool:
"""Delete an already revoked invite link. """Delete an already revoked invite link.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -38,7 +38,7 @@ class GetChatAdminInviteLinks:
As an administrator you can only get your own links you have exported. As an administrator you can only get your own links you have exported.
As the chat or channel owner you can get everyones links. As the chat or channel owner you can get everyones links.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -31,7 +31,7 @@ class GetChatAdminInviteLinksCount:
) -> int: ) -> int:
"""Get the count of the invite links created by an administrator in a chat. """Get the count of the invite links created by an administrator in a chat.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -31,7 +31,7 @@ class GetChatAdminsWithInviteLinks:
You must be the owner of a chat for this to work. You must be the owner of a chat for this to work.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -32,7 +32,7 @@ class GetChatInviteLinkJoiners:
) -> Optional[AsyncGenerator["types.ChatJoiner", None]]: ) -> Optional[AsyncGenerator["types.ChatJoiner", None]]:
"""Get the members who joined the chat with the invite link. """Get the members who joined the chat with the invite link.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -30,7 +30,7 @@ class GetChatInviteLinkJoinersCount:
) -> int: ) -> int:
"""Get the count of the members who joined the chat with the invite link. """Get the count of the members who joined the chat with the invite link.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):

View File

@ -32,7 +32,7 @@ class GetChatJoinRequests:
) -> Optional[AsyncGenerator["types.ChatJoiner", None]]: ) -> Optional[AsyncGenerator["types.ChatJoiner", None]]:
"""Get the pending join requests of a chat. """Get the pending join requests of a chat.
.. include:: /_includes/usable-by/users-bots.rst .. include:: /_includes/usable-by/users.rst
Parameters: Parameters:
chat_id (``int`` | ``str``): chat_id (``int`` | ``str``):