I am getting push notification in this format from server.
{
title: messageTitle,
body: messageBody,
subtitle: messageSubtitle
}
In my android project i read notification by using following code.
remoteMessage.getNotification().getTitle();
remoteMessage.getNotification().getBody();
The above 2 lines gives me Title and Body, but i am unable to understand how to read subtitle property.