app.didpic.chat.markRead

Mark a conversation as read by the caller up to its most recent message.

Details · procedure
Kindprocedure
Authoritychat.didpic.app
Indexed

Procedure

procedure · POST

Input

application/json

conversationId

requiredstring

token

string

Caller's push token. When supplied and bound to the viewer, the response carries the post-update device badge.

Output

application/json

badge

integer

Device-wide unread sum (notifications + chat) across every DID bound to the supplied token.

  • minimum: 0

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Mark notifications as seen up to seenAt.

  • app.lovesky.chat.updateRead

    procedure not from the namespace authority

    Mark every message in a conversation as read by the caller.

  • Number of conversations with unread activity for the caller. Backs the Messages tab badge.

  • Marks a channel or thread read through the message a push notification announced, from the notification's Mark as read action. Takes no auth: the signed token from the push payload's readToken names the user, the channel and the message, and expires after seven days. Moves the user's read cursor forward, marks that channel's notifications through the message seen, and tells the user's sessions and push devices.

  • Sets conversations from a user as read to the latest message, with filters.