Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
TextFilterContext
Indicates whether text submitted to TextService:FilterStringAsync() or TextService:FilterAndTranslateStringAsync() is intended for a public or private audience, controlling the strictness of the text filtering backend.
Items
| Name | Value | Description |
|---|---|---|
| PublicChat | 1 | Indicates the string will be visible to all players or a broad public audience, applying the strictest level of text filtering. |
| PrivateChat | 2 | Indicates the string is part of a private conversation between specific users, applying filtering appropriate for one-to-one or small-group exchanges. |
PublicChat
Indicates the string will be visible to all players or a broad public audience, applying the strictest level of text filtering.
| Field | Value |
|---|---|
| value | 1 |
PrivateChat
Indicates the string is part of a private conversation between specific users, applying filtering appropriate for one-to-one or small-group exchanges.
| Field | Value |
|---|---|
| value | 2 |