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

# PFPushNotificationsSendPushNotificationRequest

> Reference for the PFPushNotificationsSendPushNotificationRequest struct in the PlayFab C API, describing the members used to send a push notification.

PFPushNotificationsSendPushNotificationRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFPushNotificationsSendPushNotificationRequest {  
    PFPushNotificationsAdvancedPushPlatformMsg const* advancedPlatformDelivery;  
    uint32_t advancedPlatformDeliveryCount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* message;  
    PFPushNotificationsPushNotificationPackage const* package;  
    const char* recipient;  
    const char* subject;  
    PFPushNotificationPlatform const* targetPlatforms;  
    uint32_t targetPlatformsCount;  
} PFPushNotificationsSendPushNotificationRequest;  
```

### Members

**`advancedPlatformDelivery`**   [PFPushNotificationsAdvancedPushPlatformMsg](/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationsadvancedpushplatformmsg) const\*<br />*may be nullptr*

(Optional) Allows you to provide precisely formatted json to target devices. This is an advanced feature, allowing you to deliver to custom plugin logic, fields, or functionality not natively supported by PlayFab.

**`advancedPlatformDeliveryCount`**   uint32\_t

Count of advancedPlatformDelivery

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

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

(Optional) Text of message to send.

**`package`**   [PFPushNotificationsPushNotificationPackage](/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationspushnotificationpackage) const\*<br />*may be nullptr*

(Optional) Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details.

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

PlayFabId of the recipient of the push notification.

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

(Optional) Subject of message to send (may not be displayed in all platforms).

**`targetPlatforms`**   [PFPushNotificationPlatform](/services/playfab/api-references/c/pftypes/enums/pfpushnotificationplatform) const\*<br />*may be nullptr*

(Optional) Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms.

**`targetPlatformsCount`**   uint32\_t

Count of targetPlatforms

## Requirements

**Header:** PFPushNotificationsTypes.h

## See also

[PFPushNotificationsTypes members](/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members)


## Related topics

- [PFPushNotificationsServerSendPushNotificationAsync](/services/playfab/api-references/c/pfpushnotifications/functions/pfpushnotificationsserversendpushnotificationasync.md)
- [Services C API overview - PFPushNotificationsTypes.h](/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.md)
- [PFPushNotificationsSendPushNotificationFromTemplateRequest](/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationfromtemplaterequest.md)
- [Push Notifications](/services/playfab/live-service-management/game-configuration/title-communications/push-notifications/index.md)
- [Push Notification for Android](/services/playfab/live-service-management/game-configuration/title-communications/push-notifications/push-notifications-for-android.md)
