目录

  1. {
  2.    "validate_only": false,
  3.    "message": {
  4.        "notification": {
  5.            "title": "11",
  6.            "body": "11",
  7.            "notify_icon": "https://res.vmallres.com/pimages//common/config/logo/SXppnESYv4K11DBxDFc2.png"
  8.        },
  9.        "android": {
  10.            "collapse_key": -1,
  11.            "urgency": "NORMAL",
  12.            "category": "PLAY_VOICE",
  13.            "ttl": "1448s",
  14.            "bi_tag": "Trump",
  15.            "fast_app_target": 1,
  16.            "notification": {
  17.                "image": "https://res.vmallres.com/pimages//common/config/logo/SXppnESYv4K11DBxDFc2.png",
  18.                "icon": "/raw/ic_launcher2",
  19.                "color": "#AACCDD",
  20.                "sound": "/raw/shake",
  21.                "default_sound": false,
  22.                "importance": "HIGH",
  23.                "click_action": {
  24.                    "type": 1,
  25.                    "intent": "pushscheme://com.huawei.hms.hmsdemo/deeplink?#Intent;i.isFeed=1;S.feedDocId=0LauP4X6;end",
  26.                    "url": "https://www.vmall.com",
  27.                    "rich_resource": "https://appfile1.hicloud.com/FileServer/getFile/pub/102/023/686/0890086000102023686.20181220101707.02510144928075637309309070275364:50491219021707:0001:D55584A37FFF1BC84DAEE81BD41B44922A5DE5A52DA2A42513598268013DFB16.zip"
  28.                },
  29.                "body_loc_key": "demo_title_new2",
  30.                "body_loc_args": [
  31.                    "Boy",
  32.                    "Dog",
  33.                    "ff"
  34.                ],
  35.                "title_loc_key": "demo_title_new2",
  36.                "title_loc_args": [
  37.                    "Girl",
  38.                    "Cat",
  39.                    "tiger"
  40.                ],
  41.                "channel_id": "HMSTestDemo",
  42.                "auto_clear": 300000,
  43.                "notify_summary": "Some Summary",
  44.                "style": 0,
  45.                "big_title": "the big title",
  46.                "big_body": "the big body",
  47.                "notify_id": 486,
  48.                "group": "Espace",
  49.                "badge": {
  50.                    "add_num": 1,
  51.                    "class": "com.huawei.demo.push.HuaweiPushApiExample"
  52.                },
  53.                "foreground_show": false,
  54.                "ticker": "i am a ticker",
  55.                "auto_cancel": true,
  56.                "when": "2014-10-02T15:01:23.045123456Z",
  57.                "local_only": false,
  58.                "use_default_vibrate": false,
  59.                "use_default_light": false,
  60.                "visibility": "PUBLIC",
  61.                "vibrate_config": [
  62.                    "1",
  63.                    "3"
  64.                ],
  65.                "light_settings": {
  66.                    "color": {
  67.                        "alpha": 0,
  68.                        "red": 0,
  69.                        "green": 1,
  70.                        "blue": 0.1
  71.                    },
  72.                    "light_on_duration": "3.5",
  73.                    "light_off_duration": "5S"
  74.                }
  75.            }
  76.        },
  77.        "token": [
  78.            "token1"
  79.        ]
  80.    }
  81. }