Mark inbox messages as read via API #368
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "api_set_read_status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A new 'setRead' method allows you to mark an inbox message as read via the API.
I've added this functionality to getInboxMessageByID.
I just tried setting read state to 1 via getInboxMessageById(id, 1); and it doesn't seem to work when I call getAllInboxMessages. I don't see the messages state changing from 0 to 1.
nevermind, I had to send boolean (true/false) in javascript, Not 1 or 0.