ModeratorNotificationData
public struct ModeratorNotificationData : Content
Notification counts that are only relevant for Moderators (and TwitarrTeam).
-
The total number of open user reports. Does not count in-process reports (reports being ‘handled’ by a mod already). This value counts multiple reports on the same piece of content as separate reports.
Declaration
Swift
var openReportCount: Int
-
The number of Seamails to @moderator (more precisely, ones where @moderator is a participant) that have new messages. This value is very similar to
newSeamailMessageCount
, but for any moderator it gives the number of new seamails for @moderator.Declaration
Swift
var newModeratorSeamailMessageCount: Int
-
The number of Seamails to @TwitarrTeam. Nil if user isn’t a member of TwitarrTeam. This is in the Moderator struct because I didn’t want to make another sub-struct for TwitarrTeam, just to hold two values.
Declaration
Swift
var newTTSeamailMessageCount: Int?
-
Number of forum post @mentions the user has not read for @moderator.
Declaration
Swift
var newModeratorForumMentionCount: Int
-
Number of forum post @mentions the user has not read for @twitarrteam. Nil if the user isn’t a member of TwitarrTeam. This is in the Moderator struct because I didn’t want to make another sub-struct for TwitarrTeam, just to hold two values.
Declaration
Swift
var newTTForumMentionCount: Int