im.actor.server.model.HistoryMessage.scala Maven / Gradle / Ivy
package im.actor.server.model
import org.joda.time.DateTime
case class HistoryMessage(
userId: Int,
peer: Peer,
date: DateTime,
senderUserId: Int,
randomId: Long,
messageContentHeader: Int,
messageContentData: Array[Byte],
deletedAt: Option[DateTime]
) {
def ofUser(userId: Int) = this.copy(userId = userId)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy