[json] test

Viewer

  1. data = {
  2.         "to": reg_id,
  3.         "priority": "high",
  4.         "time_to_live": 3,
  5.         "service": service,
  6.         "data": {
  7.             "title": title,
  8.             "body": message,
  9.             "icon": "logo_noti",
  10.             "sound": sound,
  11.             "service": service,
  12.             "token": token,
  13.             "medical_attention_id": medical_attention_id,
  14.             "doctor": doctor_name,
  15.             "photo": doctor_photo,
  16.             "speciality": doctor_speciality,
  17.             "doctor_id": doctor_id
  18.         },
  19.         "notification": {
  20.             "type": "object",
  21.             "title": title,
  22.             "body": message,
  23.             "sound": sound
  24.         }
  25.     }

Editor

You can edit this paste and save as new:


File Description
  • test
  • Paste Code
  • 01 Mar-2021
  • 708 Bytes
You can Share it: