>Does Whatsapp expose these messages via an API?
Whatsapp has dark patterns that "guide" you to "archive" your chats on google drive.
Whatsapp has dark patterns that "guide" you to "archive" your chats on google drive.
I'm not saying it's impossible that Google just grants their own app an (IMO indefensible) exception to this. But the potential shitstorm would be massive, so I assume they probably use some other way, such as screen recording or accessibility features.