send-message/forward-video
Description
- Forward Video message, it is necessary to download it via the CDN first and then upload the CDN's response to send it.
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | int | API ID |
userName | Yes | string | Receiver's wxid |
aeskey | Yes | string | AES key, returned by the CDN upload interface |
fileid | Yes | string | File ID, returned by the CDN upload interface |
filecrc | Yes | string | File CRC value, returned by the CDN upload interface |
rawtotalsize | Yes | string | Size of the source file, returned by the CDN upload interface |
videoseconds | Yes | string | Total video duration (in seconds), returned by the CDN upload interface |
rawfilemd5 | Yes | string | MD5 hash of the source file, returned by the CDN upload interface |
encryptfilemd5 | Yes | string | MD5 hash of the encrypted file, returned by the CDN upload interface |
rawthumbsize | Yes | string | Size of the thumbnail file, returned by the CDN upload interface |
thumbheight | Yes | string | Height of the thumbnail, returned by the CDN upload interface |
thumbwidth | Yes | string | Width of the thumbnail, returned by the CDN upload interface |
Request Example
{
"type": 10096,
"userName": "filehelper",
"aeskey": "1234567890abcdef1234567890abcdef",
"fileid": "30....",
"filecrc": "123456789",
"rawtotalsize": "777777",
"videoseconds": "150",
"rawfilemd5": "1234567890abcdef1234567890abcdef",
"encryptfilemd5": "abcdef1234567890abcdef1234567890",
"rawthumbsize": "7777"
}
Return Example
{
"data": {
"status": 0,
"desc": "",
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |