NotificationService.GetBadge Method

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

GetBadge(Int32, Boolean, Boolean)

Gets the number to display on the badge for the specified user.

public static long GetBadge(int userId, bool conversations = true, bool notifications = true)

Parameters

userId
System.Int32
conversations
System.Boolean
notifications
System.Boolean

Returns

System.Int64