MessagesController.GetUnread Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

GetUnread(bool, QueryOptions)

Get the current user's unread conversations (conversations with unread messages).

public ScrollableList<Conversation> GetUnread(bool followed, QueryOptions opts)

Parameters

followed
bool

When false returns all conversations with unread messages, otherwise returns only followed conversations with unread messages.

opts
QueryOptions

Query options for paging, sorting etc.

Returns

Weavy.Web.Api.Models.ScrollableList

Returns the most recent unread conversations for the current user.