Text Chat Developer Guide
Vivox provides two tiers of text chat service:
-
Standard text chat - channel-based and directed text chat.
-
Chat messages can contain any language or content up to service-defined size and rate limits.
-
Chat messages are transported over TLS. No chat messages are saved or archived.
-
-
Text chat with transient channel message history - a predefined number of chat messages sent to a channel are kept in memory so newly joined users can see the most recent messages. After the channel empties, the channel message history is immediately lost.
The server can customize a maximum byte count for text messages in its pre-login configuration. By default, the maximum is 320 bytes with UTF-8 encoding. A text message that exceeds the maximum length in bytes is rejected with a VxErrorMessageTextTooLong error.
The following table details text chat policy options:
| Service | Policy option | Default | Description |
|
Standard text chat |
rate_limit |
1000 bytes per second |
The maximum rate at which a player can send data over text chat. This is configured server-side by Vivox. |
|
Channel message history |
history_size |
0 messages |
The maximum number of messages a channel keeps in memory. This is configured server-side by Vivox. |