ThreadParticipant

@Immutable
data class ThreadParticipant(val user: User, val lastThreadMessageAt: Date?) : UserEntity

Model holding info about a thread participant.

Parameters

user

The User as a thread participant (not always delivered - sometimes it can only hold the User.id).

lastThreadMessageAt

The date of the last message in the thread at the time of participation.

Constructors

Link copied to clipboard
constructor(user: User, lastThreadMessageAt: Date?)

Properties

Link copied to clipboard
Link copied to clipboard
open override val user: User

Functions

Link copied to clipboard
open fun getUserId(): String

Returns the user ID.