title: Can we send object into data using fcm-node push notification
body: <pre><code>let messages = {
          
          registration_ids: tokenId,
  
          notification: {
            title: 'WebServer',
            body: 'Message from center'
          },
  
          data: { result: { type: 'add', data : 'New Record' }, sender: {'first_name': 'James', 'last_name': 'Antony' } },
        };
  
        fcm.send(messages, function (err, response) {
          if (err) {
            return err
            console.log(&quot;Something has gone wrong!&quot;, err);
          } else {
            console.log(&quot;Successfully sent with response: &quot;, response.results);
           
          }
        });
  </code></pre>
  <p>Can we send object inside data i.e result can supply type and message.</p>
  <p>If I put inside object it does not send notification but if I do toString() it does work but at mobile end it shows [object][object].</p>
  <p>How can we Make it correct.</p>