public interface GensokyoExtend
| 限定符和类型 | 方法和说明 |
|---|---|
ActionRaw |
deleteMsg(long groupId,
long userId,
int msgId)
撤回消息(兼容gsk)
|
ActionData<MsgId> |
sendGroupMsg(long groupId,
long userId,
java.util.List<ArrayMsg> msg,
boolean autoEscape)
发送群消息
|
ActionData<MsgId> sendGroupMsg(long groupId, long userId, java.util.List<ArrayMsg> msg, boolean autoEscape)
groupId - 群号userId - 调用者的QQ号 , 在QQ开放平台中用于设定@对象,如果不设置此参数会导致: 在bot返回前如果被不同用户多次调用,只会@最后一次调用的用户msg - 要发送的内容autoEscape - 消息内容是否作为纯文本发送 ( 即不解析 CQ 码 ) , 只在 message 字段是字符串时有效ActionData of MsgId