类 MiraiGroupAllowAnonymousChatEvent
java.lang.Object
me.dreamvoid.miraimc.velocity.event.group.setting.AbstractGroupSettingChangeEvent
me.dreamvoid.miraimc.velocity.event.group.setting.MiraiGroupAllowAnonymousChatEvent
(Velocity) 群 - 群设置 - 群设置改变 - 匿名聊天状态改变
-
构造器概要
构造器说明MiraiGroupAllowAnonymousChatEvent
(net.mamoe.mirai.event.events.GroupAllowAnonymousChatEvent event) -
方法概要
修饰符和类型方法说明long
获取群号boolean
获取群当前是否允许匿名聊天boolean
获取群之前是否允许匿名聊天从类继承的方法 me.dreamvoid.miraimc.velocity.event.group.setting.AbstractGroupSettingChangeEvent
getBotID, getGroup, getHashCode, toString
-
构造器详细资料
-
MiraiGroupAllowAnonymousChatEvent
public MiraiGroupAllowAnonymousChatEvent(net.mamoe.mirai.event.events.GroupAllowAnonymousChatEvent event)
-
-
方法详细资料
-
getGroupID
public long getGroupID()获取群号- 覆盖:
getGroupID
在类中AbstractGroupSettingChangeEvent
- 返回:
- 群号
-
isAllowAnonymousChat
public boolean isAllowAnonymousChat()获取群当前是否允许匿名聊天- 返回:
- 是否允许匿名聊天
-
isAllowAnonymousChatBefore
public boolean isAllowAnonymousChatBefore()获取群之前是否允许匿名聊天- 返回:
- 是否允许匿名聊天
-