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

# game_chat_communication_relationship_flags

> game_chat_communication_relationship_flags

Defines the communication relationship between two users.

## Syntax

```cpp theme={null}
enum class game_chat_communication_relationship_flags  
{  
    none = 0x0,  
    send_microphone_audio = 0x1,  
    send_text_to_speech_audio = 0x2,  
    send_text = 0x4,  
    receive_audio = 0x8,  
    receive_text = 0x10,  
}  
```

## Constants

| Constant | Description |
| - | - |
| none | No communication between the local user and the target user is allowed. |
| send\_microphone\_audio | Microphone communication from the local user to the target user is allowed. |
| send\_text\_to\_speech\_audio | Text-to-speech communication from the local user to the target user is allowed. |
| send\_text | Text communication from the local user to the target user is allowed. |
| receive\_audio | Audio communication from the target user to the local user is allowed. |
| receive\_text | Text communication from the target user to the local user is allowed. |

## Remarks

This enumeration describes the communication relationship between two users that your app can request from Game Chat 2. You can retrieve the current communication relationship between a local user and a specified target user by calling the [chat\_user\_local::get\_effective\_communication\_relationship](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship.md) method, or set it by calling the [chat\_user\_local::set\_communication\_relationship](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship.md) method. You can also set the default communication relationship between users when you initialize the chat instance, by calling the [chat\_manager::initialize](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md) method.

For more information about initializing and working with a chat instance, see [Using the Game Chat 2 C++ API](https://docs.xbox.com/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2.md).

## Requirements

**Header:** GameChat2.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[Intro to Game Chat 2](https://docs.xbox.com/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[GameChat2 members](https://docs.xbox.com/reference/chat/gamechat2/gamechat2_members.md)\
[chat\_user\_local](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local.md)


## Related topics

- [game_chat_communication_relationship_adjuster](https://docs.xbox.com/reference/chat/gamechat2/enums/game_chat_communication_relationship_adjuster.md)
- [set_communication_relationship](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship.md)
- [get_effective_communication_relationship](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship.md)
- [GameChat2 members (API contents)](https://docs.xbox.com/reference/chat/gamechat2/gamechat2_members.md)
- [initialize](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
