/chat/markread returns 200 but group “new messages” alerts don’t #148
flaviortlopes
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m using /chat/markread to clear new message alerts in group chats.
The API consistently returns 200 with “Message(s) marked as read)”, but some messages/counters in those groups remain unread.
Request:
POST http://{HOST}/chat/markread
accept: application/json
token: ******
Body:
{
"Id": [
"A5607838BE324164A656E69D8E5E8C2C"
],
"Chat": "120363137384959736@g.us",
"Sender": "189382875164922@lid"
}
Response:
[
{
"code": 200,
"data": { "Details": "Message(s) marked as read" },
"success": true
}
]
Environment:
Deployment: Docker (1 to wuzapi and other to db)
App image: asternic/wuzapi@sha256:08d9687da5e0f17bbf147d109f391ccbc16e0a0c16553513e0737571812c719e
DB: Postgres 16
Beta Was this translation helpful? Give feedback.
All reactions