UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

18 lines (12 loc) 537 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [ChatEventPayloads](./server.chateventpayloads.md) &gt; ["CHAT.PLAYER\_MESSAGE"](./server.chateventpayloads._chat.player_message_.md) ## ChatEventPayloads."CHAT.PLAYER\_MESSAGE" property Emitted when a message is sent to a specific player. **Signature:** ```typescript [ChatEvent.PLAYER_MESSAGE]: { player: Player; message: string; color?: string; }; ```