markUnread

fun markUnread(channelType: String, channelId: String, messageId: String): Call<Unit>

Marks the specified channel as unread.

Parameters

channelType

Type of the channel.

channelId

Id of the channel.

messageId

Id of the message.


fun markUnread(channelType: String, channelId: String, timestamp: Date): Call<Unit>

Marks all messages in the channel as unread that were created after the specified timestamp.

Parameters

channelType

Type of the channel.

channelId

Id of the channel.

timestamp

The timestamp used to find the first message to mark as unread.