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

# PFFriendsClientAddFriendRequest

> PFFriendsClientAddFriendRequest data model.

PFFriendsClientAddFriendRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFFriendsClientAddFriendRequest {  
    const char* friendEmail;  
    const char* friendPlayFabId;  
    const char* friendTitleDisplayName;  
    const char* friendUsername;  
} PFFriendsClientAddFriendRequest;  
```

### Members

**`friendEmail`**   const char\*<br />*is null-terminated*

(Optional) Email address of the user to attempt to add to the local user's friend list.

**`friendPlayFabId`**   const char\*<br />*is null-terminated*

(Optional) PlayFab identifier of the user to attempt to add to the local user's friend list.

**`friendTitleDisplayName`**   const char\*<br />*is null-terminated*

(Optional) Title-specific display name of the user to attempt to add to the local user's friend list.

**`friendUsername`**   const char\*<br />*is null-terminated*

(Optional) PlayFab username of the user to attempt to add to the local user's friend list.

## Requirements

**Header:** PFFriendsTypes.h

## See also

[PFFriendsTypes members](/services/playfab/api-references/c/pffriendstypes/pffriendstypes_members)


## Related topics

- [PFFriendsClientAddFriendAsync](/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [Services C API overview - PFFriendsTypes.h](/services/playfab/api-references/c/pffriendstypes/pffriendstypes_members.md)
- [PFFriendsServerAddFriendRequest](/services/playfab/api-references/c/pffriendstypes/structs/pffriendsserveraddfriendrequest.md)
- [PFFriendsClientRemoveFriendRequest](/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientremovefriendrequest.md)
- [PFFriendsClientAddFriendGetResult](/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendgetresult.md)
