From bf52ec1e944d224c449fda32a900c46000a7e666 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 15 Oct 2022 15:49:36 +0200 Subject: [PATCH] Update usable-by labels --- pyrogram/methods/invite_links/approve_all_chat_join_requests.py | 2 +- pyrogram/methods/invite_links/decline_all_chat_join_requests.py | 2 +- pyrogram/methods/invite_links/delete_chat_admin_invite_links.py | 2 +- pyrogram/methods/invite_links/delete_chat_invite_link.py | 2 +- pyrogram/methods/invite_links/get_chat_admin_invite_links.py | 2 +- .../methods/invite_links/get_chat_admin_invite_links_count.py | 2 +- .../methods/invite_links/get_chat_admins_with_invite_links.py | 2 +- pyrogram/methods/invite_links/get_chat_invite_link_joiners.py | 2 +- .../methods/invite_links/get_chat_invite_link_joiners_count.py | 2 +- pyrogram/methods/invite_links/get_chat_join_requests.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pyrogram/methods/invite_links/approve_all_chat_join_requests.py b/pyrogram/methods/invite_links/approve_all_chat_join_requests.py index 06894bc8..623fd87f 100644 --- a/pyrogram/methods/invite_links/approve_all_chat_join_requests.py +++ b/pyrogram/methods/invite_links/approve_all_chat_join_requests.py @@ -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``): diff --git a/pyrogram/methods/invite_links/decline_all_chat_join_requests.py b/pyrogram/methods/invite_links/decline_all_chat_join_requests.py index 4ce32de8..9cf50955 100644 --- a/pyrogram/methods/invite_links/decline_all_chat_join_requests.py +++ b/pyrogram/methods/invite_links/decline_all_chat_join_requests.py @@ -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``): diff --git a/pyrogram/methods/invite_links/delete_chat_admin_invite_links.py b/pyrogram/methods/invite_links/delete_chat_admin_invite_links.py index 6e127506..32ef1de5 100644 --- a/pyrogram/methods/invite_links/delete_chat_admin_invite_links.py +++ b/pyrogram/methods/invite_links/delete_chat_admin_invite_links.py @@ -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``): diff --git a/pyrogram/methods/invite_links/delete_chat_invite_link.py b/pyrogram/methods/invite_links/delete_chat_invite_link.py index a5915979..82db623a 100644 --- a/pyrogram/methods/invite_links/delete_chat_invite_link.py +++ b/pyrogram/methods/invite_links/delete_chat_invite_link.py @@ -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``): diff --git a/pyrogram/methods/invite_links/get_chat_admin_invite_links.py b/pyrogram/methods/invite_links/get_chat_admin_invite_links.py index c845902e..62acca10 100644 --- a/pyrogram/methods/invite_links/get_chat_admin_invite_links.py +++ b/pyrogram/methods/invite_links/get_chat_admin_invite_links.py @@ -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``): diff --git a/pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py b/pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py index 68479a61..528876ed 100644 --- a/pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py +++ b/pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py @@ -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``): diff --git a/pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py b/pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py index d5bf6569..f283e534 100644 --- a/pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py +++ b/pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py @@ -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``): diff --git a/pyrogram/methods/invite_links/get_chat_invite_link_joiners.py b/pyrogram/methods/invite_links/get_chat_invite_link_joiners.py index d03d1083..c1fc43a7 100644 --- a/pyrogram/methods/invite_links/get_chat_invite_link_joiners.py +++ b/pyrogram/methods/invite_links/get_chat_invite_link_joiners.py @@ -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``): diff --git a/pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py b/pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py index 715053e6..c591be19 100644 --- a/pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py +++ b/pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py @@ -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``): diff --git a/pyrogram/methods/invite_links/get_chat_join_requests.py b/pyrogram/methods/invite_links/get_chat_join_requests.py index ee6fe7e3..a75498e2 100644 --- a/pyrogram/methods/invite_links/get_chat_join_requests.py +++ b/pyrogram/methods/invite_links/get_chat_join_requests.py @@ -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``):