> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyTextChatOptions

> Text chat options.

Text chat options.

## Syntax

```cpp theme={null}
enum class PartyTextChatOptions    
{  
    None = 0x0,  
    TranslateToLocalLanguage = 0x1,  
    FilterOffensiveText = 0x2,  
}  
```

## Constants

| Constant                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| None                     | No options are selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| TranslateToLocalLanguage | Incoming text chat will be translated to the local chat control's language.<br /><br /> The language specified via [PartyLocalChatControl::GetLanguage()](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlanguage) is the language to which the incoming text chat will be translated. The translations will be provided in addition to the original text chat via a [PartyChatTextReceivedStateChange](/services/playfab/multiplayer/networking/reference/structs/partychattextreceivedstatechange). <br /><br /> If translation is enabled, a translation corresponding to the local chat control's language will always be provided in each resulting PartyChatTextReceivedStateChange. If the source chat control's language is the same as the local chat control's language, the chat text and translation strings will be identical. |
| FilterOffensiveText      | Offensive terms will be filtered out of incoming text chat.<br /><br /> For incoming chat text detected as English, the filtering level may be adjusted using the [PartyOption::TextChatFilterLevel](/services/playfab/multiplayer/networking/reference/enums/partyoption) option in [PartyManager::SetOption()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_setoption). The default level is family-friendly.                                                                                                                                                                                                                                                                                                                                                                                                                                                |

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)\
[PartyLocalChatControl::SetTextChatOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settextchatoptions)\
[PartyLocalChatControl::GetLanguage](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlanguage)\
[PartyChatTextReceivedStateChange](/services/playfab/multiplayer/networking/reference/structs/partychattextreceivedstatechange)


## Related topics

- [PartyLocalChatControl::GetTextChatOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_gettextchatoptions.md)
- [PartyLocalChatControl::SetTextChatOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settextchatoptions.md)
- [Using text moderation](/services/playfab/community/voice-communications/concepts-text-moderation.md)
- [PartySetTextChatOptionsCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partysettextchatoptionscompletedstatechange.md)
- [Understanding How PlayFab Party chat works](/services/playfab/community/voice-communications/concepts-chat.md)
