ops
This commit is contained in:
parent
46f540697d
commit
39e83a71b2
@ -94,10 +94,10 @@ class ChannelHistoryReadTask(AsyncTask):
|
||||
message = {"update_id": 1, "message": message}
|
||||
|
||||
data = json.dumps(message, default=JsonSerializer.default, ensure_ascii=True)
|
||||
response = await self.http.post(self.webhook, data=bytes(data, "utf8"))
|
||||
result = await self.http.post(self.webhook, data=bytes(data, "utf8"))
|
||||
|
||||
await response.read()
|
||||
response.close()
|
||||
await result.read()
|
||||
result.close()
|
||||
|
||||
if not response.final:
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user