Class MiraiGroupAllowAnonymousChatEvent
java.lang.Object
me.dreamvoid.miraimc.velocity.event.group.setting.MiraiGroupAllowAnonymousChatEvent
(Velocity) 群 - 群设置 - 群设置改变 - 匿名聊天状态改变
-
Constructor Summary
ConstructorsConstructorDescriptionMiraiGroupAllowAnonymousChatEvent(net.mamoe.mirai.event.events.GroupAllowAnonymousChatEvent event) -
Method Summary
-
Constructor Details
-
MiraiGroupAllowAnonymousChatEvent
public MiraiGroupAllowAnonymousChatEvent(net.mamoe.mirai.event.events.GroupAllowAnonymousChatEvent event)
-
-
Method Details
-
getGroupID
public long getGroupID()获取群号- Returns:
- 群号
-
isAllowAnonymousChat
public boolean isAllowAnonymousChat()获取群当前是否允许匿名聊天- Returns:
- 是否允许匿名聊天
-
isAllowAnonymousChatBefore
public boolean isAllowAnonymousChatBefore()获取群之前是否允许匿名聊天- Returns:
- 是否允许匿名聊天
-
getBotID
public long getBotID()获取机器人账号- Returns:
- 机器人账号
-
getHashCode
public int getHashCode()获取哈希值- Returns:
- 哈希值
-
toString
获取原始事件内容
[!] 不推荐使用 -
getGroup
获取群实例- Returns:
- MiraiGroup 实例
-