Skip to main content

Conversations

Create, retrieve, delete, and restore conversation threads

๐Ÿ“„๏ธ Mark conversation as unread

Marks a conversation the current user has read as unread again (Better Messages 3.2). The `unread_count` of the user for it becomes `-1`: the conversation shows a dot in the conversations list and is listed by the unread filter, while no unread total counts it (`get_user_unread_count()`, the conversations count, the totals of the realtime server and the mobile app badge). The mark ends when the user opens the conversation (`messages_mark_thread_read()`, `/openThreads`, `/markAllRead`) or when a new message arrives, which counts from 0. A deleted message keeps it. Nobody is notified.