Add profile picture upload support with image normalization, docs, changelog, and regression coverage. Co-authored-by: gado-ships-it <175593376+gado-ships-it@users.noreply.github.com>
708 B
708 B
profile
Read when: setting the profile picture for the authenticated WhatsApp account.
wacli profile manages account-level WhatsApp profile settings for the linked account.
Command
wacli profile set-picture <image>
Notes
set-picturerequires authentication, a live connection, and writable mode.- Input can be JPEG or PNG.
- PNG transparency is flattened onto a white background before upload.
- Images larger than 640 px on either side are resized before upload.
- The command prints the picture ID returned by WhatsApp; use
--jsonfor machine-readable output.
Examples
wacli profile set-picture ./avatar.jpg
wacli profile set-picture ./avatar.png --json