ContactUnread

data class ContactUnread(val name: String, val unreadCount: Int, val lastMessagePreview: String?, val lastMessageTime: Long?)(source)

Unread info for a single contact or channel.

Constructors

Link copied to clipboard
constructor(name: String, unreadCount: Int, lastMessagePreview: String?, lastMessageTime: Long?)

Properties

Link copied to clipboard

Preview of the last message text, or null if none.

Link copied to clipboard

Timestamp of the last message (milliseconds since epoch), or null if none.

Link copied to clipboard

Display name of the contact or channel.

Link copied to clipboard

Number of unread messages from this contact.