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

# PartyXblChatPermissionInfo

> PartyXblChatPermissionInfo struct in PartyXboxLive.h describes the required chat permission and mask reason between two XBOX Live users in PlayFab Party.

Information regarding a required chat permission.

## Syntax

```cpp theme={null}
struct PartyXblChatPermissionInfo {  
    PartyChatPermissionOptions chatPermissionMask;  
    PartyXblChatPermissionMaskReason reason;  
}  
```

### Members

**`chatPermissionMask`**   [PartyChatPermissionOptions](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/enums/partychatpermissionoptions.md)

The chat permission options mask that should be applied to the target chat user.

Use a bitwise 'AND' operation against the desired chat permissions to ensure the resulting permissions will respect XBOX Live policies.

**`reason`**   [PartyXblChatPermissionMaskReason](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/enums/partyxblchatpermissionmaskreason.md)

Extra information regarding the result of a required chat permission query.

## Requirements

**Header:** PartyXboxLive.h

## See also

[PartyXboxLive members](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)


## Related topics

- [PartyXblLocalChatUser::GetRequiredChatPermissionInfo](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getrequiredchatpermissioninfo.md)
- [Xbox Live helper library for PlayFab Party](https://docs.xbox.com/services/playfab/multiplayer/networking/party-xbox-live-guide.md)
- [PartyXboxLive C/C++ API overview](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)
- [PartyXblRequiredChatPermissionInfoChangedStateChange](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/structs/partyxblrequiredchatpermissioninfochangedstatechange.md)
- [PartyXblChatPermissionMaskReason](https://docs.xbox.com/services/playfab/multiplayer/networking/xblreference/enums/partyxblchatpermissionmaskreason.md)
