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

# PartyLocalChatControl::SetTextChatOptions

> Configure les options de chat textuel associées au chat textuel de ce contrôle de chat.

Configure les options de chat textuel associées au chat textuel de ce contrôle de chat.

## Syntaxe

```cpp theme={null}
PartyError SetTextChatOptions(  
    PartyTextChatOptions options,  
    void* asyncIdentifier  
)  
```

### Paramètres

**`options`**   [PartyTextChatOptions](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/enums/partytextchatoptions.md)

Options associées au chat textuel, par exemple si le chat textuel entrant doit être traduit.

**`asyncIdentifier`**   void\*\
*optional*

Une valeur de contexte facultative de la taille d'un pointeur, définie par l'application, qui peut être utilisée pour associer le changement d'état de fin à cet appel.

### Valeur renvoyée

PartyError

`c_partyErrorSuccess` si l'opération asynchrone de définition des options de texte de chat a commencé ; sinon, un code d'erreur. Si cette méthode échoue, aucun changement d'état associé n'est généré. La forme lisible du code d'erreur peut être obtenue via [PartyManager::GetErrorMessage()](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

## Configuration requise

**En-tête :** Party.h

## Voir aussi

[PartyLocalChatControl](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)


## Related topics

- [PartyTextChatOptions](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/enums/partytextchatoptions.md)
- [PartyChatTextReceivedStateChange](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/structs/partychattextreceivedstatechange.md)
- [PartyTextChatFilterLevel](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/reference/enums/partytextchatfilterlevel.md)
- [Notes de version de PlayFab Party](https://docs.xbox.com/fr/services/playfab/multiplayer/networking/release-notes.md)
- [Utilisation de la modération du texte](https://docs.xbox.com/fr/services/playfab/community/voice-communications/concepts-text-moderation.md)
