提交工单
咨询集成、功能及报价等问题
You can call this method to modify the following group settings:
After the modification is successful, group members can receive notifications of the group specification limit changes through the following ZIM SDK callback interface:
iOS | Android | macOS | Windows | Web |
---|---|---|---|---|
Flutter | React Native | |||
The following table describes only the method-specific request parameters and some common request parameters. For the complete list of common request parameters, see Accessing Server APIs - Public parameters.
Parameter | Type | Required | Description |
---|---|---|---|
FromUserId |
String |
Yes |
Modify the operator's user ID (registered). |
GroupId |
String |
Yes |
The ID of the target group. |
JoinMode |
Number |
No |
Mode for joining the group:
|
InviteMode |
Number |
No |
Invitation mode:
|
BeInvitedMode |
Number |
No |
Invited mode:
|
MemberCountLimit |
Number |
No |
The maximum number of group members, the default value is 0. |
JoinMode
, InviteMode
or BeInvitedMode
, please do not carry this parameter in the request URL. If a parameter is carried but no value is assigned, the value of the parameter may be modified to 0.https://zim-api.zego.im/?Action=ModifyGroupLimit
&<Common request parameters>
&FromUserId=zego
&GroupId=group
&JoinMode=1
&MemberCountLimit=100
Parameter | Type | Description |
---|---|---|
Code |
Number |
Return codes. |
Message |
String |
Description of operation results. |
RequestId |
String |
Request ID. |
{
"Code": 0,
"Message": "success",
"RequestId": "343649807833778782"
}
The following table describes only the return codes related to the business logic of the method. For the complete list of return codes, see Return codes.
Return code | Description | Solution |
---|---|---|
660000001 |
Server error. |
Try again or contact ZEGOCLOUD technical support. |
660000002 |
Missing or invalid parameter. |
Check the input parameter. |
660300005 |
The QPS limit specified in AppID is exceeded. |
Try again later. |
660500002 |
The operator is not registered. |
Register the operator. |
660600001 |
The group does not exist. |
Check whether the value of the GroupId parameter is valid. |
660600009 |
Failed to obtain group information. |
Check whether the value of the GroupID parameter is valid. If it is valid, contact ZEGOCLOUD Technical Support. |