Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save satr/9b6c4b7d9bde82d561e8739c86228eb3 to your computer and use it in GitHub Desktop.
Save satr/9b6c4b7d9bde82d561e8739c86228eb3 to your computer and use it in GitHub Desktop.
CustomProactiveSubscriptionChangedRequestHandler - code only
public class CustomProactiveSubscriptionChangedRequestHandler implements ProactiveSubscriptionChangedRequestHandler {
@Override
public boolean canHandle(HandlerInput input, ProactiveSubscriptionChangedRequest proactiveSubscriptionChangedRequest) {
return true;
}
@Override
public Optional<Response> handle(HandlerInput input, ProactiveSubscriptionChangedRequest proactiveSubscriptionChangedRequest) {
//Put Proactive Subscription Changed event handling code here
return Optional.empty();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment