NapCatQQ
This commit is contained in:
1 parent
0ef3e38d70
commit
356aba762c
218 files changed
+8465
-5
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import SendMsg from './SendMsg';
|
||||
import { ActionName, BaseCheckResult } from '../types';
|
||||
import { OB11PostSendMsg } from '../../types';
|
||||
|
||||
class SendPrivateMsg extends SendMsg {
|
||||
actionName = ActionName.SendPrivateMsg;
|
||||
|
||||
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
|
||||
payload.message_type = 'private';
|
||||
return super.check(payload);
|
||||
}
|
||||
}
|
||||
|
||||
export default SendPrivateMsg;
|
||||
Reference in new issue
Block a user