markThreadUnread

fun markThreadUnread(threadId: String): Call<Unit>

Marks a given thread in the channel as unread.

Parameters

threadId

Id of the thread to mark as unread.


fun markThreadUnread(threadId: String, messageId: String): Call<Unit>

Deprecated

Marking a thread as unread from a given message is currently not supported. Passing messageId has no effect and the whole thread is marked as unread.Use markThreadUnread(channelType, channelId, threadId) instead.

Marks a given thread in the channel starting from the given message as unread.

Parameters

messageId

Id of the message from where the thread should be marked as unread.

threadId

Id of the thread to mark as unread.