polymorfa/hypermeow ? reverse-engineered prompt
Reverse engineered prompt
Build me a production focused Go library for talking to WhatsApp, based on the same core ideas as whatsmeow but tuned for large deployments.
I want it to support normal chat messaging, groups, media, status updates, newsletters, business account features, and the newer typed message builders like lists, orders, address flows, and other rich payloads. It should handle login, pairing, sessions, receipts, retries, presence, contacts, and connection lifecycle cleanly, while being careful about memory use and database work so lots of concurrent sessions can run reliably.
Please make the library feel solid for real use, with good validation, safe handling of bad data, and support for PostgreSQL backed storage. Keep the public API easy to use from Go, and make sure it can be imported as a drop in replacement style package. If you need current protocol details or examples, look up the latest docs online and match the existing WhatsApp behavior as closely as possible.
Are you gonna build this?
make sure you review the code using coderabbit