i have used the fcm for notification and its coming correctly, but when i try to add add buttons in notification its not showing.
my code
   Intent intent = new Intent(this, MainActivity.class);
    intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
    PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent,
            PendingIntent.FLAG_ONE_SHOT);
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
            .setSmallIcon(R.mipmap.ic_launcher)
            .setContentTitle("New Message From Film")
            .setContentText(messageBody)
            .setAutoCancel(true)
             .addAction(R.drawable.pp, "Accept",pendingIntent) 
            .addAction(R.drawable.pp, "Reject",pendingIntent)  
            .setContentIntent(pendingIntent);
  NotificationManager notificationManager =
            (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
    notificationManager.notify(0, notificationBuilder.build());
 
    