public class MessageReaction extends Object
| 构造器和说明 |
|---|
MessageReaction(Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchQueryMessageReactionResp |
batchQuery(BatchQueryMessageReactionReq req)
批量获取消息表情回复,支持批量分页的获取消息上的表情详情、支持批量获取消息上表情的统计
## 前提条件;;-
应用身份调用接口需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。
|
BatchQueryMessageReactionResp |
batchQuery(BatchQueryMessageReactionReq req,
RequestOptions reqOptions)
批量获取消息表情回复,支持批量分页的获取消息上的表情详情、支持批量获取消息上表情的统计
## 前提条件;;-
应用身份调用接口需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。
|
CreateMessageReactionResp |
create(CreateMessageReactionReq req)
添加消息表情回复,给指定消息添加指定类型的表情回复。
|
CreateMessageReactionResp |
create(CreateMessageReactionReq req,
RequestOptions reqOptions)
添加消息表情回复,给指定消息添加指定类型的表情回复。
|
DeleteMessageReactionResp |
delete(DeleteMessageReactionReq req)
删除消息表情回复,删除指定消息的某一表情回复。
|
DeleteMessageReactionResp |
delete(DeleteMessageReactionReq req,
RequestOptions reqOptions)
删除消息表情回复,删除指定消息的某一表情回复。
|
ListMessageReactionResp |
list(ListMessageReactionReq req)
获取消息表情回复,获取指定消息内的表情回复列表
## 前提条件;;-
应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。
|
ListMessageReactionResp |
list(ListMessageReactionReq req,
RequestOptions reqOptions)
获取消息表情回复,获取指定消息内的表情回复列表
## 前提条件;;-
应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。
|
public MessageReaction(Config config)
public BatchQueryMessageReactionResp batchQuery(BatchQueryMessageReactionReq req, RequestOptions reqOptions) throws Exception
## 前提条件;;- 应用身份调用接口需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待查询的消息所属的会话内。;;## 使用限制;;已被撤回的消息、消息不可见等情况无法获取表情回复列表。 ;
Exceptionpublic BatchQueryMessageReactionResp batchQuery(BatchQueryMessageReactionReq req) throws Exception
## 前提条件;;- 应用身份调用接口需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待查询的消息所属的会话内。;;## 使用限制;;已被撤回的消息、消息不可见等情况无法获取表情回复列表。 ;
Exceptionpublic CreateMessageReactionResp create(CreateMessageReactionReq req, RequestOptions reqOptions) throws Exception
## 前提条件;;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待添加表情回复的消息所属的会话内。;;## 使用限制;;- 已被撤回的消息无法添加表情回复。;- [系统消息(system)](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json#e159cb73)无法添加表情回复。 ;
Exceptionpublic CreateMessageReactionResp create(CreateMessageReactionReq req) throws Exception
## 前提条件;;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待添加表情回复的消息所属的会话内。;;## 使用限制;;- 已被撤回的消息无法添加表情回复。;- [系统消息(system)](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json#e159cb73)无法添加表情回复。 ;
Exceptionpublic DeleteMessageReactionResp delete(DeleteMessageReactionReq req, RequestOptions reqOptions) throws Exception
## 前提条件;;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待删除表情回复的消息所属的会话内。;;## 使用限制;;- 已被撤回的消息无法添加表情回复。;- 调用当前接口的机器人或者用户,只能删除由自己添加的表情回复,且需要保证该表情回复真实存在于消息中。 ;
Exceptionpublic DeleteMessageReactionResp delete(DeleteMessageReactionReq req) throws Exception
## 前提条件;;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待删除表情回复的消息所属的会话内。;;## 使用限制;;- 已被撤回的消息无法添加表情回复。;- 调用当前接口的机器人或者用户,只能删除由自己添加的表情回复,且需要保证该表情回复真实存在于消息中。 ;
Exceptionpublic ListMessageReactionResp list(ListMessageReactionReq req, RequestOptions reqOptions) throws Exception
## 前提条件;;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待查询的消息所属的会话内。;;## 使用限制;;已被撤回的消息无法获取表情回复列表。; ;
Exceptionpublic ListMessageReactionResp list(ListMessageReactionReq req) throws Exception
## 前提条件;;- 应用需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability)。;- 调用当前接口的机器人或者用户,需要在待查询的消息所属的会话内。;;## 使用限制;;已被撤回的消息无法获取表情回复列表。; ;
ExceptionCopyright © 2026. All rights reserved.