Conversation
data class Conversation(val id: String, val userUuid: String, val userName: String, val userAddress: String?, val lastMessage: String?, val lastMessageTime: Long, val unreadCount: Int = 0, val isOnline: Boolean = false)
Represents a conversation (chat thread) with another user.
Each conversation tracks the other user's info, the last message, unread count, and online status.
Constructors
Properties
Link copied to clipboard
The text of the last message in the conversation (nullable).
Link copied to clipboard
Timestamp of when the last message was sent.
Link copied to clipboard
The number of unread messages in this conversation (default 0).
Link copied to clipboard
The IP address of the other user (nullable).