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
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [ChatEventPayloads](./server.chateventpayloads.md) > ["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;
};
```