chore: inform that xMsg in buddy/recall is NOT the message that is recalled

This commit is contained in:
Wesley F. Young 2024-08-28 20:00:00 +08:00
parent 2790f5ff63
commit 3a1c428917

View File

@ -29,7 +29,8 @@ type NapCatInternalEvents = {
'buddy/poke': (initiatorUin: string, targetUin: string, displayMsg: string, 'buddy/poke': (initiatorUin: string, targetUin: string, displayMsg: string,
xMsg: RawMessage) => PromiseLike<void>; xMsg: RawMessage) => PromiseLike<void>;
'buddy/recall': (uin: string, messageId: string, msg: RawMessage) => PromiseLike<void>; 'buddy/recall': (uin: string, messageId: string,
xMsg: RawMessage /* This is not the message that is recalled */) => PromiseLike<void>;
'buddy/input-status': (data: Parameters<NodeIKernelMsgListener['onInputStatusPush']>[0]) => PromiseLike<void>; 'buddy/input-status': (data: Parameters<NodeIKernelMsgListener['onInputStatusPush']>[0]) => PromiseLike<void>;