sendChatMessage
|
This endpoint requires Authentication. |
Sends a chat message to all players.
Request Body
| Name | Type | Required? | Description |
|---|---|---|---|
message |
String |
Yes |
The message to send. |
sender |
String |
No |
Sender’s name. Empty for System, "ada" for A.D.A messages. |
color |
Object |
No |
Color of the chat message. |
r |
Float |
No |
Red channel intensity (0-1). Default: 1 |
g |
Float |
No |
Green channel intensity (0-1). Default: 1 |
b |
Float |
No |
Blue channel intensity (0-1). Default: 1 |
a |
Float |
No |
Alpha channel intensity (0-1). Default: 1 |
Response Body
| Name | Type | Description |
|---|---|---|
IsSent |
Boolean |
If the message passed all checks and was sent. |
Message |
String |
The message sent to the chat. |