RoomSyncUnreadNotifications

@JsonClass(generateAdapter = true)
data class RoomSyncUnreadNotifications(    @Json(name = "events") val events: List<Event>? = null,     @Json(name = "notification_count") val notificationCount: Int? = null,     @Json(name = "highlight_count") val highlightCount: Int? = null)

MXRoomSyncUnreadNotifications represents the unread counts for a room.

Constructors

Link copied to clipboard
fun RoomSyncUnreadNotifications(    @Json(name = "events") events: List<Event>? = null,     @Json(name = "notification_count") notificationCount: Int? = null,     @Json(name = "highlight_count") highlightCount: Int? = null)

Properties

Link copied to clipboard
val events: List<Event>? = null

List of account data events (array of Event).

Link copied to clipboard
val highlightCount: Int? = null

The number of highlighted unread messages (subset of notifications).

Link copied to clipboard
val notificationCount: Int? = null

The number of unread messages that match the push notification rules.