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

# XblMultiplayerActivityInviteData

> XblMultiplayerActivityInviteData

# XblMultiplayerActivityInviteData

Describes multiplayer activity invites.

## Syntax

```cpp theme={null}
typedef struct XblMultiplayerActivityInviteData {  
    uint64_t invitedXuid;  
    uint64_t senderXuid;  
    const char* senderImageUrl;  
    char senderGamertag[XBL_GAMERTAG_CHAR_SIZE];  
    char senderModernGamertag[XBL_MODERN_GAMERTAG_CHAR_SIZE];  
    char senderModernGamertagSuffix[XBL_MODERN_GAMERTAG_SUFFIX_CHAR_SIZE];  
    char senderUniqueModernGamertag[XBL_UNIQUE_MODERN_GAMERTAG_CHAR_SIZE];  
    const char* titleName;  
    const char* titleImageUrl;  
    const char* connectionString;  
    time_t expirationTime;  
} XblMultiplayerActivityInviteData  
```

### Members

*invitedXuid*\
Type: uint64\_t

The XBOX user ID of the invited user.

*senderXuid*\
Type: uint64\_t

The XBOX user ID of the user sending the invite.

*senderImageUrl*\
Type: const char\*

URL of the sender's gamerpic.

*senderGamertag*\
Type: char\[XBL\_GAMERTAG\_CHAR\_SIZE]

The UTF-8 encoded gamertag of the player.

*senderModernGamertag*\
Type: char\[XBL\_MODERN\_GAMERTAG\_CHAR\_SIZE]

The UTF-8 encoded modern gamertag of the player. Not guaranteed to be unique.

*senderModernGamertagSuffix*\
Type: char\[XBL\_MODERN\_GAMERTAG\_SUFFIX\_CHAR\_SIZE]

The UTF-8 encoded suffix appended to the modern gamertag to ensure uniqueness. Can be empty in some cases.

*senderUniqueModernGamertag*\
Type: char\[XBL\_UNIQUE\_MODERN\_GAMERTAG\_CHAR\_SIZE]

The UTF-8 encoded unique modern gamertag and suffix. Format is "modernGamertag#suffix". Guaranteed to be no more than 16 rendered characters.

*titleName*\
Type: const char\*

The name of the title for which the invite is being sent.

*titleImageUrl*\
Type: const char\*

URL of the title image used in the invite.

*connectionString*\
Type: const char\*

Connection string to pass to the connecting client so that it can join a game. Typically contains information such as the server IP address.

*expirationTime*\
Type: time\_t

Expiration time.

## Remarks

For more information about multiplayer activities, see [Activities](/services/xbox-services/multiplayer/mpa/concepts/live-mpa-activities).

## Argument of

[XblMultiplayerActivityInviteHandler](/reference/live/xsapi-c/multiplayer_activity_c/functions/xblmultiplayeractivityinvitehandler)

## Requirements

**Header:** multiplayer\_activity\_c.h

## See also

[multiplayer\_activity\_c](/reference/live/xsapi-c/multiplayer_activity_c/multiplayer_activity_c_members)


## Related topics

- [XblMultiplayerActivityInviteHandler](/reference/live/xsapi-c/multiplayer_activity_c/functions/xblmultiplayeractivityinvitehandler.md)
- [XblMultiplayerActivityAddInviteHandler](/reference/live/xsapi-c/multiplayer_activity_c/functions/xblmultiplayeractivityaddinvitehandler.md)
- [XblMultiplayerActivityRemoveInviteHandler](/reference/live/xsapi-c/multiplayer_activity_c/functions/xblmultiplayeractivityremoveinvitehandler.md)
- [XblMultiplayerActivitySendInvitesAsync](/reference/live/xsapi-c/multiplayer_activity_c/functions/xblmultiplayeractivitysendinvitesasync.md)
- [Example code for Multiplayer Activity](/services/xbox-services/multiplayer/mpa/how-to/live-mpa-client-how-to.md)
