public class ChatHistoryApi extends Object
| 构造器和说明 |
|---|
ChatHistoryApi() |
ChatHistoryApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
orgNameAppNameChatmessagesGet(String orgName,
String appName,
String authorization,
String ql,
String limit,
String cursor)
Get Message History
|
com.squareup.okhttp.Call |
orgNameAppNameChatmessagesGetAsync(String orgName,
String appName,
String authorization,
String ql,
String limit,
String cursor,
ApiCallback<String> callback)
Get Message History (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatmessagesGetWithHttpInfo(String orgName,
String appName,
String authorization,
String ql,
String limit,
String cursor)
Get Message History
|
String |
orgNameAppNameChatmessagesTimeGet(String orgName,
String appName,
String authorization,
String time)
Get Message History by Hour
|
com.squareup.okhttp.Call |
orgNameAppNameChatmessagesTimeGetAsync(String orgName,
String appName,
String authorization,
String time,
ApiCallback<String> callback)
Get Message History by Hour (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatmessagesTimeGetWithHttpInfo(String orgName,
String appName,
String authorization,
String time)
Get Message History by Hour
|
void |
setApiClient(ApiClient apiClient) |
public ChatHistoryApi()
public ChatHistoryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public String orgNameAppNameChatmessagesGet(String orgName, String appName, String authorization, String ql, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ql - Get messages based on starting timestamp. Could also alter the comparison to get later, equal, or earlier messages. ex. ql=select+*+where+timestamp>1403164734226 or =<[timestamp] (optional, default to select+*+where+timestamp>1403164734226)limit - total number of messages per page by pagination at a time (optional, default to 3)cursor - Get messages by pagination. Obtained \"cursor\" from the previous GET messages call response. (optional, default to )ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatmessagesGetWithHttpInfo(String orgName, String appName, String authorization, String ql, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ql - Get messages based on starting timestamp. Could also alter the comparison to get later, equal, or earlier messages. ex. ql=select+*+where+timestamp>1403164734226 or =<[timestamp] (optional, default to select+*+where+timestamp>1403164734226)limit - total number of messages per page by pagination at a time (optional, default to 3)cursor - Get messages by pagination. Obtained \"cursor\" from the previous GET messages call response. (optional, default to )ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatmessagesGetAsync(String orgName, String appName, String authorization, String ql, String limit, String cursor, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ql - Get messages based on starting timestamp. Could also alter the comparison to get later, equal, or earlier messages. ex. ql=select+*+where+timestamp>1403164734226 or =<[timestamp] (optional, default to select+*+where+timestamp>1403164734226)limit - total number of messages per page by pagination at a time (optional, default to 3)cursor - Get messages by pagination. Obtained \"cursor\" from the previous GET messages call response. (optional, default to )callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic String orgNameAppNameChatmessagesTimeGet(String orgName, String appName, String authorization, String time) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)time - Format as (YYYYMMDDHH) (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatmessagesTimeGetWithHttpInfo(String orgName, String appName, String authorization, String time) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)time - Format as (YYYYMMDDHH) (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatmessagesTimeGetAsync(String orgName, String appName, String authorization, String time, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)time - Format as (YYYYMMDDHH) (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.