web.whatsapp.com
WhatsApp — List a chat's media, documents or links
Input
name requiredExact chat/contact/group name whose gallery to read (the `name` field from get_inbox).
tab optionalWhich view of the gallery to read — these are the three tabs WhatsApp itself offers. One call reads one tab; loop if you need all three.
Default: "media"count optionalMaximum entries to return, scrolling the gallery to load older ones.
Default: 50Output
tab requiredWhich tab was read.
chat requiredThe chat whose gallery was read, confirmed from the conversation header.
count requiredHow many entries were returned.
items requiredThe gallery entries, newest first. Empty when the tab has nothing in it, which is a real answer.
sectionCount optionalThe combined media + docs + links total WhatsApp prints on the chat-info section, captured before the gallery opened. Compare it against `count` to tell a genuinely empty tab from one that failed to load.
