ChatModel

class ChatModel(var type: ChatType, var id: String = "", var lastMessage: MessageModel? = null, var timestamp: FirebaseDate = FirebaseDate(), var participants: MutableList<ChatParticipantModel> = mutableListOf(), var image: String = "", var name: String = "", var eventType: ReactiveEvent.TYPE? = null, var path: String? = null) : ReactiveEvent, Parcelable, Comparable<ChatModel>

Constructors

Link copied to clipboard
constructor(type: ChatType, id: String = "", lastMessage: MessageModel? = null, timestamp: FirebaseDate = FirebaseDate(), participants: MutableList<ChatParticipantModel> = mutableListOf(), image: String = "", name: String = "", eventType: ReactiveEvent.TYPE? = null, path: String? = null)

Properties

Link copied to clipboard
open override var eventType: ReactiveEvent.TYPE?
Link copied to clipboard
var id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var path: String?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: ChatModel): Int
Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun equalsContent(other: Any?): Boolean
Link copied to clipboard
fun getChatSubtitle(myUserId: String, context: Context): String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)