1 min read

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

NameValueDescription
PublicChat1Indicates the string will be visible to all players or a broad public audience, applying the strictest level of text filtering.
PrivateChat2Indicates 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.

FieldValue
value1

PrivateChat

Indicates the string is part of a private conversation between specific users, applying filtering appropriate for one-to-one or small-group exchanges.

FieldValue
value2