tencent cloud

Chat

제품 소개
제품 개요
Basic Concepts
응용 시나리오
기능 소개
계정 시스템
사용자 정보 및 관계망
메시지 관리
그룹 시스템
Official Account
Audio/Video Call
사용 제한
구매 가이드
과금 개요
요금 안내
Purchase Instructions
Renewal Guide
연체 안내
Refund Policy
다운로드 센터
SDK & Demo 소스 코드
업데이트 로그
시나리오 솔루션
Live Streaming Setup Guide
AI Chatbot
대규모 엔터테인먼트 협업 커뮤니티
Discord 구현 가이드
IM을 게임에 통합하는 방법
WhatsApp Channel-style Official Account Integration Solution
Send Red Packet
Firewall Restrictions
클라이언트 APIs
SDK API(Web)
Android
iOS & macOS
Swift
Flutter
Electron
Unity
React Native
C APIs
C++
서버 APIs
Secure authentication with UserSig
RESTful APIs
Webhooks
콘솔 가이드
New Console Introduction
애플리케이션 생성 및 업그레이드
기본 설정
기능 설정
계정 관리
그룹 관리
Official Channel Management
콜백 설정
모니터링 대시보드
Viewing Guide for Resource Packages
Real-Time Monitor
개발 보조 툴
액세스 관리
Advanced Features
FAQ
uni-app FAQs
구매
SDK 관련 질문
계정 인증
사용자 정보 및 관계망
메시지
그룹
라이브 방송 그룹
닉네임 및 프로필 사진
협약 및 인증
Service Level Agreement
컴플라이언스 인증
IM 정책
개인 정보 보호 정책
데이터 개인 정보 보호 및 보안 계약
에러 코드
문의하기
文档Chat서버 APIsRESTful APIsGroup RelatedLive Group ManagementSetting/Deleting Live Streaming Group Administrators

Setting/Deleting Live Streaming Group Administrators

PDF
聚焦模式
字号
最后更新时间: 2025-10-23 12:08:35

Feature Overview

App administrators can set and delete administrators for a live streaming group. When an account is designated as an administrator, it does not need to be in the live streaming group. Once set as an administrator, the account remains an administrator even if it leaves and re-enters the live streaming group. To cancel the administrator status, this API needs to be called. This feature requires the Pro edition 、Pro Plus edition or Enterprise edition, and the live streaming group online member list feature must have been enabled under group feature configuration in the Chat console.

API Call Description

Applicable Group Types

Group Type ID
REST API Support
Private
No. It is similar to Work (friend work group) in the new version.
Public
No.
ChatRoom
No. It is similar to Meeting (temporary meeting group) in the new version.
AVChatRoom
Yes.
Community
No.
Chat incorporates the aforementioned group types. For details, see Group System.
Note
This feature requires the Pro edition 、Pro Plus edition or Enterprise edition Package, and the live streaming group online member list feature must have been enabled (under group feature configuration in the console).
When an account is designated as an administrator, it does not need to be in the live streaming group.
Once set as an administrator, the account remains an administrator even if it leaves and re-enters the live streaming group.
To cancel the administrator status, this API needs to be called.
A live streaming group can have up to 5 administrators.

Sample Request URL

https://xxxxxx/v4/group_open_avchatroom_http_svc/modify_admin?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json

Request Parameters

The following table only lists the parameters involved when this API is called and their descriptions. For details on other parameters, see REST API Overview.
Parameter
Description
xxxxxx
The dedicated domain name corresponding to the country/region of the SDKAppID:
China: console.tim.qq.com
Singapore: adminapisgp.im.qcloud.com
Seoul: adminapikr.im.qcloud.com
Tokyo:adminapijpn.im.qcloud.com
Frankfurt: adminapiger.im.qcloud.com
Silicon Valley: adminapiusa.im.qcloud.com
Jakarta: adminapiidn.im.qcloud.com
v4/group_open_avchatroom_http_svc/modify_admin
Request API.
sdkappid
The SDKAppID assigned by the Chat console when an application is created.
identifier
It must be an app admin account. For details, see App Admins.
usersig
The signature generated by the app admin account. For details, see Generating UserSig.
random
A random 32-bit unsigned integer ranging from 0 to 4294967295.
contenttype
The request format is fixed to json.

Maximum Call Frequency

200 times/second

Sample Request Packets

Query whether a batch of users is in the live streaming group, and return the users who are in the group.
{
"GroupId":"@TGS#a6I4ZUUGO",
"CommandType": 1,
"Admin_Account": ["user1"]
}

Request Packet Fields

Field
Type
Attribute
Description
GroupId
String
Required
ID of the operated group.
CommandType
Integer
Required
1: Sets an administrator.
2: Cancels administrator settings.
Admin_Account
Array
Required
UserID list of administrators to be modified. A live streaming group can have up to 5 administrators.

Sample Response Packets

{
"ActionStatus": "OK",
"ErrorCode": 0,
"ErrorInfo": ""
}

Response Packet Fields

Field
Type
Description
ActionStatus
String
Processing results:
OK: succeeded.
FAIL: failed.
ErrorCode
Integer
Error code:
0: succeeded.
Other values: failed.
ErrorInfo
String
Error message.

Error Codes

Unless a network error occurs (such as a 502 error), the HTTP return code for this API is always 200. The real error code and error message are indicated by ErrorCode and ErrorInfo in the response packets. Common error codes (60000 to 79999) can be found in Error Codes. The private error codes for this API are as follows:
Error Code
Description
10001
The user does not log in. Please check whether the admin account and usersig are correct.
10002
System error. Please try again or contact technical support.
10003
Invalid request command. Please try again or contact technical support.
10004
Invalid parameters. Please check whether the required fields are filled in or whether the field fillings meet the protocol requirements based on the ErrorInfo field in the response packets.
10007
Insufficient permissions. Non-AVChatRoom group types do not support obtaining the online user count.
10010
The group does not exist, or it once existed but has now been dissolved.
10008
The number of admin in the AVChatRoom has exceeded the limit. Or, the Pro edition, Pro Plus edition or Enterprise edition package has not been activated, and the live streaming group online member list feature has not been enabled in the group feature configuration on the console.
10015
Invalid group ID. Please check whether the group ID is filled in correctly.


帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈