Skip to content

Use time in notification data

Latest
Compare
Choose a tag to compare
@peter-gribanov peter-gribanov released this 13 Feb 13:21
· 2 commits to master since this release

Use custom time in notification data for change notification message on client

Example request:

{
  "to": "...",
  "data": {
    "title": "Ералаш",
    "body": "Начало в 16:30.",
    "icon": "https://eralash.ru.rsz.io/sites/all/themes/eralash_v5/logo.png?width=192&height=192",
    "click_action": "http://eralash.ru",
    "time": "1487003400",
  }
}