I\'m trying to use Firebase in my iOS application. I successfully integrated it and receiving notifications from all 3 Targets (user segment, topic and single device).
I got the answer from Firebase support team.
It doesn't seem like there's a way to get this info as per documentation. One workaround I can think of is if you would pass the topic name in your data payload, you can then manually handle it from your code and map it to your message_id.
So looks like this works on Android but on iOS it's not supported today (Dec 2017)