UnreadCount
A struct containing information about unread counts of channels and messages.
public struct UnreadCount: Decodable, Equatable
Inheritance
Decodable
, Equatable
Initializers
init(from:)
public init(from decoder: Decoder) throws
Properties
noUnread
The default value representing no unread channels and messages.
public static let noUnread
channels
The number of channels with unread messages.
public let channels: Int
messages
The number of unread messages across all channels.
public let messages: Int