weixin-ts / bot/src / CDNMedia
Interface: CDNMedia
Defined in: bot/src/types.ts:69
CDN media reference; aes_key is base64-encoded bytes in JSON.
Properties
aes_key?
optionalaes_key?:string
Defined in: bot/src/types.ts:73
AES key, base64-encoded
encrypt_query_param?
optionalencrypt_query_param?:string
Defined in: bot/src/types.ts:71
Encrypted download parameter from CDN upload
encrypt_type?
optionalencrypt_type?:number
Defined in: bot/src/types.ts:75
Encryption type: 0 = encrypt fileid only, 1 = packed with thumbnail/mid info
full_url?
optionalfull_url?:string
Defined in: bot/src/types.ts:77
Full download URL (returned by server directly)