#1732·OpenWA

[Feature]: When getting chats, tell if message is image

Author: justinkruitCreated Sep 28, 2026Updated Sep 28, 2026
Labelsenhancement

Pre-flight

  • I searched existing issues and this isn't already requested

Problem / motivation

Right now when getting the chats list, and the last message is a photo, it has no indication for it. This results in not being able to display a proper message in the chats overview.

json
    {
        "id": "123456789123456@lid",
        "name": "John",
        "isGroup": false,
        "kind": "individual",
        "unreadCount": 3,
        "timestamp": 1790355095,
        "archived": false,
        "pinned": false,
        "muted": false
    },

Proposed solution

Preferably a new tag "hasMedia": true,, that way we can also show a media icon when a text message has been sent.

Alternatives considered

No response

Scope

  • I understand some features are limited by the underlying WhatsApp engine (e.g. interactive Buttons/List messages are not supported on whatsapp-web.js).