Application Message Format (Deprecated)
| Type | Example Value | Remarks |
|---|---|---|
| HMS transparent push message | "hps": { "msg" : { "type" : 1, "body" : {"key":"value"} } } | You can choose to specify the message in text or JSON format. NOTE:
|
| Huawei notification push message | "hps": { "msg": { "type": 3, "body": { "content": "Push message content", "title": "Push message content" }, "action": { "type": 1, "param": { "intent":"#Intent;compo=com.rvr/.Activity;S.W=U;end" } } }, "ext": { "biTag": "Trump", "icon": "http://upload.w.org/00/150pxsvg.png" } } | |
| Apple platform message | { "aps": { "alert": "hello world" } } | The message body cannot exceed 4 KB. For details, visit Apple Push Notification Service. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.