# Enum.TextFilterContext

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/TextFilterContext/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/TextFilterContext

Indicates whether text submitted to [`TextService:FilterStringAsync()`](https://rapi.sleaze.dev/classes/TextService.md) or [`TextService:FilterAndTranslateStringAsync()`](https://rapi.sleaze.dev/classes/TextService.md) 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. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [TextService](https://rapi.sleaze.dev/classes/TextService.md): method parameter `FilterAndTranslateStringAsync`, `FilterStringAsync`
