diff --git a/src/onebot11/action/go-cqhttp/DownloadFile.ts b/src/onebot11/action/go-cqhttp/DownloadFile.ts index d94a866..c157dfd 100644 --- a/src/onebot11/action/go-cqhttp/DownloadFile.ts +++ b/src/onebot11/action/go-cqhttp/DownloadFile.ts @@ -23,8 +23,8 @@ interface FileResponse { export class DownloadFile extends BaseAction { actionName = ActionName.GoCQHTTP_DownloadFile payloadSchema = Schema.object({ - url: String, - base64: String, + url: Schema.string(), + base64: Schema.string(), headers: Schema.union([String, Schema.array(String)]) })