code: private static ComapiChatClient createShared(Application app, @NonNull RxComapiClient comapiClient, @NonNull final ChatConfig chatConfig, @NonNull final EventsHandler eventsHandler, @NonNull final CallbackAdapter adapter) {
  
          if (instance == null) {
              synchronized (ComapiChatClient.class) {
                  if (instance == null) {
                      instance = new ComapiChatClient(app, comapiClient, chatConfig, eventsHandler, adapter);
                  }
              }
          }
  
          return instance;
      }
docs: Get global singleton of {@link ComapiChatClient}.
  
  @return Singleton of {@link ComapiChatClient}