ConversationService.SetArchived Method

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

SetArchived(int, DateTime?, int?)

Sets a value indicating if the Conversation is archived or not.

public static void SetArchived(int id, DateTime? archivedAt, int? userId = default(int? ))

Parameters

id
int

The id of the conversation.

archivedAt
System.DateTime?

Time when conversation was archived, or null to unarchive.

userId
int?

The id of user.