Handle incoming Private Message

It is possible to receive all your incoming messages in real time as follows

session.getNotification().addNotificationListener(new AbstractNotificationCallback() {
  @Override
  public void onConversationMessage(@NotNull ConversationMessage conversationMessage) {
    // received ConversationMessage
  }
});
session.websocket.onConversationMessage((message: ConversationMessage) => {
    
});
session.websocket.onConversationMessage((message) => {
    
});