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

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

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

## 構文

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

### パラメーター

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

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

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

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

### 戻り値

PartyError

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

## 要件

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

## 関連項目

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


## Related topics

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