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

# ChatState

> Unity PlayFab Party SDK 中 ChatState 列舉的參考，描述玩家的語音狀態，例如說話中、無聲、已靜音或沒有音訊輸入。

# ChatMessageState

玩家的視覺狀態，用於在遊戲的 UI 中呈現。

## 語法

```csharp theme={null}
public enum ChatState
{
    NoAudioInput,
    Muted,
    MutedByPlatform,
    Silent,
    Talking
}
```

## 常數

| **常數** | **描述** |
| - | - |
| **NoAudioInput** | 玩家沒有音訊輸入。這可能是因為他們沒有插入音訊裝置，或音訊發生錯誤。 |
| **Muted** | 玩家已靜音。 |
| **MutedByPlatform** | 玩家因平台原則而靜音。例如，玩家可能具有不允許與其他玩家通訊的隱私權設定。 |
| **Silent** | 玩家沒有說話。 |
| **Talking** | 玩家正在說話。 |


## Related topics

- [PlayFabPlayer.ChatState](/zh-TW/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabplayer/properties/playfabunitychatstate.md)
- [PlayFab Party Unity SDK](/zh-TW/services/playfab/multiplayer/networking/unity-party-api-reference/index.md)
- [PlayFabPlayer 類別](/zh-TW/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabplayer/index.md)
- [game_chat_state_change](/zh-TW/reference/chat/gamechat2/structs/game_chat_state_change.md)
- [game_chat_text_chat_received_state_change](/zh-TW/reference/chat/gamechat2/structs/game_chat_text_chat_received_state_change.md)
