How to send upstream messages with FCM from android client?
<p>We were using <code>GoogleCloudMessaging.getInstance(context).send(context.getString(R.string.gcm_defaultSenderId) + "@gcm.googleapis.com", mId, mBundle);</code> to send upstream messages, but since I was trying to migrate new <code>fcm</code> concept, I need to change that too, but could not find any documentation yet.</p>

<p>My best guess is to use :</p>

<pre><code>RemoteMessage message = new RemoteMessage.Builder(&lt;?&gt;).setMessageId(mId).setData ...
FirebaseMessaging.getInstance().send(message);
</code></pre>

<p>but then what is it the Builder takes as a parameter? Yet again, could not find api...</p>

<p>So simply as title states, how to send upstream messages using new <code>fcm</code> concept?</p>