Enviar notificação por push
Sends an iOS/Android Push Notification to a specific user, if that user’s device has been configured for Push Notifications in PlayFab. If a user has linked both Android and iOS devices, both will be notified.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| PushNotEnabledForAccount | 1094 |
| PushServiceError | 1095 |
Autorizações
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Corpo
PlayFabId of the recipient of the push notification.
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.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Text of message to send.
Defines all possible push attributes like message, title, icon, etc. Some parameters are device specific - please see the PushNotificationPackage documentation for details.
Subject of message to send (may not be displayed in all platforms)
Target Platforms that should receive the Message or Package. If omitted, we will send to all available platforms.
ApplePushNotificationService, GoogleCloudMessaging Tópicos relacionados
Enviar notificação por push a partir de modeloModelos de notificação por pushConfigurar notificação por pushExcluir modelo de notificação por pushSalvar modelo de notificação por push