markAsReadByUser

fun Thread.markAsReadByUser(threadInfo: ThreadInfo, user: User, createdAt: Date): Thread

Marks the given thread as read by the given user.

Parameters

threadInfo

The ThreadInfo holding info about the Thread which should be marked as read.

user

The User for which the thread should be marked as read.

createdAt

The Date of the 'mark read' event.