/// <summary> /// Endpoint to retrieve the unread conversation count by conversation state. /// </summary> /// <returns>An object with the int properties: highlighted, notifications, archived, new, inprogress, and mod.</returns> public ModmailUnreadCount GetUnreadCount() { UnreadCount = Validate(Dispatch.Modmail.UnreadCount()); UnreadCountLastUpdated = DateTime.Now; return(UnreadCount); }
public void UnreadCount() { ModmailUnreadCount unreadCount = reddit.Models.Modmail.UnreadCount(); Assert.IsNotNull(unreadCount); }