diff --git a/client/src/telethon/_impl/client/types/peer/__init__.py b/client/src/telethon/_impl/client/types/peer/__init__.py index ab042721..0972bfd4 100644 --- a/client/src/telethon/_impl/client/types/peer/__init__.py +++ b/client/src/telethon/_impl/client/types/peer/__init__.py @@ -8,8 +8,8 @@ from typing import TYPE_CHECKING, Optional, Sequence from ....session import PackedChat from ....tl import abcs, types from .channel import Channel -from .chat import Chat from .group import Group +from .peer import Chat from .user import User if TYPE_CHECKING: diff --git a/client/src/telethon/_impl/client/types/peer/channel.py b/client/src/telethon/_impl/client/types/peer/channel.py index dce7db4b..c5cadacf 100644 --- a/client/src/telethon/_impl/client/types/peer/channel.py +++ b/client/src/telethon/_impl/client/types/peer/channel.py @@ -3,7 +3,7 @@ from typing import Optional, Self from ....session import PackedChat, PackedType from ....tl import abcs, types from ..meta import NoPublicConstructor -from .chat import Chat +from .peer import Chat class Channel(Chat, metaclass=NoPublicConstructor): diff --git a/client/src/telethon/_impl/client/types/peer/group.py b/client/src/telethon/_impl/client/types/peer/group.py index d7eb81a1..25d8c5c9 100644 --- a/client/src/telethon/_impl/client/types/peer/group.py +++ b/client/src/telethon/_impl/client/types/peer/group.py @@ -7,7 +7,7 @@ from ....session import PackedChat, PackedType from ....tl import abcs, types from ..chat_restriction import ChatRestriction from ..meta import NoPublicConstructor -from .chat import Chat +from .peer import Chat if TYPE_CHECKING: from ...client.client import Client diff --git a/client/src/telethon/_impl/client/types/peer/chat.py b/client/src/telethon/_impl/client/types/peer/peer.py similarity index 100% rename from client/src/telethon/_impl/client/types/peer/chat.py rename to client/src/telethon/_impl/client/types/peer/peer.py diff --git a/client/src/telethon/_impl/client/types/peer/user.py b/client/src/telethon/_impl/client/types/peer/user.py index ca74c967..f5738c77 100644 --- a/client/src/telethon/_impl/client/types/peer/user.py +++ b/client/src/telethon/_impl/client/types/peer/user.py @@ -3,7 +3,7 @@ from typing import Optional, Self from ....session import PackedChat, PackedType from ....tl import abcs, types from ..meta import NoPublicConstructor -from .chat import Chat +from .peer import Chat class User(Chat, metaclass=NoPublicConstructor):