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