mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
16 lines
547 B
TypeScript
16 lines
547 B
TypeScript
import SendMsg from "../SendMsg";
|
|
import {OB11PostSendMsg} from "../../types";
|
|
import {ActionName} from "../types";
|
|
|
|
export class GoCQHTTPSendGroupForwardMsg extends SendMsg {
|
|
actionName = ActionName.GoCQHTTP_SendGroupForwardMsg;
|
|
|
|
protected async check(payload: OB11PostSendMsg) {
|
|
payload.message = this.convertMessage2List(payload.messages);
|
|
return super.check(payload);
|
|
}
|
|
}
|
|
|
|
export class GoCQHTTPSendPrivateForwardMsg extends GoCQHTTPSendGroupForwardMsg {
|
|
actionName = ActionName.GoCQHTTP_SendPrivateForwardMsg;
|
|
} |