]> git.giacomolli.uk - onechat/commit
Send stored images to WhatsApp chats
authorAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 19:11:27 +0000 (16:11 -0300)
committerAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 19:11:27 +0000 (16:11 -0300)
commitb1be0ee8530df5db8973bfe355f2f6d3149383a0
tree247a4592930f90866ade03ef40d47ff0163eb70b
parent3cdbd017da9ae7a7045f4272f16d4b262fd01c79
Send stored images to WhatsApp chats

WhatsApp sends accept a stored image and use the text as its caption.
The send record includes the image name and precedes the upload, so a
repeated ID cannot upload or send again. Media errors keep safe causes
without URLs or keys.

The root asks for consent as for text sends, and image markers in tell
give children the shared pixels. The user can also ask to see a received
Telegram photo without a separate import.
README.rst
image_show_test.go
prompt.go
prompt_test.go
tools.go
whatsapp.go
whatsapp_fake_helper_test.go
whatsapp_image.go
whatsapp_send.go
whatsapp_send_test.go
whatsapp_state.go