Rename chat file to peer

This commit is contained in:
Lonami Exo 2024-03-17 13:11:48 +01:00
parent d77efe3513
commit 031c128fef
5 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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):

View File

@ -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

View File

@ -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):