ConversationService.SetRead Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

SetRead(int, DateTime?, int?)

Sets a value indicating if and when the Conversation was read.

public static Conversation SetRead(int id, DateTime? readAt, int? userId = default(int? ))

Parameters

id
int

The id of the conversation.

readAt
System.DateTime?

Time when conversation was read, or null to mark conversation as unread.

userId
int?

The id of user.

Returns