Interface IGroupMemberUnbannedHandler code
- 程序集
- Another-Mirai-Native.Abstractions.dll
为处理群成员被解除禁言事件的处理器。
public interface IGroupMemberUnbannedHandler
方法
OnGroupMemberUnbannedAsync(GroupMemberUnbannedContext, CancellationToken) code
在群成员被解除禁言时异步执行操作。
Task<EventHandleResult> OnGroupMemberUnbannedAsync(GroupMemberUnbannedContext e, CancellationToken ct)
参数
eGroupMemberUnbannedContext包含群成员被解除禁言事件相关信息的事件参数对象。
ctCancellationToken可用于发出退出操作取消信号的取消令牌。