publ betaReference (MCP guide)
Open publ console

publ Reference

messenger_read_marker_apply

Mark all messages of a direct room you own as read in the Messenger app (pApp D00003), as the Mark All Read button does when the read method is explicit [str_9053]. Requires roomUuid, confirmation MARK_DIRECT_ROOM_READ. The unread count disappears; members see the read indicator only when the settings show it [str_9054, str_9061]. No reply is sent. A lost receipt stays pending and is never resent; task_resume only observes, and prepared work needs the identical apply. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

Inputs

Field Required here Contract
target Yes object
target.roomUuid Yes string; pattern ^[A-Za-z0-9_-]{1,200}$
change Yes object
change.confirmation Yes MARK_DIRECT_ROOM_READ
confirmToken No string; pattern ^ct[a-f\d]{32}$; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute.