Search in sources :

Example 1 with SendMessageInBg

use of gachon.dicomviewer.helpers.SendMessageInBg in project MobileDicomViewer by awholeneworld.

the class MainActivity method sendMessageToBot.

private void sendMessageToBot(String message) {
    QueryInput input = QueryInput.newBuilder().setText(TextInput.newBuilder().setText(message).setLanguageCode("ko")).build();
    new SendMessageInBg(this, sessionName, sessionsClient, input).execute();
}
Also used : QueryInput(com.google.cloud.dialogflow.v2.QueryInput) SendMessageInBg(gachon.dicomviewer.helpers.SendMessageInBg)

Aggregations

QueryInput (com.google.cloud.dialogflow.v2.QueryInput)1 SendMessageInBg (gachon.dicomviewer.helpers.SendMessageInBg)1