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

> Modèle de données PFPushNotificationsPushNotificationPackage.

Modèle de données PFPushNotificationsPushNotificationPackage.

## Syntaxe

```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;  
```

### Membres

**`badge`**   int32\_t

Badge numérique à afficher sur l'icône de l'application (iOS uniquement).

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

(Facultatif) Doit être un objet au format JSON. À utiliser avec des plug-ins de notification push personnalisés créés par le développeur.

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

(Facultatif) Fichier d'icône à afficher avec le message (non pris en charge pour iOS).

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

Contenu du message (toutes les plateformes).

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

(Facultatif) Fichier audio à lire avec le message (toutes les plateformes).

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

Titre/objet du message. Non pris en charge pour iOS.

## Configuration requise

**En-tête :** PFPushNotificationsTypes.h

## Voir aussi

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


## Related topics

- [PFPushNotificationsSendPushNotificationRequest](/fr/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest.md)
- [Vue d'ensemble de l'API C Services - PFPushNotificationsTypes.h](/fr/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.md)
- [PFPushNotificationsSendPushNotificationFromTemplateRequest](/fr/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationfromtemplaterequest.md)
- [PFPushNotificationsServerSendPushNotificationAsync](/fr/services/playfab/api-references/c/pfpushnotifications/functions/pfpushnotificationsserversendpushnotificationasync.md)
- [PFPushNotificationsServerSendPushNotificationFromTemplateAsync](/fr/services/playfab/api-references/c/pfpushnotifications/functions/pfpushnotificationsserversendpushnotificationfromtemplateasync.md)
