ChatEntity

data class ChatEntity(var id: String = "", var lastMessage: MessageEntity? = null, var timestamp: Any = ServerValue.TIMESTAMP, var type: Int = ChatType.PRIVATE.child, var image: String = "", var name: String = "", var participants: Map<String, ChatParticipantEntity> = mutableMapOf())

Constructors

Link copied to clipboard
constructor(id: String = "", lastMessage: MessageEntity? = null, timestamp: Any = ServerValue.TIMESTAMP, type: Int = ChatType.PRIVATE.child, image: String = "", name: String = "", participants: Map<String, ChatParticipantEntity> = mutableMapOf())

Properties

Link copied to clipboard
var id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var type: Int