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

# PFPushNotificationsAdvancedPushPlatformMsg

> Reference for the PFPushNotificationsAdvancedPushPlatformMsg struct in the PlayFab Services C API, describing per-platform JSON payloads for push delivery.

PFPushNotificationsAdvancedPushPlatformMsg data model.

## Syntax

```cpp theme={null}
typedef struct PFPushNotificationsAdvancedPushPlatformMsg {  
    bool const* gCMDataOnly;  
    const char* json;  
    PFPushNotificationPlatform platform;  
} PFPushNotificationsAdvancedPushPlatformMsg;  
```

### Members

**`gCMDataOnly`**   bool const\*<br />*may be nullptr*

(Optional) Stops GoogleCloudMessaging notifications from including both notification and data properties and instead only sends the data property.

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

The Json the platform should receive.

**`platform`**   [PFPushNotificationPlatform](/services/playfab/api-references/c/pftypes/enums/pfpushnotificationplatform)

The platform that should receive the Json.

## Requirements

**Header:** PFPushNotificationsTypes.h

## See also

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


## Related topics

- [Services C API overview - PFPushNotificationsTypes.h](/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.md)
- [PFPushNotificationsSendPushNotificationRequest](/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest.md)
- [PushNotificationPlatform](/services/playfab/api-references/events/data-types/pushnotificationplatform.md)
- [PFPushNotificationPlatform](/services/playfab/api-references/c/pftypes/enums/pfpushnotificationplatform.md)
- [PFPlatformSpecificRegisterForIOSPushNotificationRequest](/services/playfab/api-references/c/pfplatformspecifictypes/structs/pfplatformspecificregisterforiospushnotificationrequest.md)
