Is Admin
GET api/v1/channel/isAdmin
Note: This is to check if the current user is the admin of a group chat.
Header
Field
Type
Remarks
Authorization
String
Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is returned by /api/v1/auth
Request Example
Response Parameters
Field
Type
Remarks
code
String
the Return Code
desc
String
the Return Message
data
boolean
if this is the admin,true-admin;false-not the admin非管理员
Response Body
Return Code
code
desc
Remarks
0
success
the flag for a successful request
Last updated