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

> Configures whether the incoming text messages from the target chat control, in relation to the local chat control, is muted.

Configures whether the incoming text messages from the target chat control, in relation to the local chat control, is muted.

## Syntax

```cpp theme={null}
PartyError SetIncomingTextMuted(  
    const PartyChatControl* targetChatControl,  
    PartyBool muted  
)  
```

### Parameters

**`targetChatControl`**   [PartyChatControl\*](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol)

The target chat control.

**`muted`**   [PartyBool](/services/playfab/multiplayer/networking/reference/typedefs)

True to mute, false otherwise.

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Remarks

Chat text muting determines whether incoming chat text messages from the target chat control will be provided to the local chat control.

## Requirements

**Header:** Party.h

## See also

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


## Related topics

- [PartyLocalChatControl::GetIncomingTextMuted](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getincomingtextmuted.md)
- [PartyLocalChatControl::SetIncomingAudioMuted](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setincomingaudiomuted.md)
- [PartyLocalChatControl::GetIncomingAudioMuted](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getincomingaudiomuted.md)
- [PartyLocalChatControl::SetTextChatOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settextchatoptions.md)
- [PartyLocalChatControl::SetAudioInputMuted](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setaudioinputmuted.md)
