com.pubnub.api.java.endpoints.pubsub.Publish Maven / Gradle / Ivy
package com.pubnub.api.java.endpoints.pubsub;
import com.pubnub.api.java.endpoints.Endpoint;
import com.pubnub.api.models.consumer.PNPublishResult;
public interface Publish extends Endpoint {
Publish message(Object message);
Publish channel(String channel);
Publish shouldStore(Boolean shouldStore);
Publish usePOST(boolean usePOST);
Publish meta(Object meta);
Publish replicate(boolean replicate);
Publish ttl(Integer ttl);
}