Chrome push notifications. Message identification
<p>While i send notification to the client, i have a some data:</p>

<pre><code>$&gt; curl --header "Authorization: key=$key" --header Content-Type:"application/json" https://gcm-http.googleapis.com/gcm/send -d "{\"registration_ids\":[\"$subs\"]}"    
{"multicast_id":5959734605210485936,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1454898928592704%592683fbf9fd7ecd"}]}
</code></pre>

<p>This is <strong>multicast_id</strong> and <strong>message_id</strong> params.</p>

<p>My question is: how i can get one of (or both) these params from ServiceWorker script?</p>

<pre><code>self.addEventListener('push', function (event) {
  ...
  // I need something like that:
  msgid = event.message_id;
  m_castid = event.multicast_id;
  ...
});
</code></pre>

<p>In other words, i need of an any possible way to determine message inside ServiceWorker script.</p>

<p>Thanks in advance,</p>

<p>With best regards,</p>

<p>Nikolai</p>