UserNotificationAlertwordData
public struct UserNotificationAlertwordData : Content
Returns status about a single Alertword, for either Twarrts of ForumPost hits on that word. Used inside UserNotificationData.
-
Will be one of the user’s current alert keywords.
Declaration
Swift
var alertword: String
-
The total number of twarrts that include this word since the first time anyone added this alertword. We record alert word hits in a single global list that unions all users’ alert word lists. A search for this alertword may return more hits than this number indicates.
Declaration
Swift
var twarrtMentionCount: Int
-
The number of twarrts that include this alertword that the user has not yet seen. Calls to view twarrts with a “?search=” parameter that matches the alertword will mark all twarrts containing this alertword as viewed.
Declaration
Swift
var newTwarrtMentionCount: Int
-
The total number of forum posts that include this word since the first time anyone added this alertword.
Declaration
Swift
var forumMentionCount: Int
-
The number of forum posts that include this alertword that the user has not yet seen.
Declaration
Swift
var newForumMentionCount: Int
-
Declaration
Swift
init(_ word: String)