mirai-core / net.mamoe.mirai.event.events / GroupAllowConfessTalkEvent

GroupAllowConfessTalkEvent

data class GroupAllowConfessTalkEvent : GroupSettingChangeEvent<Boolean>, Packet

群 "坦白说" 功能状态改变. 此事件广播前修改就已经完成.

Constructors

<init>

群 "坦白说" 功能状态改变. 此事件广播前修改就已经完成.

GroupAllowConfessTalkEvent(origin: Boolean, new: Boolean, group: Group, isByBot: Boolean)

Properties

group

val group: Group

isByBot

val isByBot: Boolean

new

val new: Boolean

origin

val origin: Boolean

Extension Functions

broadcast

广播一个事件的唯一途径.

suspend fun <E : Event> E.broadcast(): E