mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Update usable-by labels
This commit is contained in:
parent
bb44f36247
commit
bf52ec1e94
@ -30,7 +30,7 @@ class ApproveAllChatJoinRequests:
|
||||
) -> bool:
|
||||
"""Approve all pending join requests in a chat.
|
||||
|
||||
.. include:: /_includes/usable-by/users-bots.rst
|
||||
.. include:: /_includes/usable-by/users.rst
|
||||
|
||||
Parameters:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -30,7 +30,7 @@ class DeclineAllChatJoinRequests:
|
||||
) -> bool:
|
||||
"""Decline all pending join requests in a chat.
|
||||
|
||||
.. include:: /_includes/usable-by/users-bots.rst
|
||||
.. include:: /_includes/usable-by/users.rst
|
||||
|
||||
Parameters:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -30,7 +30,7 @@ class DeleteChatAdminInviteLinks:
|
||||
) -> bool:
|
||||
"""Delete all revoked invite links of an administrator.
|
||||
|
||||
.. include:: /_includes/usable-by/users-bots.rst
|
||||
.. include:: /_includes/usable-by/users.rst
|
||||
|
||||
Parameters:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -30,7 +30,7 @@ class DeleteChatInviteLink:
|
||||
) -> bool:
|
||||
"""Delete an already revoked invite link.
|
||||
|
||||
.. include:: /_includes/usable-by/users-bots.rst
|
||||
.. include:: /_includes/usable-by/users.rst
|
||||
|
||||
Parameters:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -38,7 +38,7 @@ class GetChatAdminInviteLinks:
|
||||
As an administrator you can only get your own links you have exported.
|
||||
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:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -31,7 +31,7 @@ class GetChatAdminInviteLinksCount:
|
||||
) -> int:
|
||||
"""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:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -31,7 +31,7 @@ class GetChatAdminsWithInviteLinks:
|
||||
|
||||
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:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -32,7 +32,7 @@ class GetChatInviteLinkJoiners:
|
||||
) -> Optional[AsyncGenerator["types.ChatJoiner", None]]:
|
||||
"""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:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -30,7 +30,7 @@ class GetChatInviteLinkJoinersCount:
|
||||
) -> int:
|
||||
"""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:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
@ -32,7 +32,7 @@ class GetChatJoinRequests:
|
||||
) -> Optional[AsyncGenerator["types.ChatJoiner", None]]:
|
||||
"""Get the pending join requests of a chat.
|
||||
|
||||
.. include:: /_includes/usable-by/users-bots.rst
|
||||
.. include:: /_includes/usable-by/users.rst
|
||||
|
||||
Parameters:
|
||||
chat_id (``int`` | ``str``):
|
||||
|
Loading…
x
Reference in New Issue
Block a user