Skip to content

weixin-ts / cdn/src / CDNMedia

Interface: CDNMedia

Defined in: cdn/src/types.ts:9

CDN media reference; aes_key is base64-encoded bytes in JSON.

Properties

aes_key?

optional aes_key?: string

Defined in: cdn/src/types.ts:13

AES key, base64-encoded


encrypt_query_param?

optional encrypt_query_param?: string

Defined in: cdn/src/types.ts:11

Encrypted download parameter from CDN upload


encrypt_type?

optional encrypt_type?: number

Defined in: cdn/src/types.ts:15

Encryption type: 0 = encrypt fileid only, 1 = packed with thumbnail/mid info


full_url?

optional full_url?: string

Defined in: cdn/src/types.ts:17

Full download URL (returned by server directly)

Released under the MIT License.