Skip to content

set_msg_emoji_like ​

为群消息添加或取消指定表情回应。

调用方式 ​

js
await api.set_msg_emoji_like(self_id, message_id, emoji_id, true)

参数 ​

参数类型必填说明
self_idnumber是在线 Bot QQ 号
message_idnumber是框架缓存中的群消息 ID
emoji_idstring是QQ 表情回应 ID
setboolean否true 添加,false 取消

仅支持群消息。

返回值 ​

成功返回 null。

萌卡 · 自托管 QQ 机器人框架