[json] test
Viewer
- data = {
- "to": reg_id,
- "priority": "high",
- "time_to_live": 3,
- "service": service,
- "data": {
- "title": title,
- "body": message,
- "icon": "logo_noti",
- "sound": sound,
- "service": service,
- "token": token,
- "medical_attention_id": medical_attention_id,
- "doctor": doctor_name,
- "photo": doctor_photo,
- "speciality": doctor_speciality,
- "doctor_id": doctor_id
- },
- "notification": {
- "type": "object",
- "title": title,
- "body": message,
- "sound": sound
- }
- }
Editor
You can edit this paste and save as new: