mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Fix messed up method names
This commit is contained in:
parent
ec1cd15094
commit
da697aec13
@ -239,18 +239,18 @@ def pyrogram_api():
|
||||
""",
|
||||
invite_links="""
|
||||
Invite Links
|
||||
get_chat_invite_link
|
||||
export_chat_invite_link
|
||||
create_chat_invite_link
|
||||
edit_chat_invite_link
|
||||
revoke_chat_invite_link
|
||||
delete_chat_invite_link
|
||||
delete_all_chat_invite_links
|
||||
get_chat_invite_link
|
||||
get_chat_invite_link_members
|
||||
get_chat_invite_link_members_count
|
||||
get_chat_invite_links
|
||||
get_chat_invite_links_count
|
||||
get_chat_admin_invite_links
|
||||
get_chat_admin_invite_links_count
|
||||
get_chat_admins_with_invite_links
|
||||
delete_chat_admin_invite_links
|
||||
""",
|
||||
contacts="""
|
||||
Contacts
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
from .create_chat_invite_link import CreateChatInviteLink
|
||||
from .delete_all_chat_invite_links import DeleteAllChatInviteLinks
|
||||
from .delete_chat_admin_invite_links import DeleteChatAdminInviteLinks
|
||||
from .delete_chat_invite_link import DeleteChatInviteLink
|
||||
from .edit_chat_invite_link import EditChatInviteLink
|
||||
from .export_chat_invite_link import ExportChatInviteLink
|
||||
@ -26,8 +26,8 @@ from .get_chat_admins_with_invite_links import GetChatAdminsWithInviteLinks
|
||||
from .get_chat_invite_link import GetChatInviteLink
|
||||
from .get_chat_invite_link_members import GetChatInviteLinkMembers
|
||||
from .get_chat_invite_link_members_count import GetChatInviteLinkMembersCount
|
||||
from .get_chat_invite_links import GetChatInviteLinks
|
||||
from .get_chat_invite_links_count import GetChatInviteLinksCount
|
||||
from .get_chat_admin_invite_links import GetChatAdminInviteLinks
|
||||
from .get_chat_admin_invite_links_count import GetChatAdminInviteLinksCount
|
||||
from .revoke_chat_invite_link import RevokeChatInviteLink
|
||||
|
||||
|
||||
@ -38,11 +38,11 @@ class InviteLinks(
|
||||
CreateChatInviteLink,
|
||||
GetChatInviteLinkMembers,
|
||||
GetChatInviteLinkMembersCount,
|
||||
GetChatInviteLinks,
|
||||
GetChatAdminInviteLinks,
|
||||
ExportChatInviteLink,
|
||||
DeleteAllChatInviteLinks,
|
||||
GetChatInviteLinksCount,
|
||||
DeleteChatAdminInviteLinks,
|
||||
GetChatAdminInviteLinksCount,
|
||||
GetChatAdminsWithInviteLinks,
|
||||
GetChatInviteLink
|
||||
):
|
||||
pass
|
||||
pass
|
@ -22,8 +22,8 @@ from pyrogram import raw
|
||||
from pyrogram.scaffold import Scaffold
|
||||
|
||||
|
||||
class DeleteAllChatInviteLinks(Scaffold):
|
||||
async def delete_all_chat_invite_links(
|
||||
class DeleteChatAdminInviteLinks(Scaffold):
|
||||
async def delete_chat_admin_invite_links(
|
||||
self,
|
||||
chat_id: Union[int, str],
|
||||
admin_id: Union[int, str],
|
@ -23,8 +23,8 @@ from pyrogram import types
|
||||
from pyrogram.scaffold import Scaffold
|
||||
|
||||
|
||||
class GetChatInviteLinks(Scaffold):
|
||||
async def get_chat_invite_links(
|
||||
class GetChatAdminInviteLinks(Scaffold):
|
||||
async def get_chat_admin_invite_links(
|
||||
self,
|
||||
chat_id: Union[int, str],
|
||||
admin_id: Union[int, str],
|
@ -22,8 +22,8 @@ from pyrogram import raw
|
||||
from pyrogram.scaffold import Scaffold
|
||||
|
||||
|
||||
class GetChatInviteLinksCount(Scaffold):
|
||||
async def get_chat_invite_links_count(
|
||||
class GetChatAdminInviteLinksCount(Scaffold):
|
||||
async def get_chat_admin_invite_links_count(
|
||||
self,
|
||||
chat_id: Union[int, str],
|
||||
admin_id: Union[int, str],
|
Loading…
Reference in New Issue
Block a user