code: public ApiSuccessResponse publishTopic(String topic, PublishEventData publishEventData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = publishTopicWithHttpInfo(topic, publishEventData);
          return resp.getData();
      }
docs: Publish an user event regarding specific topic
  Publish a user event on interaction server channel regarding specific topic.
  @param topic The specific topic (required)
  @param publishEventData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body