public class BatchMessage extends Object
| 构造器和说明 |
|---|
BatchMessage(Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
DeleteBatchMessageResp |
delete(DeleteBatchMessageReq req)
批量撤回消息,该接口用于撤回通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口发送的消息。
|
DeleteBatchMessageResp |
delete(DeleteBatchMessageReq req,
RequestOptions reqOptions)
批量撤回消息,该接口用于撤回通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口发送的消息。
|
GetProgressBatchMessageResp |
getProgress(GetProgressBatchMessageReq req)
查询批量消息整体进度,[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)或者[批量撤回消息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/batch_message/delete)后,可通过该接口查询消息的发送进度和撤回进度。
|
GetProgressBatchMessageResp |
getProgress(GetProgressBatchMessageReq req,
RequestOptions reqOptions)
查询批量消息整体进度,[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)或者[批量撤回消息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/batch_message/delete)后,可通过该接口查询消息的发送进度和撤回进度。
|
ReadUserBatchMessageResp |
readUser(ReadUserBatchMessageReq req)
查询批量消息推送和阅读人数,[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)后,可通过该接口查询消息推送的总人数以及消息已读人数。
|
ReadUserBatchMessageResp |
readUser(ReadUserBatchMessageReq req,
RequestOptions reqOptions)
查询批量消息推送和阅读人数,[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)后,可通过该接口查询消息推送的总人数以及消息已读人数。
|
public BatchMessage(Config config)
public DeleteBatchMessageResp delete(DeleteBatchMessageReq req, RequestOptions reqOptions) throws Exception
## 前提条件;;应用需要启用[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;;## 使用限制;;- 仅支持撤回通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口发送的消息。如果你需要撤回单条消息,请使用[撤回消息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/delete)接口。;- 不支持撤回时间较久的消息。撤回的消息需要符合由企业管理员设置的撤回时限。详情了解[管理员设置撤回和编辑消息权限](https://www.feishu.cn/hc/zh-CN/articles/325339752183)。;- 该接口为异步接口,会有一定延迟。 ;
Exceptionpublic DeleteBatchMessageResp delete(DeleteBatchMessageReq req) throws Exception
## 前提条件;;应用需要启用[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;;## 使用限制;;- 仅支持撤回通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口发送的消息。如果你需要撤回单条消息,请使用[撤回消息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/delete)接口。;- 不支持撤回时间较久的消息。撤回的消息需要符合由企业管理员设置的撤回时限。详情了解[管理员设置撤回和编辑消息权限](https://www.feishu.cn/hc/zh-CN/articles/325339752183)。;- 该接口为异步接口,会有一定延迟。 ;
Exceptionpublic GetProgressBatchMessageResp getProgress(GetProgressBatchMessageReq req, RequestOptions reqOptions) throws Exception
Exceptionpublic GetProgressBatchMessageResp getProgress(GetProgressBatchMessageReq req) throws Exception
Exceptionpublic ReadUserBatchMessageResp readUser(ReadUserBatchMessageReq req, RequestOptions reqOptions) throws Exception
## 前提条件;;应用需要启用[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;;## 注意事项;- 只能查询 30 天内,通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口发送的消息。;- 该接口返回的数据为查询时刻的快照数据。 ;
Exceptionpublic ReadUserBatchMessageResp readUser(ReadUserBatchMessageReq req) throws Exception
## 前提条件;;应用需要启用[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;;## 注意事项;- 只能查询 30 天内,通过[批量发送消息](https://open.feishu.cn/document/ukTMukTMukTM/ucDO1EjL3gTNx4yN4UTM)接口发送的消息。;- 该接口返回的数据为查询时刻的快照数据。 ;
ExceptionCopyright © 2026. All rights reserved.