weixin-ts / bot/src / GetUploadUrlReq
Interface: GetUploadUrlReq
Defined in: bot/src/types.ts:221
getUploadUrl request payload
Properties
aeskey?
optionalaeskey?:string
Defined in: bot/src/types.ts:241
AES encryption key (hex)
filekey?
optionalfilekey?:string
Defined in: bot/src/types.ts:222
filesize?
optionalfilesize?:number
Defined in: bot/src/types.ts:231
Ciphertext file size (AES-128-ECB encrypted)
media_type?
optionalmedia_type?:UploadMediaType
Defined in: bot/src/types.ts:224
Media type, see UploadMediaType
no_need_thumb?
optionalno_need_thumb?:boolean
Defined in: bot/src/types.ts:239
Skip thumbnail upload URL, defaults to false
rawfilemd5?
optionalrawfilemd5?:string
Defined in: bot/src/types.ts:229
Raw plaintext file MD5 hex string
rawsize?
optionalrawsize?:number
Defined in: bot/src/types.ts:227
Raw plaintext file size in bytes
thumb_filesize?
optionalthumb_filesize?:number
Defined in: bot/src/types.ts:237
Thumbnail ciphertext size (required for IMAGE/VIDEO)
thumb_rawfilemd5?
optionalthumb_rawfilemd5?:string
Defined in: bot/src/types.ts:235
Thumbnail plaintext MD5 (required for IMAGE/VIDEO)
thumb_rawsize?
optionalthumb_rawsize?:number
Defined in: bot/src/types.ts:233
Thumbnail plaintext size (required for IMAGE/VIDEO)
to_user_id?
optionalto_user_id?:string
Defined in: bot/src/types.ts:225