Handle Comment

It's possible to receive comments on the post you have interacted with or belong to

session.getNotification().addNotificationListener(new AbstractNotificationCallback() {
  @Override
  public void onComment(@NotNull Comment comment) {
    // new comment callback
  }
});
session.websocket.onComment((comment: Comment) => {
    
});
session.websocket.onComment((comment) => {
    
});