ini fungsinya: downloadmediawithpath(directpath, encfilehash, filehash, mediakey,…
Private research annotation
Sign in to add a private research label or note.
- User
ini fungsinya: download_media_with_path(direct_path, enc_file_hash, file_hash, media_key, file_length, media_type, mms_type)[source] Downloads media with the given parameters and path. The media is downloaded from the path specified.
PARAMETERS: direct_path (str) – The direct path to the media to be downloaded.
enc_file_hash (bytes) – The encrypted hash of the file.
file_hash (bytes) – The hash of the file.
media_key (bytes) – The key of the media to be downloaded.
file_length (int) – The length of the file to be downloaded.
media_type (MediaType) – The type of the media to be downloaded.
mms_type (str) – The type of the MMS to be downloaded.
ini datanya: imageMessage { URL: "https://mmg.whatsapp.net/o1/v/t62.7118-24/f1/m233/up-oil-image-08134751-82c3-4e16-9a21-0384da914c64?ccb=9-4&oh=01_Q5AaIC8ulLVDG317moQHj0SM1UnAITSYDY0Qh9f0VQPRD80k&oe=6710E948&_nc_sid=000000&mms3=true" mimetype: "image/png" caption: "Test" fileSHA256: "\213\370\214a\036\252\245\313\257\003\315\246\357+\321I\364Q6\340\364\365\316\034 w]\301j\n00" fileLength: 705670 height: 600 width: 800 mediaKey: "%\270\r\017\341q\334\205["\340O\274\243B\262L\210H\306~\271^\244\263\253P\211Q(\210k" fileEncSHA256: "\336\025\350\374\271T=\036kn\223\306\351)V\303\213\311\233}\025\300\306\'\275v@ |\000\343" directPath: "/o1/v/t62.7118-24/f1/m233/up-oil-image-08134751-82c3-4e16-9a21-0384da914c64?ccb=9-4&oh=01_Q5AaIC8ulLVDG317moQHj0SM1UnAITSYDY0Qh9f0VQPRD80k&oe=6710E948&_nc_sid=000000" thumbnailDirectPath: "/o1/v/t62.7118-24/f1/m233/up-oil-image-08134751-82c3-4e16-9a21-0384da914c64?ccb=9-4&oh=01_Q5AaIC8ulLVDG317moQHj0SM1UnAITSYDY0Qh9f0VQPRD80k&oe=6710E948&_nc_sid=000000" thumbnailSHA256: "\213\370\214a\036\252\245\313\257\003\315\246\357+\321I\364Q6\340\364\365\316\034 w]\301j\n00" thumbnailEncSHA256: "\336\025\350\374\271T=\036kn\223\306\351)V\303\213\311\233}\025\300\306'\275v@ |\000\343" }
gimana cara make nya di python
- Assistant