Skip to content

希望ShortVideo也能像Image和Voice一样支持文件或者url传递,而不是依赖于videoId #766

@Rurityan

Description

@Rurityan

因为众所周知的事情,现在mirai需要Overflow 的支持,而Overflow 似乎不支持类似于voiceIdimageIdvideoId这样的参数。
好在ImageVoice支持base64或者url,问题得以解决,但是似乎ShortVideo不行?

#754 (comment)

"type": "Image",
"imageId": "{01E9451B-70ED-EAE3-B37C-101F1EEBF5B5}.mirai",  //群图片格式
//"imageId": "/f8f1ab55-bf8e-4236-b55e-955848d7069f"      //好友图片格式
"url": "https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"path": null,
"base64": null,
"width": 0,
"height": 0,
"size": 0,
"imageType": "UNKNOWN",
"isEmoji": false


"type": "Voice",
"voiceId": "23C477720A37FEB6A9EE4BCCF654014F.amr",
"url": "https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"path": null,
"base64": null,
"length": 1024


"type": "ShortVideo",
"videoId": "若未填写则提示输入不合法,若随便填写则提示找不到对象",
"fileMd5": "",
"fileSize": 0,
"fileFormat": "",
"filename": "",
"videoUrl": "",
"thumbnailUrl": null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions