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

> 提供此聊天控制項與文字聊天相關聯的文字聊天選項。

提供此聊天控制項與文字聊天相關聯的文字聊天選項。

## 語法

```cpp theme={null}
PartyError GetTextChatOptions(  
    PartyTextChatOptions* options  
)  
```

### 參數

**`options`**   [PartyTextChatOptions\*](/zh-TW/services/playfab/multiplayer/networking/reference/enums/partytextchatoptions)\
*輸出*

與文字聊天相關聯的選項。

### 傳回值

PartyError

`c_partyErrorSuccess` (如果呼叫成功)，否則為錯誤碼。可透過 [PartyManager::GetErrorMessage()](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) 擷取錯誤碼的人類可讀形式。

## 需求

**標頭：** Party.h

## 另請參閱

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


## Related topics

- [PartyLocalChatControl](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)
- [PartyLocalChatControl::SetTextChatOptions](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settextchatoptions.md)
- [PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles.md)
- [PartyLocalChatControl::GetTextToSpeechProfile](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_gettexttospeechprofile.md)
- [PartyLocalChatControl::GetLanguage](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlanguage.md)
