NotificationService.GetBadge Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
GetBadge(int, bool, bool)
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
- user
Id - int
Id of user.
- conversations
- bool
true
to count unread conversations.
- notifications
- bool
true
to count unread notifications.
Returns
long