group-management/enable-admin-only-change-group-name
Description
- Activate or deactivate the feature allowing only administrators to change group chat names.
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
chatroomUserName | Yes | string | Chat Room Id |
isOnlyAdminChangeName | Yes | bool | Only admins have the ability to change the group name ? |
Request Example
{
"type": 10031,
"chatroomUserName": "xxx@chatroom",
"isOnlyAdminChangeName": true
}
Return Example
{
"data": {
"status": 0,
"desc": "",
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |