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?

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

userId
int?

The id of user.

Returns