TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/wppconnect-team/wa-js/llms.txt
Use this file to discover all available pages before exploring further.
WPP.status module lets you interact with WhatsApp’s Status (Stories) feature from WA-JS. You can post new text, image, and video statuses to status@broadcast, mark a contact’s status as seen, fetch your own status feed or a contact’s feed, remove statuses you have posted, and control which contacts can view your stories. Status delivery is handled internally by routing messages through WhatsApp’s status@broadcast channel using the same encrypted transport as regular messages.
Posting statuses
sendTextStatus
Post a text status story with an optional background colour and font style.
The text to display on the status card. Supports basic WhatsApp markdown formatting.
Promise<SendMessageReturn> — { id, ack, sendMsgResult }
sendImageStatus
Post an image as a status story. Accepts the same content formats as WPP.chat.sendFileMessage.
Image data as a base64 data URI (
data:image/<type>;base64,<data>), a publicly accessible URL with CORS headers, a Blob, or a File object.Promise<SendMessageReturn>
sendVideoStatus
Post a video as a status story.
Video data as a base64 data URI, a public URL, a
Blob, or a File object.Promise<SendMessageReturn>
Reading statuses
get
Retrieve the StatusV3Model for a specific contact from the local store. Returns undefined if the contact’s statuses have not been loaded into memory yet.
The JID of the contact whose status feed you want to retrieve.
StatusV3Model | undefined
getMyStatus
Fetch your own status feed, resolving from the server if it is not already in the local store.
Promise<StatusV3Model>
sendReadStatus
Mark a specific status message as seen on behalf of the current user.
The JID of the contact who posted the status.
The full ID of the individual status message to mark as seen.
Promise<any> — returns the serialized status entry, or an empty array if the status was not found.
The status ID format is
false_status@broadcast_<msgId>_<contactJid>, which you can obtain from the msgs collection of a StatusV3Model.Managing your statuses
remove
Delete a status you have previously posted. Only works on statuses posted by the current user.
The full message ID of the status to remove.
Promise<boolean> — resolves true on success. Throws a WPPError with code error_on_remove_status if the revocation fails.
updateParticipants
Set the list of contacts that can see your status stories. Pass null or an empty array to reset to your full contacts list.
An array of contact JIDs that can see your status, or
null / an empty array to use all contacts in your address book. Your own JID is excluded automatically and re-added only if WPP.config.sendStatusToDevice is enabled.Promise<void>
Usage patterns
Post a status and verify delivery
Post a status and verify delivery
Iterate all of your own statuses
Iterate all of your own statuses
Mark all statuses from a contact as seen
Mark all statuses from a contact as seen
Post an image status from a URL
Post an image status from a URL