ConversationRepo.SetRead Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

SetRead(int, int, DateTime?)

Sets a value indicating when the Conversation was read.

public static void SetRead(int conversationId, int userId, DateTime? readAt)

Parameters

conversationId
int

The id of the conversation.

userId
int

The id of user.

readAt
System.DateTime?

The value to set. Set to null to mark the entire conversation as unread.