public class GroupsApi extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
orgNameAppNameChatgroupsGet(String orgName,
String appName,
String authorization,
String limit,
String cursor)
Get All the Groups
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGetAsync(String orgName,
String appName,
String authorization,
String limit,
String cursor,
ApiCallback<String> callback)
Get All the Groups (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGetWithHttpInfo(String orgName,
String appName,
String authorization,
String limit,
String cursor)
Get All the Groups
|
String |
orgNameAppNameChatgroupsGroupIdBlocksUsersGet(String orgName,
String appName,
String authorization,
String groupId)
Get Group Blocked Users
Get the blacklist of blocked users.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdBlocksUsersGetAsync(String orgName,
String appName,
String authorization,
String groupId,
ApiCallback<String> callback)
Get Group Blocked Users (asynchronously)
Get the blacklist of blocked users.
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdBlocksUsersGetWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId)
Get Group Blocked Users
Get the blacklist of blocked users.
|
String |
orgNameAppNameChatgroupsGroupIdBlocksUsersPost(String orgName,
String appName,
String authorization,
String groupId,
UserNames body)
Block Group Members in Batch
Block multiple group members by adding the users to the group blacklist.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdBlocksUsersPostAsync(String orgName,
String appName,
String authorization,
String groupId,
UserNames body,
ApiCallback<String> callback)
Block Group Members in Batch (asynchronously)
Block multiple group members by adding the users to the group blacklist.
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdBlocksUsersPostWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
UserNames body)
Block Group Members in Batch
Block multiple group members by adding the users to the group blacklist.
|
String |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernameDelete(String orgName,
String appName,
String authorization,
String groupId,
String username)
Unblock a Group Member
Unblock group member by removing the user from group blacklist.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernameDeleteAsync(String orgName,
String appName,
String authorization,
String groupId,
String username,
ApiCallback<String> callback)
Unblock a Group Member (asynchronously)
Unblock group member by removing the user from group blacklist.
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernameDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
String username)
Unblock a Group Member
Unblock group member by removing the user from group blacklist.
|
String |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamePost(String orgName,
String appName,
String authorization,
String groupId,
String username)
Block a Group Member
Block a group member by adding the user to the group blacklist.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamePostAsync(String orgName,
String appName,
String authorization,
String groupId,
String username,
ApiCallback<String> callback)
Block a Group Member (asynchronously)
Block a group member by adding the user to the group blacklist.
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamePostWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
String username)
Block a Group Member
Block a group member by adding the user to the group blacklist.
|
String |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamesDelete(String orgName,
String appName,
String authorization,
String groupId,
String usernames)
Unblock Group Members in Batch
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamesDeleteAsync(String orgName,
String appName,
String authorization,
String groupId,
String usernames,
ApiCallback<String> callback)
Unblock Group Members in Batch (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamesDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
String usernames)
Unblock Group Members in Batch
|
String |
orgNameAppNameChatgroupsGroupIdDelete(String orgName,
String appName,
String authorization,
String groupId)
Delete a Group
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdDeleteAsync(String orgName,
String appName,
String authorization,
String groupId,
ApiCallback<String> callback)
Delete a Group (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId)
Delete a Group
|
String |
orgNameAppNameChatgroupsGroupIdPut(String orgName,
String appName,
String authorization,
String groupId,
ModifyGroup body)
Update Group Details
The message body only allows groupname, description, and maxusers.
|
String |
orgNameAppNameChatgroupsGroupidPut(String orgName,
String appName,
String authorization,
String groupid,
NewOwner body)
Update Group Owner
Transfer group ownership by changing owner.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdPutAsync(String orgName,
String appName,
String authorization,
String groupId,
ModifyGroup body,
ApiCallback<String> callback)
Update Group Details (asynchronously)
The message body only allows groupname, description, and maxusers.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupidPutAsync(String orgName,
String appName,
String authorization,
String groupid,
NewOwner body,
ApiCallback<String> callback)
Update Group Owner (asynchronously)
Transfer group ownership by changing owner.
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdPutWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
ModifyGroup body)
Update Group Details
The message body only allows groupname, description, and maxusers.
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupidPutWithHttpInfo(String orgName,
String appName,
String authorization,
String groupid,
NewOwner body)
Update Group Owner
Transfer group ownership by changing owner.
|
String |
orgNameAppNameChatgroupsGroupIdsGet(String orgName,
String appName,
String authorization,
String groupIds)
Get Group(s) Details
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdsGetAsync(String orgName,
String appName,
String authorization,
String groupIds,
ApiCallback<String> callback)
Get Group(s) Details (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdsGetWithHttpInfo(String orgName,
String appName,
String authorization,
String groupIds)
Get Group(s) Details
|
String |
orgNameAppNameChatgroupsGroupIdUsersGet(String orgName,
String appName,
String authorization,
String groupId)
Get a List of Members of Group
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdUsersGetAsync(String orgName,
String appName,
String authorization,
String groupId,
ApiCallback<String> callback)
Get a List of Members of Group (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdUsersGetWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId)
Get a List of Members of Group
|
String |
orgNameAppNameChatgroupsGroupIdUsersMembersDelete(String orgName,
String appName,
String authorization,
String groupId,
String members)
Remove multiple Member from the Group
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdUsersMembersDeleteAsync(String orgName,
String appName,
String authorization,
String groupId,
String members,
ApiCallback<String> callback)
Remove multiple Member from the Group (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdUsersMembersDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
String members)
Remove multiple Member from the Group
|
String |
orgNameAppNameChatgroupsGroupIdUsersPost(String orgName,
String appName,
String authorization,
String groupId,
UserNames body)
Add Multiple Members to Group
Warning: Add max 60 members once at a time.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdUsersPostAsync(String orgName,
String appName,
String authorization,
String groupId,
UserNames body,
ApiCallback<String> callback)
Add Multiple Members to Group (asynchronously)
Warning: Add max 60 members once at a time.
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdUsersPostWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
UserNames body)
Add Multiple Members to Group
Warning: Add max 60 members once at a time.
|
String |
orgNameAppNameChatgroupsGroupIdUsersUsernameDelete(String orgName,
String appName,
String authorization,
String groupId,
String username)
Remove a Member from the Group
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdUsersUsernameDeleteAsync(String orgName,
String appName,
String authorization,
String groupId,
String username,
ApiCallback<String> callback)
Remove a Member from the Group (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdUsersUsernameDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
String username)
Remove a Member from the Group
|
String |
orgNameAppNameChatgroupsGroupIdUsersUsernamePost(String orgName,
String appName,
String authorization,
String groupId,
String username)
Add a Member to Group
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsGroupIdUsersUsernamePostAsync(String orgName,
String appName,
String authorization,
String groupId,
String username,
ApiCallback<String> callback)
Add a Member to Group (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatgroupsGroupIdUsersUsernamePostWithHttpInfo(String orgName,
String appName,
String authorization,
String groupId,
String username)
Add a Member to Group
|
String |
orgNameAppNameChatgroupsPost(String orgName,
String appName,
String authorization,
Group body)
Create a Group
Group settings: 1.
|
com.squareup.okhttp.Call |
orgNameAppNameChatgroupsPostAsync(String orgName,
String appName,
String authorization,
Group body,
ApiCallback<String> callback)
Create a Group (asynchronously)
Group settings: 1.
|
ApiResponse<String> |
orgNameAppNameChatgroupsPostWithHttpInfo(String orgName,
String appName,
String authorization,
Group body)
Create a Group
Group settings: 1.
|
void |
setApiClient(ApiClient apiClient) |
public GroupsApi()
public GroupsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public String orgNameAppNameChatgroupsGet(String orgName, String appName, String authorization, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - total number of messages per page by pagination at a time (optional, default to )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> orgNameAppNameChatgroupsGetWithHttpInfo(String orgName, String appName, String authorization, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - total number of messages per page by pagination at a time (optional, default to )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 orgNameAppNameChatgroupsGetAsync(String orgName, String appName, String authorization, String limit, String cursor, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - total number of messages per page by pagination at a time (optional, default to )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 orgNameAppNameChatgroupsGroupIdBlocksUsersGet(String orgName, String appName, String authorization, String groupId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdBlocksUsersGetWithHttpInfo(String orgName, String appName, String authorization, String groupId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdBlocksUsersGetAsync(String orgName, String appName, String authorization, String groupId, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (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 objectpublic String orgNameAppNameChatgroupsGroupIdBlocksUsersPost(String orgName, String appName, String authorization, String groupId, UserNames body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdBlocksUsersPostWithHttpInfo(String orgName, String appName, String authorization, String groupId, UserNames body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdBlocksUsersPostAsync(String orgName, String appName, String authorization, String groupId, UserNames body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - Separate usernames by ',' (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 objectpublic String orgNameAppNameChatgroupsGroupIdBlocksUsersUsernameDelete(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - testapp (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdBlocksUsersUsernameDeleteWithHttpInfo(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - testapp (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdBlocksUsersUsernameDeleteAsync(String orgName, String appName, String authorization, String groupId, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - testapp (required)authorization - Bearer ${token} (required)groupId - (required)username - (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 objectpublic String orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamePost(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamePostWithHttpInfo(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamePostAsync(String orgName, String appName, String authorization, String groupId, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (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 objectpublic String orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamesDelete(String orgName, String appName, String authorization, String groupId, String usernames) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)usernames - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamesDeleteWithHttpInfo(String orgName, String appName, String authorization, String groupId, String usernames) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)usernames - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdBlocksUsersUsernamesDeleteAsync(String orgName, String appName, String authorization, String groupId, String usernames, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)usernames - Separate usernames by ',' (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 objectpublic String orgNameAppNameChatgroupsGroupIdDelete(String orgName, String appName, String authorization, String groupId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdDeleteWithHttpInfo(String orgName, String appName, String authorization, String groupId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdDeleteAsync(String orgName, String appName, String authorization, String groupId, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (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 objectpublic String orgNameAppNameChatgroupsGroupIdPut(String orgName, String appName, String authorization, String groupId, ModifyGroup body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdPutWithHttpInfo(String orgName, String appName, String authorization, String groupId, ModifyGroup body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdPutAsync(String orgName, String appName, String authorization, String groupId, ModifyGroup body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - (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 objectpublic String orgNameAppNameChatgroupsGroupIdUsersGet(String orgName, String appName, String authorization, String groupId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdUsersGetWithHttpInfo(String orgName, String appName, String authorization, String groupId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdUsersGetAsync(String orgName, String appName, String authorization, String groupId, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (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 objectpublic String orgNameAppNameChatgroupsGroupIdUsersMembersDelete(String orgName, String appName, String authorization, String groupId, String members) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token (required)groupId - (required)members - Use ',' to separate usernames (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdUsersMembersDeleteWithHttpInfo(String orgName, String appName, String authorization, String groupId, String members) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token (required)groupId - (required)members - Use ',' to separate usernames (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdUsersMembersDeleteAsync(String orgName, String appName, String authorization, String groupId, String members, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token (required)groupId - (required)members - Use ',' to separate usernames (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 objectpublic String orgNameAppNameChatgroupsGroupIdUsersPost(String orgName, String appName, String authorization, String groupId, UserNames body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdUsersPostWithHttpInfo(String orgName, String appName, String authorization, String groupId, UserNames body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdUsersPostAsync(String orgName, String appName, String authorization, String groupId, UserNames body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)body - Separate usernames by ',' (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 objectpublic String orgNameAppNameChatgroupsGroupIdUsersUsernameDelete(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdUsersUsernameDeleteWithHttpInfo(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdUsersUsernameDeleteAsync(String orgName, String appName, String authorization, String groupId, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (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 objectpublic String orgNameAppNameChatgroupsGroupIdUsersUsernamePost(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdUsersUsernamePostWithHttpInfo(String orgName, String appName, String authorization, String groupId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdUsersUsernamePostAsync(String orgName, String appName, String authorization, String groupId, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupId - (required)username - (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 objectpublic String orgNameAppNameChatgroupsGroupIdsGet(String orgName, String appName, String authorization, String groupIds) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupIds - Separate group ID by ','. e.g. {group_id1},{group_id2} (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupIdsGetWithHttpInfo(String orgName, String appName, String authorization, String groupIds) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupIds - Separate group ID by ','. e.g. {group_id1},{group_id2} (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupIdsGetAsync(String orgName, String appName, String authorization, String groupIds, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupIds - Separate group ID by ','. e.g. {group_id1},{group_id2} (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 objectpublic String orgNameAppNameChatgroupsGroupidPut(String orgName, String appName, String authorization, String groupid, NewOwner body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupid - (required)body - Use the key \"newowner\" and ${new_owner_user} is the username of new group owner (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsGroupidPutWithHttpInfo(String orgName, String appName, String authorization, String groupid, NewOwner body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupid - (required)body - Use the key \"newowner\" and ${new_owner_user} is the username of new group owner (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsGroupidPutAsync(String orgName, String appName, String authorization, String groupid, NewOwner body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)groupid - (required)body - Use the key \"newowner\" and ${new_owner_user} is the username of new group owner (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 objectpublic String orgNameAppNameChatgroupsPost(String orgName, String appName, String authorization, Group body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)body - \"desc\": group description. Note: Use key \"desc\". public vs. private: group type. maxusers: (Optional Attribute, default is 200). The max number of group members. approval: (Optional Attribute, default is true). Does user need permission to join the group? owner: The owner (admin) of the group. members: (Optional Attribute) Group members. Ignore the attribute if no member to be added. The group owner does not represent as a group member. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatgroupsPostWithHttpInfo(String orgName, String appName, String authorization, Group body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)body - \"desc\": group description. Note: Use key \"desc\". public vs. private: group type. maxusers: (Optional Attribute, default is 200). The max number of group members. approval: (Optional Attribute, default is true). Does user need permission to join the group? owner: The owner (admin) of the group. members: (Optional Attribute) Group members. Ignore the attribute if no member to be added. The group owner does not represent as a group member. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatgroupsPostAsync(String orgName, String appName, String authorization, Group body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)body - \"desc\": group description. Note: Use key \"desc\". public vs. private: group type. maxusers: (Optional Attribute, default is 200). The max number of group members. approval: (Optional Attribute, default is true). Does user need permission to join the group? owner: The owner (admin) of the group. members: (Optional Attribute) Group members. Ignore the attribute if no member to be added. The group owner does not represent as a group member. (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.