weixin-ts / cdn/src / UploadedMedia
Interface: UploadedMedia
Defined in: cdn/src/upload.ts:13
Result of a successful media upload
Properties
aesKeyHex
aesKeyHex:
string
Defined in: cdn/src/upload.ts:19
AES key used for encryption (hex-encoded)
downloadParam
downloadParam:
string
Defined in: cdn/src/upload.ts:17
CDN download parameter (encrypt_query_param for message construction)
filekey
filekey:
string
Defined in: cdn/src/upload.ts:15
Unique file key for this upload
fileSize
fileSize:
number
Defined in: cdn/src/upload.ts:21
Plaintext file size in bytes
fileSizeCiphertext
fileSizeCiphertext:
number
Defined in: cdn/src/upload.ts:23
Ciphertext file size in bytes (after AES-ECB encryption)