Skip to content

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?

optional aes_key?: string

Defined in: bot/src/types.ts:73

AES key, base64-encoded


encrypt_query_param?

optional encrypt_query_param?: string

Defined in: bot/src/types.ts:71

Encrypted download parameter from CDN upload


encrypt_type?

optional encrypt_type?: number

Defined in: bot/src/types.ts:75

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


full_url?

optional full_url?: string

Defined in: bot/src/types.ts:77

Full download URL (returned by server directly)

Released under the MIT License.