Make TelegramBareClient able to invoke requests

This commit is contained in:
Lonami Exo
2018-06-09 21:03:48 +02:00
parent 7e68274f26
commit 3e151a1b7a
5 changed files with 347 additions and 215 deletions

View File

@@ -1,6 +1,5 @@
import struct
from datetime import datetime, date
from threading import Event
class TLObject:
@@ -155,7 +154,7 @@ class TLObject:
return TLObject.pretty_format(self, indent=0)
# These should be overrode
def resolve(self, client, utils):
async def resolve(self, client, utils):
pass
def to_dict(self):