mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Move get_dialogs() from "messages" to "chats" namespace
This commit is contained in:
parent
9c0f8b2f3b
commit
2d8792a7cd
3 changed files with 4 additions and 4 deletions
|
|
@ -21,6 +21,7 @@ from .export_chat_invite_link import ExportChatInviteLink
|
|||
from .get_chat import GetChat
|
||||
from .get_chat_member import GetChatMember
|
||||
from .get_chat_members import GetChatMembers
|
||||
from .get_dialogs import GetDialogs
|
||||
from .join_chat import JoinChat
|
||||
from .kick_chat_member import KickChatMember
|
||||
from .leave_chat import LeaveChat
|
||||
|
|
@ -50,6 +51,7 @@ class Chats(
|
|||
SetChatTitle,
|
||||
SetChatDescription,
|
||||
PinChatMessage,
|
||||
UnpinChatMessage
|
||||
UnpinChatMessage,
|
||||
GetDialogs
|
||||
):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -22,14 +22,13 @@ from .edit_message_media import EditMessageMedia
|
|||
from .edit_message_reply_markup import EditMessageReplyMarkup
|
||||
from .edit_message_text import EditMessageText
|
||||
from .forward_messages import ForwardMessages
|
||||
from .get_dialogs import GetDialogs
|
||||
from .get_history import GetHistory
|
||||
from .get_messages import GetMessages
|
||||
from .send_animation import SendAnimation
|
||||
from .send_audio import SendAudio
|
||||
from .send_chat_action import SendChatAction
|
||||
from .send_contact import SendContact
|
||||
from .send_document import SendDocument
|
||||
from .send_animation import SendAnimation
|
||||
from .send_location import SendLocation
|
||||
from .send_media_group import SendMediaGroup
|
||||
from .send_message import SendMessage
|
||||
|
|
@ -50,7 +49,6 @@ class Messages(
|
|||
ForwardMessages,
|
||||
GetHistory,
|
||||
GetMessages,
|
||||
GetDialogs,
|
||||
SendAudio,
|
||||
SendChatAction,
|
||||
SendContact,
|
||||
|
|
|
|||
Loading…
Reference in a new issue