mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Rename chat file to peer
This commit is contained in:
parent
d77efe3513
commit
031c128fef
|
@ -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:
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user