Handling Ping Messages
To keep the WebSocket connection alive, you may receive periodic ping messages from the server. You can handle these messages and keep the connection active.
Example of a ping message:
{
"type": "ping",
"message": 1731925784
}
You can ignore these or handle them based on your application logic.