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