> For the complete documentation index, see [llms.txt](https://schedule-i-dedicated-servers.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://schedule-i-dedicated-servers.gitbook.io/docs/chat-messages.md).

# Chat Messages

Sending chat messages is VERY simple, there's only 2 methods.

### Sending a message to a specific player :

```csharp
thePlayer.SendChatMessage("Your message");
thePlayer.SendChatMessage("<color=red>It also supports unity richtext.</color>");
```

### Sending a message to the entire server :

```csharp
ChatAPI.BroadcastChatMessage("Hey everyone! Welcome to the server");
ChatAPI.BroadcastChatMessage("You can join our discord at discord.gg/xxxxx");
```
