Optional
notificationOptional
channelXiaomi channel ID This message targets the push channel used by Xiaomi.
Optional
channelHuawei channel ID For Huawei push notifications, get the channelId from Android developers if needed. You’ll create the channelId yourself.
Optional
categoryHWOptional
channelOPPO channel ID. For messages targeting OPPO's push channel, get the channelId from Android developers if needed. Developers create their own channelId.
Optional
pushSet VIVO push channel type for integrated VIVO push.
Optional
collapseGroup ID for FCM notification push
Optional
imageNotification image URL for FCM push notifications
Optional
importanceHWHuawei push message level
Optional
imageURL for the large icon on the right side of Huawei notification messages. If not set, the icon won’t display. Use HTTPS protocol for the URL, e.g., https://example.com/image.png. Keep the icon file under 512KB, with recommended dimensions of 40dp x 40dp and 8dp corner radius. Icons beyond these specs may compress or display incompletely.
Optional
image(This field is no longer supported because Xiaomi has stopped supporting this feature.) The URL of the notification image used for Xiaomi push notifications. Image requirements: 120 120px, in PNG or JPG format. It supports MIUI domestic version (MIUI 12 and later is required) and international version.
Optional
channelFCM notification channel ID. Your app must create a channel with this ID to receive notifications. If you don’t include this ID in the request, or if the app hasn’t created the channel, FCM uses the ID specified in the app manifest.
Optional
categoryOptional
importanceHonor push message level
Optional
imageURL for the large icon on the right side of the Honor notification bar. If not set, the icon won't display. Use HTTPS protocol for the URL, e.g., https://example.com/image.png. Keep the icon file under 512KB with recommended dimensions: 40dp x 40dp and 8dp rounded corners. Icons beyond these specs may compress or display incompletely.
Unique identifier for Android platform Push. Currently supports Xiaomi and Huawei push platforms. Developers don’t need to set this by default. When a message triggers a push, its messageUId is used as the notificationId.