how to assign channel to a Push notification

this is how i’m creating my notification :

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(pevents.getChannel_id());
channelList.add(pevents.getName));
deliveryOptions.setPushSinglecast(channelList); 


MessageStatus status = Backendless.Messaging.publish((Object) pevents.getStory(), publishOptions, deliveryOptions);

now how can i send this message to a specific channel of mine by assign the name of channel ??

Hi ,

public void Backendless.Messaging.publish( String channelName, Object message, PublishOptions publishOptions, AsyncCallback<MessageStatus> responder )


 public void Backendless.Messaging.publish( Object message, PublishOptions publishOptions, DeliveryOptions deliveryOptions, AsyncCallback<MessageStatus> responder ) 


public void Backendless.Messaging.publish( String channelName, Object message, PublishOptions publishOptions, DeliveryOptions deliveryOptions, AsyncCallback<MessageStatus> responder )

so we can set a single channel name at a time right ?

Yes, exactly.