ConversationService.SetPinned Method

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

SetPinned(int, DateTime?, int?, bool)

Unpin the specified conversation.

public static Conversation SetPinned(int id, DateTime? pinnedAt, int? userId = default(int? ), bool sudo = false)

Parameters

id
int

Id of the Conversation to unpin.

pinnedAt
System.DateTime?

Time when conversation was pinned, or null tu unpin conversation.

userId
int?

Id of the User that unpinned, default is null which indicates the current user.

sudo
bool

true to perform action as super user, otherwise false.

Returns