feat: Qzone支持上传图片(发说说、评论附图) (#152)
* feat(core,onebot,protocol): support publish shuoshuo and comment with image * Fix: Accidentally changed notes
This commit is contained in:
1 parent
547640bbfd
commit
62eb8fd763
9 files changed
+658
-28
No files matched your search
@@ -600,7 +600,7 @@
|
||||
{
|
||||
"name": "comment_qzone",
|
||||
"aliases": [],
|
||||
"summary": "评论一条说说(QQ 空间)",
|
||||
"summary": "评论一条说说(QQ 空间,支持纯文字或带图;传 images 自动上传)",
|
||||
"readOnly": false,
|
||||
"params": [
|
||||
{
|
||||
@@ -632,6 +632,19 @@
|
||||
"minimum": 1
|
||||
},
|
||||
"desc": "说说所属 QQ 号,省略则为机器人自己"
|
||||
},
|
||||
{
|
||||
"name": "images",
|
||||
"type": "string[]",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"desc": "图片数组(可选),支持 file:// http:// base64://;自动上传"
|
||||
}
|
||||
],
|
||||
"invariants": [],
|
||||
@@ -652,6 +665,14 @@
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "说说所属 QQ 号,省略则为机器人自己"
|
||||
},
|
||||
"images": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": "图片数组(可选),支持 file:// http:// base64://;自动上传"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6721,7 +6742,7 @@
|
||||
{
|
||||
"name": "send_qzone_msg",
|
||||
"aliases": [],
|
||||
"summary": "发表一条纯文字说说(QQ 空间)",
|
||||
"summary": "发表说说(QQ 空间,支持纯文字或带图;传 images 自动上传)",
|
||||
"readOnly": false,
|
||||
"params": [
|
||||
{
|
||||
@@ -6733,6 +6754,19 @@
|
||||
"minLength": 1
|
||||
},
|
||||
"desc": "说说正文"
|
||||
},
|
||||
{
|
||||
"name": "images",
|
||||
"type": "string[]",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"desc": "图片数组(可选),支持 file:// http:// base64://;自动上传"
|
||||
}
|
||||
],
|
||||
"invariants": [],
|
||||
@@ -6743,6 +6777,14 @@
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"description": "说说正文"
|
||||
},
|
||||
"images": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": "图片数组(可选),支持 file:// http:// base64://;自动上传"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in new issue
Block a user