code: public InlineResponse2003 chatMessages(String id) throws ApiException {
          ApiResponse<InlineResponse2003> resp = chatMessagesWithHttpInfo(id);
          return resp.getData();
      }
docs: Get chat transcript
  Get a transcript for the specified chat interaction.
  @param id The ID of the chat interaction. (required)
  @return InlineResponse2003
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body