Table of Contents

私聊消息事件

预声明变量

readonly KookSocketClient _client = null;

私聊消息更新

_client.DirectMessageUpdated += (before, after, author, channel) => Task.CompletedTask;

私聊消息被删除

_client.DirectMessageDeleted += (message, author, channel) => Task.CompletedTask;

私聊内用户添加 reaction

_client.DirectReactionAdded += (message, channel, user, reaction) => Task.CompletedTask;

私聊内用户取消 reaction

_client.DirectReactionRemoved += (message, channel, user, reaction) => Task.CompletedTask;