> ## 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.

# PartyLocalChatControl::SetTextChatOptions

> このチャット コントロールのテキスト チャットに関連付けられたテキスト チャット オプションを構成します。

このチャット コントロールのテキスト チャットに関連付けられたテキスト チャット オプションを構成します。

## 構文

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

### パラメーター

**`options`**   [PartyTextChatOptions](/services/playfab/multiplayer/networking/reference/enums/partytextchatoptions)

受信テキスト チャットを翻訳するかどうかなど、テキスト チャットに関連付けられたオプション。

**`asyncIdentifier`**   void\*\
*オプション*

完了状態の変化をこの呼び出しに関連付けるために使用できる、オプションでアプリ定義のポインター サイズのコンテキスト値。

### 戻り値

PartyError

チャット テキスト オプションを設定する非同期操作が開始された場合は `c_partyErrorSuccess`、それ以外の場合はエラー コード。このメソッドが失敗した場合、関連する状態変化は生成されません。エラー コードの人間が読める形式は、[PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) で取得できます。

## 要件

**ヘッダー:** Party.h

## 関連項目

[PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)


## Related topics

- [PartyTextChatOptions](/ja-jp/services/playfab/multiplayer/networking/reference/enums/partytextchatoptions.md)
- [PartyChatTextReceivedStateChange](/ja-jp/services/playfab/multiplayer/networking/reference/structs/partychattextreceivedstatechange.md)
- [PartyTextChatFilterLevel](/ja-jp/services/playfab/multiplayer/networking/reference/enums/partytextchatfilterlevel.md)
- [テキスト モデレーションの使用](/ja-jp/services/playfab/community/voice-communications/concepts-text-moderation.md)
- [PlayFab Party リリース ノート](/ja-jp/services/playfab/multiplayer/networking/release-notes.md)
