docs: add design spec for unified sticker command

Co-Authored-By: Claude Opus 4.7 <[email protected]>
This commit is contained in:
Fd
2026-07-15 11:09:52 +07:00
co-authored by Claude Opus 4.7
parent e783284881
commit c37369a30b
@@ -0,0 +1,16 @@
# Unified Sticker Maker Design
## 1. Boot Exif
Generates temp/default.exif on boot using STICKER_NAME and STICKER_PUBLISHER environment variables if missing.
## 2. Parameter Parsing
- Empty: uses default.exif
- 'name': Custom exif with given name
- 'name|publisher': Custom exif with parsed name and publisher.
## 3. Media Capabilities
Detects Images, Video, and existing Stickers via Message or QuotedMessage. Converts with webpmux and uploads.
## 4. Cleanup
Custom exifs are deleted on action deferred. Default exif persists.