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

# game_chat_communication_relationship_flags

> game_chat_communication_relationship_flags

# game\_chat\_communication\_relationship\_flags

Defines the communication relationship between two users.

<a id="syntaxSection" />

## 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,  
}  
```

<a id="constantsSection" />

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

<a id="remarksSection" />

## 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](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship) method, or set it by calling the [chat\_user\_local::set\_communication\_relationship](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship) method. You can also set the default communication relationship between users when you initialize the chat instance, by calling the [chat\_manager::initialize](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize) method.

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

<a id="requirementsSection" />

## Requirements

**Header:** GameChat2.h

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

<a id="seealsoSection" />

## See also

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


## Related topics

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