PrivateMessage

io.github.pidoveproject.showdown.protocol.server.GlobalMessage.PrivateMessage
final case class PrivateMessage(sender: User, receiver: User, message: ChatContent)

A private message (PM) sent by either the server or another player.

Value parameters

message

the content of this PM

receiver

the user who received this PM

sender

the user who sent this PM

Attributes

Source
GlobalMessage.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product