| 构造器和说明 |
|---|
MessageReaction(Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateMessageReactionResp |
create(CreateMessageReactionReq req)
添加消息表情回复,给指定消息添加指定类型的表情回复(reaction即表情回复,本文档统一用“reaction”代称)。
|
CreateMessageReactionResp |
create(CreateMessageReactionReq req,
RequestOptions reqOptions)
添加消息表情回复,给指定消息添加指定类型的表情回复(reaction即表情回复,本文档统一用“reaction”代称)。
|
DeleteMessageReactionResp |
delete(DeleteMessageReactionReq req)
删除消息表情回复,删除指定消息的表情回复(reaction即表情回复,本文档统一用“reaction”代称)。
|
DeleteMessageReactionResp |
delete(DeleteMessageReactionReq req,
RequestOptions reqOptions)
删除消息表情回复,删除指定消息的表情回复(reaction即表情回复,本文档统一用“reaction”代称)。
|
ListMessageReactionResp |
list(ListMessageReactionReq req)
获取消息表情回复,获取指定消息的特定类型表情回复列表(reaction即表情回复,本文档统一用“reaction”代称)。
|
ListMessageReactionResp |
list(ListMessageReactionReq req,
RequestOptions reqOptions)
获取消息表情回复,获取指定消息的特定类型表情回复列表(reaction即表情回复,本文档统一用“reaction”代称)。
|
public MessageReaction(Config config)
public CreateMessageReactionResp create(CreateMessageReactionReq req, RequestOptions reqOptions) throws Exception
注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 待添加reaction的消息要真实存在,不能被撤回;- 给消息添加reaction,需要reaction的发送方(机器人或者用户)在消息所在的会话内 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/create ;
Exceptionpublic CreateMessageReactionResp create(CreateMessageReactionReq req) throws Exception
注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 待添加reaction的消息要真实存在,不能被撤回;- 给消息添加reaction,需要reaction的发送方(机器人或者用户)在消息所在的会话内 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/create ;
Exceptionpublic DeleteMessageReactionResp delete(DeleteMessageReactionReq req, RequestOptions reqOptions) throws Exception
注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 只能删除真实存在的reaction,并且删除reaction请求的操作者必须是reaction的原始添加者 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/delete ;
Exceptionpublic DeleteMessageReactionResp delete(DeleteMessageReactionReq req) throws Exception
注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 只能删除真实存在的reaction,并且删除reaction请求的操作者必须是reaction的原始添加者 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/delete ;
Exceptionpublic ListMessageReactionResp list(ListMessageReactionReq req, RequestOptions reqOptions) throws Exception
注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 待获取reaction信息的消息要真实存在,不能被撤回;- 获取消息的reaction,需要request的授权主体(机器人或者用户)在消息所在的会话内 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/list ;
Exceptionpublic ListMessageReactionResp list(ListMessageReactionReq req) throws Exception
注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-enable-bot-ability) ;- 待获取reaction信息的消息要真实存在,不能被撤回;- 获取消息的reaction,需要request的授权主体(机器人或者用户)在消息所在的会话内 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/list ;
ExceptionCopyright © 2022. All rights reserved.