| 程序包 | 说明 |
|---|---|
| com.lark.oapi.service.im.v1 | |
| com.lark.oapi.service.im.v1.model |
| 限定符和类型 | 方法和说明 |
|---|---|
DeleteChatResp |
ImService.Chat.delete(DeleteChatReq req)
解散群,解散群组
注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 如果使用tenant_access_token,需要机器人是群的创建者且具备==更新应用所创建群的群信息==权限才可解散群;- 如果使用user_access_token,需要对应的用户是群主才可解散群 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/delete ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/imv1/DeleteChatSample.java ;
|
DeleteChatResp |
ImService.Chat.delete(DeleteChatReq req,
RequestOptions reqOptions)
解散群,解散群组
注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 如果使用tenant_access_token,需要机器人是群的创建者且具备==更新应用所创建群的群信息==权限才可解散群;- 如果使用user_access_token,需要对应的用户是群主才可解散群 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/delete ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/imv1/DeleteChatSample.java ;
|
| 限定符和类型 | 方法和说明 |
|---|---|
DeleteChatReq |
DeleteChatReq.Builder.build() |
Copyright © 2022. All rights reserved.