getSmallIcon

fun RemoteMessage.getSmallIcon(context: Context): Int

Determine the resource ID of the small icon from provided context

NOTE: We have to use a discouraged API because we can't expect developers to know the Int value of their icon resources