async def METHOD_NAME(self):
    while True:
        payload = await self.ws.receive_json()
        op = payload["op"]
        if op == 1:
            print("Recv heartbeat, seq =", payload["d"])
            self.last_heartbeat = time.perf_counter()
            print("Sending heartbeat ack")
            await self.ws.send_json({"op": 11, "d": None})
            continue
        if op == 11:
            print("Recv Heartbeat ACK")
            continue
        return payload