All Downloads are FREE. Search and download functionalities are using the official Maven repository.

im.actor.server.model.HistoryMessage.scala Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
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