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

Move get_dialogs() from "messages" to "chats" namespace

This commit is contained in:
Dan 2018-08-20 11:24:47 +02:00
parent 9c0f8b2f3b
commit 2d8792a7cd
3 changed files with 4 additions and 4 deletions

View File

@ -21,6 +21,7 @@ from .export_chat_invite_link import ExportChatInviteLink
from .get_chat import GetChat from .get_chat import GetChat
from .get_chat_member import GetChatMember from .get_chat_member import GetChatMember
from .get_chat_members import GetChatMembers from .get_chat_members import GetChatMembers
from .get_dialogs import GetDialogs
from .join_chat import JoinChat from .join_chat import JoinChat
from .kick_chat_member import KickChatMember from .kick_chat_member import KickChatMember
from .leave_chat import LeaveChat from .leave_chat import LeaveChat
@ -50,6 +51,7 @@ class Chats(
SetChatTitle, SetChatTitle,
SetChatDescription, SetChatDescription,
PinChatMessage, PinChatMessage,
UnpinChatMessage UnpinChatMessage,
GetDialogs
): ):
pass pass

View File

@ -22,14 +22,13 @@ from .edit_message_media import EditMessageMedia
from .edit_message_reply_markup import EditMessageReplyMarkup from .edit_message_reply_markup import EditMessageReplyMarkup
from .edit_message_text import EditMessageText from .edit_message_text import EditMessageText
from .forward_messages import ForwardMessages from .forward_messages import ForwardMessages
from .get_dialogs import GetDialogs
from .get_history import GetHistory from .get_history import GetHistory
from .get_messages import GetMessages from .get_messages import GetMessages
from .send_animation import SendAnimation
from .send_audio import SendAudio from .send_audio import SendAudio
from .send_chat_action import SendChatAction from .send_chat_action import SendChatAction
from .send_contact import SendContact from .send_contact import SendContact
from .send_document import SendDocument from .send_document import SendDocument
from .send_animation import SendAnimation
from .send_location import SendLocation from .send_location import SendLocation
from .send_media_group import SendMediaGroup from .send_media_group import SendMediaGroup
from .send_message import SendMessage from .send_message import SendMessage
@ -50,7 +49,6 @@ class Messages(
ForwardMessages, ForwardMessages,
GetHistory, GetHistory,
GetMessages, GetMessages,
GetDialogs,
SendAudio, SendAudio,
SendChatAction, SendChatAction,
SendContact, SendContact,