This commit is contained in:
linyuchen committed 2024-04-15 00:09:08 +08:00
1 parent b2061347a5
commit 14e6c6d9a6
218 files changed
+8465 -5

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import SendMsg from '../msg/SendMsg';
import { ActionName, BaseCheckResult } from '../types';
import { OB11PostSendMsg } from '../../types';
class SendGroupMsg extends SendMsg {
actionName = ActionName.SendGroupMsg;
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
delete payload.user_id;
payload.message_type = 'group';
return super.check(payload);
}
}
export default SendGroupMsg;