lastSeen data.{
"id": "1234567890@c.us",
"presences": [
{
"participant": "1234567890@c.us",
"lastSeen": null,
"lastKnownPresence": "offline"
}
]
}| Field | Type | Example Value | Description |
|---|---|---|---|
| id | string | "1234567890@c.us" | WhatsApp ID of the chat/contact. |
| presences | array | [ {...} ] | List of participants with presence data. |
| participant | string | "1234567890@c.us" | WhatsApp ID of the participant. |
| lastSeen | number | null | 1722170400 or null |
| lastKnownPresence | string | "online", "offline" | Current or last known presence state. |
lastSeen Timestamp{
"id": "9876543210@c.us",
"presences": [
{
"participant": "9876543210@c.us",
"lastSeen": 1722170400,
"lastKnownPresence": "online"
}
]
}🕒 lastSeenis returned as a Unix epoch timestamp. Convert it to your preferred date/time format.
null."offline" when hidden.