C2SPrivateMessagePacket

data class C2SPrivateMessagePacket(val receiver: String, val content: String) : AxochatPacket.C2S

The content of this packet will be sent to the specified client as PrivateMessage if it fits the validation scheme.

Parameters

receiver

receiver is an ID.

content

content of the message.

Constructors

Link copied to clipboard
constructor(receiver: String, content: String)

Properties

Link copied to clipboard
@SerializedName(value = "content")
val content: String
Link copied to clipboard
@SerializedName(value = "receiver")
val receiver: String