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

  • POST

Parameters

Parameter NameRequiredParameter TypeDescription
typeYesintAPI ID
chatroomUserNameYesstringChat Room Id
isOnlyAdminChangeNameYesboolOnly 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 NameParameter TypeDescription
error_codeintError code
descriptionstringError Description
datajsonBusiness data

Remark