ConversationRepo.SetArchived Method

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

SetArchived(int, int, DateTime?)

Sets a value indicating if the Conversation is archived.

public static void SetArchived(int conversationId, int userId, DateTime? archivedAt)

Parameters

conversationId
int

The id of the conversation.

userId
int

The id of user.

archivedAt
System.DateTime?

The value to set. Set to null to un-archive.