Skip to content

Commit

Permalink
Merge pull request #132 from tiwarishrijan/patch-5
Browse files Browse the repository at this point in the history
Updated Media Upload
  • Loading branch information
sigalor committed Oct 6, 2018
2 parents 5a1c770 + 6110f58 commit 12f23d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Unfortunately, these binary ones cannot be looked at using the Chrome developer
- `filetype` can be one of `image`, `audio`, `document` or `video`
9. Create a multipart-form with the following fields:
- fieldname: `hash`: `fileEncSha256B64`
- fieldname: `file`, filename: `blob`: `enc`
- fieldname: `file`, filename: `blob`: `enc+mac`
10. Do a POST request to the url with query string `?f=j` and the correct `content-type` and the multipart-form, WhatsApp will respond with the download url for the file.
11. All relevant information to send the file are now generated, just build the proto and send it.

Expand Down

0 comments on commit 12f23d1

Please sign in to comment.