Fix Telethon 0.18.1 compatibility. Fixes #96
This commit is contained in:
@@ -18,10 +18,10 @@ from typing import Awaitable, Callable
|
||||
import logging
|
||||
import re
|
||||
|
||||
from telethon_aio.tl.types import *
|
||||
from telethon_aio.tl.functions.messages import GetChatsRequest, GetFullChatRequest
|
||||
from telethon_aio.tl.functions.channels import GetChannelsRequest, GetParticipantRequest
|
||||
from telethon_aio.errors import ChannelInvalidError, ChannelPrivateError
|
||||
from telethon.tl.types import *
|
||||
from telethon.tl.functions.messages import GetChatsRequest, GetFullChatRequest
|
||||
from telethon.tl.functions.channels import GetChannelsRequest, GetParticipantRequest
|
||||
from telethon.errors import ChannelInvalidError, ChannelPrivateError
|
||||
|
||||
from .abstract_user import AbstractUser
|
||||
from .db import BotChat
|
||||
@@ -29,7 +29,6 @@ from . import puppet as pu, portal as po, user as u
|
||||
|
||||
config = None
|
||||
|
||||
|
||||
ReplyFunc = Callable[[str], Awaitable[Message]]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user