mirai-core / net.mamoe.mirai.contact / GroupSettings

GroupSettings

@SinceMirai("0.30.0") interface GroupSettings

群设置

See Also

Group.settings

Properties

entranceAnnouncement

入群公告, 没有时为空字符串.

abstract var entranceAnnouncement: String

isAllowMemberInvite

允许群员邀请好友入群的状态. true 为允许

abstract var isAllowMemberInvite: Boolean

isAnonymousChatEnabled

匿名聊天

abstract val isAnonymousChatEnabled: Boolean

isAutoApproveEnabled

自动加群审批

abstract val isAutoApproveEnabled: Boolean

isConfessTalkEnabled

坦白说状态. true 为允许.

abstract var isConfessTalkEnabled: Boolean

isMuteAll

全体禁言状态. true 为开启.

abstract var isMuteAll: Boolean