human: 如何处理七牛云的即时通讯groupManage

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [IM Web
文档](https://developer.qiniu.com/IM/api/8325/im-web-document) > groupManage

#  groupManage

最近更新时间: 2022-05-24 16:45:29

## groupManage

群管理

  * groupManage 
    * [.asyncGetGroupInfo(group_id, froce)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetJoinedGroups(froce)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.openGroup(group_id)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.getAllGroupDetail()](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetGroupMembers(group_id)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.getGroupMembers(group_id)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetGroupListDetail(gids)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.getGruopMessage(gid)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetInfo(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetMemberList(param)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.readGroupMessage(group_id, mid)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.recallMessage(uid, mid)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.getUnreadCount(gid)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetAdminList(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncAdminAdd(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncAdminRemove(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetAnouncementById(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncAnouncementDelete(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncAnnouncementEdit(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetAnnouncementList(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncCreate(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncDestroy(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateAvatar(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateDescription(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateExt(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateName(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGroupMsgMutemode(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGroupBannedList(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGroupBab(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGroupUnban(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetSettings(group_id)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateAllowMemberInvitation(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateAllowMemberModify(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateEnableReadack(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateHistoryVisible(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateRequireadminapproval(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncBanAll(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUnBanAll(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncOwnerTransfer(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetUserJoined(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncApply(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncApplyHandle(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGroupBockedlist(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGroupBlock(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGroupUnblock(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncKick(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetInvitationList()](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncInvite(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncInviteHandle(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetMemberDisplayName(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncLeave(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncUpdateDisplayName(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asncGetApplicationList(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncGetFileList(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncFileDelete(params)](https://developer.qiniu.com/IM/11903/groupmanage)
    * [.asyncFileUpload(params)](https://developer.qiniu.com/IM/11903/groupmanage)

### groupManage.asyncGetGroupInfo(group_id, froce) ⇒
`Promise.<GroupInfoAndSettings>`

获取群信息

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupInfoAndSettings>` \- 群信息

Param | Type | Description  
---|---|---  
group_id | `number` | 群ID  
froce | `boolean` | 是否强制从服务器拉取： true - 从服务器拉取， false - 优先从本地存储获取  
  
### groupManage.asyncGetJoinedGroups(froce) ⇒ `Promise.<Array.<number>>`

获取加入的群组

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<number>>` \- 群组ID列表

Param | Type | Description  
---|---|---  
froce | `boolean` | 是否强制从服务器拉取： true - 从服务器拉取， false - 优先从本地存储获取  
  
### groupManage.openGroup(group_id)

打开群组， 此方法会准备群组聊天界面的一些必备信息。

**Kind** : static method of groupManage

Param | Type | Description  
---|---|---  
group_id | `number` | 群组ID  
  
### groupManage.getAllGroupDetail() ⇒ `Object.<number,
module:types~GroupInfoAndSettings>`

获取缓存的所有群组详情

**Kind** : static method of groupManage  
**Returns** : `Object.<number, module:types~GroupInfoAndSettings>` \- 群组详情

### groupManage.asyncGetGroupMembers(group_id) ⇒
`Promise.<Array.<module:types~GroupMember>>`

获取群组成员（异步）

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupMember>>` \- 群成员列表

Param | Type | Description  
---|---|---  
group_id | `number` | 群组ID  
  
### groupManage.getGroupMembers(group_id) ⇒ `Array.<GroupMember>`

获取群组成员（同步）

**Kind** : static method of groupManage  
**Returns** : `Array.<GroupMember>` \- 群成员列表

Param | Type | Description  
---|---|---  
group_id | `number` | 群组ID  
  
### groupManage.asyncGetGroupListDetail(gids) ⇒
`Promise.<Array.<module:types~BriefGroupInfoAndSettings>>`

按id获取群组详情

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~BriefGroupInfoAndSettings>>` \-
群组详情列表

Param | Type | Description  
---|---|---  
gids | `Array.<number>` | 群组ID列表  
  
### groupManage.getGruopMessage(gid) ⇒ `Array.<Meta>`

获取群消息

**Kind** : static method of groupManage  
**Returns** : `Array.<Meta>` \- 群消息列表

Param | Type | Description  
---|---|---  
gid | `number` | 群ID  
  
### groupManage.asyncGetInfo(params) ⇒ `Promise.<GroupInfoAndSettings>`

获取群组详情

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupInfoAndSettings>` \- 群组详情

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncGetMemberList(param) ⇒
`Promise.<Array.<module:types~GroupMember>>`

获取群成员列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupMember>>` \- 群成员列表

Param | Type | Description  
---|---|---  
param | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.readGroupMessage(group_id, mid)

将群消息设置已读

**Kind** : static method of groupManage

Param | Type | Description  
---|---|---  
group_id | `number` | 群组ID  
mid | `number` | 消息ID  
  
### groupManage.recallMessage(uid, mid)

撤回消息

**Kind** : static method of groupManage

Param | Type | Description  
---|---|---  
uid | `number` | 群组ID  
mid | `number` | 消息ID  
  
### groupManage.getUnreadCount(gid) ⇒ `number`

获取群未读消息数

**Kind** : static method of groupManage  
**Returns** : `number` \- 未读消息数

Param | Type | Description  
---|---|---  
gid | `number` | 群组ID  
  
### groupManage.asyncGetAdminList(params) ⇒
`Promise.<Array.<module:types~GroupMember>>`

获取群管理员列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupMember>>` \- 群管理员列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncAdminAdd(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

群添加管理员

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncAdminRemove(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

移除管理员

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncGetAnouncementById(params) ⇒
`Promise.<GroupAnnouncement>`

获取群公告详情

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupAnnouncement>` \- 群公告详情

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.announcement_id | `Array.<number>` | 公告ID  
  
### groupManage.asyncAnouncementDelete(params) ⇒ `Promise.<boolean>`

删除群公告

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.announcement_id | `Array.<number>` | 公告ID  
  
### groupManage.asyncAnnouncementEdit(params) ⇒ `Promise.<GroupAnnouncement>`

编辑群公告

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupAnnouncement>` \- 群公告详情

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.title | `string` | 公告标题  
params.content | `string` | 公告内容  
  
### groupManage.asyncGetAnnouncementList(params) ⇒
`Promise.<Array.<module:types~GroupAnnouncement>>`

群公告列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupAnnouncement>>` \- 群公告详情列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncCreate(params) ⇒ `Promise.<GroupInfoAndSettings>`

创建群组

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupInfoAndSettings>` \- 群详情

Param | Type | Description  
---|---|---  
params | [`GroupInfoRequest`](https://developer.qiniu.com/IM/11903/groupmanage) | 请求参数  
  
### groupManage.asyncDestroy(params) ⇒ `Promise.<boolean>`

解散群组

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncUpdateAvatar(params) ⇒ `Promise.<boolean>`

更新群头像

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `string` | 头像地址  
  
### groupManage.asyncUpdateDescription(params) ⇒ `Promise.<boolean>`

更新群描述

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `string` | 群组描述  
  
### groupManage.asyncUpdateExt(params) ⇒ `Promise.<boolean>`

更新群扩展信息

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `string` | 扩展信息  
  
### groupManage.asyncUpdateName(params) ⇒ `Promise.<boolean>`

更新群名称

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `string` | 群名称  
  
### groupManage.asyncGroupMsgMutemode(params) ⇒ `Promise.<boolean>`

设置群消息免打扰情况

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.msg_mute_mode | `number` | 群消息屏蔽模式: 0 - 表示不屏蔽, 1 - 表示屏蔽本地消息通知, 2 - 表示屏蔽消息，不接收消息  
  
### groupManage.asyncGroupBannedList(params) ⇒
`Promise.<Array.<module:types~GroupMemberBanned>>`

获取群禁言列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupMemberBanned>>` \- 禁言成员列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncGroupBab(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

禁言群成员

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
请求结果列表

Param | Type | Description  
---|---|---  
params | [`GroupBannedMemberRequest`](https://developer.qiniu.com/IM/11903/groupmanage) | 请求参数  
  
### groupManage.asyncGroupUnban(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

解除成员禁言

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
请求结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncGetSettings(group_id) ⇒ `Promise.<GroupInfoAndSettings>`

获取群设置

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupInfoAndSettings>` \- 群设置

Param | Type | Description  
---|---|---  
group_id | `number` | 群ID  
  
### groupManage.asyncUpdateAllowMemberInvitation(params) ⇒ `Promise.<boolean>`

设置群成员是否可以邀请

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `boolean` | 群成员邀请设置: false - 不允许邀请, true - 允许邀请(默认)  
  
### groupManage.asyncUpdateAllowMemberModify(params) ⇒ `Promise.<boolean>`

设置群成员是否可以修改群信息

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `boolean` | 群成员修改群信息设置: false - 群成员不能修改群信息(默认), true - 群成员可以修改群信息  
  
### groupManage.asyncUpdateEnableReadack(params) ⇒ `Promise.<boolean>`

设置群是否开启已读模式

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `boolean` | 是否开启群消息已读功能: false - 不开启, true - 开启  
  
### groupManage.asyncUpdateHistoryVisible(params) ⇒ `Promise.<boolean>`

设置群历史是否可见

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `boolean` | 设置群历史是否可见: false - 不可见, true - 可见  
  
### groupManage.asyncUpdateRequireadminapproval(params) ⇒ `Promise.<boolean>`

设置入群是否需要申请

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.apply_approval | `boolean` | 入群申请审批设置, 0:同意所有申请 1:需要管理员确认 2:拒绝所有申请  
  
### groupManage.asyncBanAll(params) ⇒ `Promise.<GroupBanAllResponse>`

全员禁言，只允许管理员发消息

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupBanAllResponse>` \- 结果

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.duration | `number` | 禁言时长，单位为分钟,int64  
params.group_id | `number` | 群id,int64  
  
### groupManage.asyncUnBanAll(params) ⇒ `Promise.<boolean>`

取消全员禁言

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群id,int64  
  
### groupManage.asyncOwnerTransfer(params) ⇒
`Promise.<GroupUserRelationResponse>`

更换群主

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupUserRelationResponse>` \- 结果

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.new_owner | `number` | 新群主的用户ID  
  
### groupManage.asyncGetUserJoined(params) ⇒ `Promise.<Array.<number>>`

获取用户的群组列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<number>>` \- 群ID的列表

Param | Type | Description  
---|---|---  
params | `object` | 参数, 空对象  
  
### groupManage.asyncApply(params) ⇒ `Promise.<GroupUserRelationResponse>`

申请加入群

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupUserRelationResponse>` \- 结果

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.reason | `string` | 申请入群原因  
  
### groupManage.asyncApplyHandle(params) ⇒
`Promise.<GroupUserRelationResponse>`

处理用户的入群申请

**Kind** : static method of groupManage  
**Returns** : `Promise.<GroupUserRelationResponse>` \- 结果

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_id | `number` | 用户ID  
params.approval | `boolean` | 审批结果：true为同意，false为拒绝  
  
### groupManage.asyncGroupBockedlist(params) ⇒
`Promise.<Array.<module:types~GroupBlockedListItem>>`

获取群黑名单

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupBlockedListItem>>` \- 群黑名单列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncGroupBlock(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

将成员加入黑名单

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncGroupUnblock(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

解除黑名单

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncKick(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

踢出群组

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncGetInvitationList() ⇒
`Promise.<Array.<module:types~GroupInvitation>>`

获取群邀请列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupInvitation>>` \- 群邀请列表

### groupManage.asyncInvite(params) ⇒
`Promise.<Array.<module:types~GroupUserRelationResponse>>`

邀请成员加入群

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupUserRelationResponse>>` \-
结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncInviteHandle(params) ⇒ `Promise.<boolean>`

处理群邀请

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_id | `number` | 用户ID  
params.approval | `boolean` | 审批结果：true为同意，false为拒绝  
  
### groupManage.asyncGetMemberDisplayName(params) ⇒
`Promise.<Array.<module:types~GroupMember>>`

批量获取群成员的群名片

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupMember>>` \- 群成员列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.user_list | `Array.<number>` | 群成员列表  
  
### groupManage.asyncLeave(params) ⇒ `Promise.<boolean>`

退出群

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncUpdateDisplayName(params) ⇒ `Promise.<boolean>`

修改群名片

**Kind** : static method of groupManage  
**Returns** : `Promise.<boolean>` \- 是否成功

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.value | `string` | 新名片  
  
### groupManage.asncGetApplicationList(params) ⇒
`Promise.<Array.<module:types~GroupApplication>>`

获取群申请列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupApplication>>` \- 群申请列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_list | `Array.<number>` | 群列表  
  
### groupManage.asyncGetFileList(params) ⇒
`Promise.<Array.<module:types~GroupSharedFile>>`

获取群文件列表

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupSharedFile>>` \- 群文件列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
  
### groupManage.asyncFileDelete(params) ⇒
`Promise.<Array.<module:types~GroupSharedFileResponse>>`

删除群文件

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupSharedFileResponse>>` \- 结果列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群组ID  
params.file_list | `Array.<number>` | 文件ID列表  
  
### groupManage.asyncFileUpload(params) ⇒
`Promise.<Array.<module:types~GroupSharedFile>>`

上传群文件

**Kind** : static method of groupManage  
**Returns** : `Promise.<Array.<module:types~GroupSharedFile>>` \- 群文件列表

Param | Type | Description  
---|---|---  
params | `object` | 参数  
params.group_id | `number` | 群id,int64  
params.name | `string` | 文件名称  
params.size | `number` | 文件大小,int64  
params.type | `string` | 文件类型  
params.url | `string` | 文件url  
  
以上内容是否对您有帮助？