UserNotificationAlertwordData
public struct UserNotificationAlertwordData : Content
Returns status about a single Alertword. Forum hits are counted; the twarrt counts stay at zero. Used inside UserNotificationData.
-
Will be one of the user’s current alert keywords.
Declaration
Swift
var alertword: String -
Retained so existing clients keep decoding the notification poll. The twarrt stream no longer produces new hits.
Declaration
Swift
var twarrtMentionCount: Int -
Retained so existing clients keep decoding the notification poll. The twarrt stream no longer produces new hits.
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)
View on GitHub