public class GroupRecallEvent extends BotEvent
| 构造器和说明 |
|---|
GroupRecallEvent(Bot bot,
net.mamoe.mirai.contact.Member member,
int[] messageIds,
net.mamoe.mirai.contact.Member operator)
Constructs a GroupRecallEvent
|
| 限定符和类型 | 方法和说明 |
|---|---|
@NotNull net.mamoe.mirai.contact.Group |
getGroup()
Get the Group where the member recalls the message
|
@NotNull net.mamoe.mirai.contact.Member |
getMember() |
int[] |
getMessageIds() |
@NotNull net.mamoe.mirai.contact.Member |
getOperator() |
isPrevent, setPreventpublic GroupRecallEvent(Bot bot, net.mamoe.mirai.contact.Member member, int[] messageIds, net.mamoe.mirai.contact.Member operator)
bot - the botmember - the member who send the messagemessageIds - the message idsoperator - the member who recalls the message@NotNull public @NotNull net.mamoe.mirai.contact.Member getMember()
public int[] getMessageIds()
@NotNull public @NotNull net.mamoe.mirai.contact.Group getGroup()
@NotNull public @NotNull net.mamoe.mirai.contact.Member getOperator()
Copyright © 2022. All rights reserved.