public class SendMessageApi extends Object
| Constructor and Description |
|---|
SendMessageApi() |
SendMessageApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
EventResponse |
sendMessage(SendMessage JSON)
Use send_message to record when a user sends a message to other i.e.
|
com.squareup.okhttp.Call |
sendMessageAsync(SendMessage JSON,
ApiCallback<EventResponse> callback)
Use send_message to record when a user sends a message to other i.e.
|
com.squareup.okhttp.Call |
sendMessageCall(SendMessage JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sendMessage
|
ApiResponse<EventResponse> |
sendMessageWithHttpInfo(SendMessage JSON)
Use send_message to record when a user sends a message to other i.e.
|
void |
setApiClient(ApiClient apiClient) |
public SendMessageApi()
public SendMessageApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call sendMessageCall(SendMessage JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass message to thirdwatch. Only `_userID` is required field. But this should contain message info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse sendMessage(SendMessage JSON) throws ApiException
JSON - Pass message to thirdwatch. Only `_userID` is required field. But this should contain message info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> sendMessageWithHttpInfo(SendMessage JSON) throws ApiException
JSON - Pass message to thirdwatch. Only `_userID` is required field. But this should contain message info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call sendMessageAsync(SendMessage JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass message to thirdwatch. Only `_userID` is required field. But this should contain message info. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2017. All rights reserved.