Package com.mikuac.shiro.action
Interface GensokyoExtend
- All Known Implementing Classes:
Bot
public interface GensokyoExtend
-
Method Summary
Modifier and TypeMethodDescriptiondeleteMsg(long groupId, long userId, int msgId) 撤回消息(兼容gsk)sendGroupMsg(long groupId, long userId, List<ArrayMsg> msg, boolean autoEscape) 发送群消息
-
Method Details
-
sendGroupMsg
发送群消息- Parameters:
groupId- 群号userId- 调用者的QQ号 , 在QQ开放平台中用于设定@对象,如果不设置此参数会导致: 在bot返回前如果被不同用户多次调用,只会@最后一次调用的用户msg- 要发送的内容autoEscape- 消息内容是否作为纯文本发送 ( 即不解析 CQ 码 ) , 只在 message 字段是字符串时有效- Returns:
- result
ActionDataofMsgId
-
deleteMsg
撤回消息(兼容gsk)- Parameters:
groupId- 群号userId- 用户idmsgId- 消息 ID- Returns:
- result
ActionRaw
-