How to Implement push notification with group Ex: (when 2 notification are received at that time notification are combine with group like whatsapp)

how to Implement push notification with group Ex: (when 2 notification are received at that time notification are combine with group like whatsapp)