light_mode dark_mode routine

Interface IGroupWholeUnbannedHandler code

命名空间
Another_Mirai_Native.Abstractions.Handlers
程序集
Another-Mirai-Native.Abstractions.dll

为处理群解除全员禁言事件的处理器。

public interface IGroupWholeUnbannedHandler

方法

OnGroupWholeUnbannedAsync(GroupWholeUnbannedContext, CancellationToken) code

在群解除全员禁言时异步执行操作。

Task<EventHandleResult> OnGroupWholeUnbannedAsync(GroupWholeUnbannedContext e, CancellationToken ct)

参数

e GroupWholeUnbannedContext

包含群解除全员禁言事件相关信息的事件参数对象。

ct CancellationToken

可用于发出退出操作取消信号的取消令牌。

返回值

Task<EventHandleResult>

事件的处理结果;Pass 不阻塞事件的继续传递;Block 将会阻塞事件的继续传递;