import SendMsg from "../msg/SendMsg"; import {ActionName, BaseCheckResult} from "../types"; import {OB11PostSendMsg} from "../../types"; import {log} from "../../../common/utils/log"; class SendGroupMsg extends SendMsg { actionName = ActionName.SendGroupMsg protected async check(payload: OB11PostSendMsg): Promise { delete payload.user_id; payload.message_type = "group" return super.check(payload); } } export default SendGroupMsg