@@ -3845,6 +3845,123 @@ public okhttp3.Call unmuteAllGroupMembersAsync(String groupId, final ApiCallback
38453845 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
38463846 return localVarCall ;
38473847 }
3848+ /**
3849+ * Build call for unmuteGroupMember
3850+ * @param groupId (required)
3851+ * @param username (required)
3852+ * @param _callback Callback for upload/download progress
3853+ * @return Call to execute
3854+ * @throws ApiException If fail to serialize the request body object
3855+ * http.response.details
3856+ */
3857+ public okhttp3 .Call unmuteGroupMemberCall (String groupId , String username , final ApiCallback _callback ) throws ApiException {
3858+ String basePath = null ;
3859+ // Operation Servers
3860+ String [] localBasePaths = new String [] { };
3861+
3862+ // Determine Base Path to Use
3863+ if (localCustomBaseUrl != null ){
3864+ basePath = localCustomBaseUrl ;
3865+ } else if ( localBasePaths .length > 0 ) {
3866+ basePath = localBasePaths [localHostIndex ];
3867+ } else {
3868+ basePath = null ;
3869+ }
3870+
3871+ Object localVarPostBody = null ;
3872+
3873+ // create path and map variables
3874+ String localVarPath = "/chatgroups/{group_id}/mute/{username}"
3875+ .replace ("{" + "group_id" + "}" , localVarApiClient .escapeString (groupId .toString ()))
3876+ .replace ("{" + "username" + "}" , localVarApiClient .escapeString (username .toString ()));
3877+
3878+ List <Pair > localVarQueryParams = new ArrayList <Pair >();
3879+ List <Pair > localVarCollectionQueryParams = new ArrayList <Pair >();
3880+ Map <String , String > localVarHeaderParams = new HashMap <String , String >();
3881+ Map <String , String > localVarCookieParams = new HashMap <String , String >();
3882+ Map <String , Object > localVarFormParams = new HashMap <String , Object >();
3883+
3884+ final String [] localVarAccepts = {
3885+ "application/json"
3886+ };
3887+ final String localVarAccept = localVarApiClient .selectHeaderAccept (localVarAccepts );
3888+ if (localVarAccept != null ) {
3889+ localVarHeaderParams .put ("Accept" , localVarAccept );
3890+ }
3891+
3892+ final String [] localVarContentTypes = {
3893+ };
3894+ final String localVarContentType = localVarApiClient .selectHeaderContentType (localVarContentTypes );
3895+ if (localVarContentType != null ) {
3896+ localVarHeaderParams .put ("Content-Type" , localVarContentType );
3897+ }
3898+
3899+ String [] localVarAuthNames = new String [] { };
3900+ return localVarApiClient .buildCall (basePath , localVarPath , "DELETE" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarCookieParams , localVarFormParams , localVarAuthNames , _callback );
3901+ }
3902+
3903+ @ SuppressWarnings ("rawtypes" )
3904+ private okhttp3 .Call unmuteGroupMemberValidateBeforeCall (String groupId , String username , final ApiCallback _callback ) throws ApiException {
3905+ // verify the required parameter 'groupId' is set
3906+ if (groupId == null ) {
3907+ throw new ApiException ("Missing the required parameter 'groupId' when calling unmuteGroupMember(Async)" );
3908+ }
3909+
3910+ // verify the required parameter 'username' is set
3911+ if (username == null ) {
3912+ throw new ApiException ("Missing the required parameter 'username' when calling unmuteGroupMember(Async)" );
3913+ }
3914+
3915+ return unmuteGroupMemberCall (groupId , username , _callback );
3916+
3917+ }
3918+
3919+ /**
3920+ * 解除成员禁言
3921+ * 将一个群成员移出禁言列表。移除后,群成员可以在群组中正常发送消息,同时也可以在该群组下的子区中发送消息。。文档介绍:https://doc.easemob.com/document/server-side/group_member_mutelist.html#%E8%A7%A3%E9%99%A4%E6%88%90%E5%91%98%E7%A6%81%E8%A8%80
3922+ * @param groupId (required)
3923+ * @param username (required)
3924+ * @return EMUnmuteGroupMemberResult
3925+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
3926+ * http.response.details
3927+ */
3928+ public EMUnmuteGroupMemberResult unmuteGroupMember (String groupId , String username ) throws ApiException {
3929+ ApiResponse <EMUnmuteGroupMemberResult > localVarResp = unmuteGroupMemberWithHttpInfo (groupId , username );
3930+ return localVarResp .getData ();
3931+ }
3932+
3933+ /**
3934+ * 解除成员禁言
3935+ * 将一个群成员移出禁言列表。移除后,群成员可以在群组中正常发送消息,同时也可以在该群组下的子区中发送消息。。文档介绍:https://doc.easemob.com/document/server-side/group_member_mutelist.html#%E8%A7%A3%E9%99%A4%E6%88%90%E5%91%98%E7%A6%81%E8%A8%80
3936+ * @param groupId (required)
3937+ * @param username (required)
3938+ * @return ApiResponse<EMUnmuteGroupMemberResult>
3939+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
3940+ * http.response.details
3941+ */
3942+ public ApiResponse <EMUnmuteGroupMemberResult > unmuteGroupMemberWithHttpInfo (String groupId , String username ) throws ApiException {
3943+ okhttp3 .Call localVarCall = unmuteGroupMemberValidateBeforeCall (groupId , username , null );
3944+ Type localVarReturnType = new TypeToken <EMUnmuteGroupMemberResult >(){}.getType ();
3945+ return localVarApiClient .execute (localVarCall , localVarReturnType );
3946+ }
3947+
3948+ /**
3949+ * 解除成员禁言 (asynchronously)
3950+ * 将一个群成员移出禁言列表。移除后,群成员可以在群组中正常发送消息,同时也可以在该群组下的子区中发送消息。。文档介绍:https://doc.easemob.com/document/server-side/group_member_mutelist.html#%E8%A7%A3%E9%99%A4%E6%88%90%E5%91%98%E7%A6%81%E8%A8%80
3951+ * @param groupId (required)
3952+ * @param username (required)
3953+ * @param _callback The callback to be executed when the API call finishes
3954+ * @return The request call
3955+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
3956+ * http.response.details
3957+ */
3958+ public okhttp3 .Call unmuteGroupMemberAsync (String groupId , String username , final ApiCallback <EMUnmuteGroupMemberResult > _callback ) throws ApiException {
3959+
3960+ okhttp3 .Call localVarCall = unmuteGroupMemberValidateBeforeCall (groupId , username , _callback );
3961+ Type localVarReturnType = new TypeToken <EMUnmuteGroupMemberResult >(){}.getType ();
3962+ localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
3963+ return localVarCall ;
3964+ }
38483965 /**
38493966 * Build call for uploadGroupShareFile
38503967 * @param groupId (required)
0 commit comments