title: How to set channel id of FCM by notification payload in Android?
body: <p>I checked already the following in <a href="https://firebase.google.com/docs/cloud-messaging/android/receive#handling_messages" rel="nofollow noreferrer">Handling messages</a>.</p>
  <pre><code>`notification` payload will be handled by the system tray.
  </code></pre>
  <p>So I couldn't get callback in <code>onMessageReceived()</code> so I can't create a channel for the notification.<br/>
  Now, I'm using <code>notification</code> and <code>data</code> payloads together and the issue is only for the background of the app.<br/> It works well on what I intended in the foreground of the app.</p>
  <p>The structure of the payload is like this.</p>
  <pre><code>&quot;notification&quot; : {...},
  &quot;data&quot; : {...},
  &quot;android&quot; : {
    &quot;data&quot; : {...},
    &quot;notification&quot; : {...}
  }
  </code></pre>
  <p>Then how I'm able to create an appropriate channel with <code>notification</code> payload?</p>