mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Fix telethon.sync not syncifying takeout client
This commit is contained in:
parent
68bf9f76f6
commit
a7b4794585
|
@ -14,6 +14,7 @@ import asyncio
|
||||||
import functools
|
import functools
|
||||||
import inspect
|
import inspect
|
||||||
|
|
||||||
|
from .client.account import _TakeoutClient
|
||||||
from .client.telegramclient import TelegramClient
|
from .client.telegramclient import TelegramClient
|
||||||
from .tl.custom import (
|
from .tl.custom import (
|
||||||
Draft, Dialog, MessageButton, Forward, Message, InlineResult, Conversation
|
Draft, Dialog, MessageButton, Forward, Message, InlineResult, Conversation
|
||||||
|
@ -55,5 +56,5 @@ def syncify(*types):
|
||||||
_syncify_wrap(t, name)
|
_syncify_wrap(t, name)
|
||||||
|
|
||||||
|
|
||||||
syncify(TelegramClient, Draft, Dialog, MessageButton,
|
syncify(TelegramClient, _TakeoutClient, Draft, Dialog, MessageButton,
|
||||||
ChatGetter, SenderGetter, Forward, Message, InlineResult, Conversation)
|
ChatGetter, SenderGetter, Forward, Message, InlineResult, Conversation)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user