ConversationRepo.SetDelivered Method

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

SetDelivered(int, int, DateTime?)

Sets a value indicating when the last message in the conversation was delivered to the specified user.

public static void SetDelivered(int conversationId, int userId, DateTime? deliveredAt)

Parameters

conversationId
int

The id of the conversation.

userId
int

The id of user.

deliveredAt
System.DateTime?

The value to set. Set to null to clear the delivery status.