See the stories people posted
get_storiesRetrieve WhatsApp stories received by the linked account from the last 1-24 hours, newest first, with author, text or caption, time, and optional photo previews.
Instructions
The stories (status updates) the linked account has received in the last N hours, newest first, each with its author, its text or caption and its time. WhatsApp keeps a story for a day and so does wazap; nothing older is held. With include_previews the photos come as small images, and download_media works on a story's message_id like on any message. Stories never appear in chats, catch-ups or waits; this is the only place they show.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Look-back window in hours (1-24) | |
| account_id | No | Registry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account. | |
| include_previews | No | Attach a small JPEG of each photo, newest first, up to 12 per call, so you can see what was sent: the preview WhatsApp shipped when there is one, otherwise the photo is downloaded once and shrunk on the machine running wazap |