I am using The OK tech web services to make a client application for moodle, well I am implementing a "messages section" where participants enrolled in the same course can exchange messages.
I used the send message operation that allow a user to send an instant message, and get_messages that allow to get the unread messages, and get_message_history that returns tha already read messages.
Everything is great so far . My problem is , I don't know how to change the state of the message, from "unread" to "read". Any idea please ?