how can i assign channels os my notifications this is what i tried
PublishOptions publishOptions = new PublishOptions();
publishOptions.putHeader( "android-ticker-text", "You just got a push notification!" );
publishOptions.putHeader( "android-content-title", ""+pevents.getPublisher() );
publishOptions.putHeader( "android-content-text", ""+pevents.getStory() );
DeliveryOptions deliveryOptions = new DeliveryOptions();
ArrayList channelList = new ArrayList();
channelList.add("firstChannel");
channelList.add("secondChannel");
deliveryOptions.setPushSinglecast(channelList);
MessageStatus status = Backendless.Messaging.publish( (Object) pevents.getStory(), publishOptions , deliveryOptions );
but the above code is not working , is there’s something wrong here ?