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

# PFPushNotificationsPushNotificationPackage

> Reference for the PFPushNotificationsPushNotificationPackage struct in the PlayFab C API, describing badge, icon, message, sound, and title fields.

PFPushNotificationsPushNotificationPackage data model.

## Syntax

```cpp theme={null}
typedef struct PFPushNotificationsPushNotificationPackage {  
    int32_t badge;  
    const char* customData;  
    const char* icon;  
    const char* message;  
    const char* sound;  
    const char* title;  
} PFPushNotificationsPushNotificationPackage;  
```

### Members

**`badge`**   int32\_t

Numerical badge to display on App icon (iOS only).

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

(Optional) This must be a JSON formatted object. For use with developer-created custom Push Notification plugins.

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

(Optional) Icon file to display with the message (Not supported for iOS).

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

Content of the message (all platforms).

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

(Optional) Sound file to play with the message (all platforms).

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

Title/Subject of the message. Not supported for iOS.

## Requirements

**Header:** PFPushNotificationsTypes.h

## See also

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


## Related topics

- [PFPushNotificationsSendPushNotificationRequest](/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest.md)
- [Services C API overview - PFPushNotificationsTypes.h](/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.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)
- [sent_push_notification](/services/playfab/api-references/events/TitleCommunications/sent-push-notification.md)
