Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class TextRequestHandler implements RequestHandler {
@Override
public RootResponse onRequest(RootRequest rootRequest) {
return ResponseBuilder.tellResponse("You just told: " + rootRequest.inputs.get(0).raw_inputs.get(0).query);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment