Closed gg closed 13 years ago
To broadcast a message, the server sends a PacketPokerMessage packet to the client. The client then displays the message in a jpoker.dialog() window.
POST /broadcast
message
{"message": "Hello, players"}
POST /broadcast/player/:serial
{"message": "Hello, player"}
changing commit comment, then re-requesting pull request
Overview
To broadcast a message, the server sends a PacketPokerMessage packet to the client. The client then displays the message in a jpoker.dialog() window.
API resources that were added
Broadcast a message to players
Parameters:
message
- string requiredExample request body:
Broadcast a message to a specific player
Parameters
message
- string requiredExample request body:
Other notable changes: