ConversationService.SetDelivered Method

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

SetDelivered(int, DateTime?, int?)

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

public static Conversation SetDelivered(int id, DateTime? deliveredAt, int? userId = default(int? ))

Parameters

id
int

The id of the conversation.

deliveredAt
System.DateTime?

Time when message was delivered to user, or null to clear delivery status for the conversation.

userId
int?

The id of user.

Returns

Conversation

Returns the updated conversation.