Interface: ChannelMessage<T>

A message received from a party player on a realtime channel.

Type Parameters

T

T = JsonValue

Properties

fromPlayerId

readonly fromPlayerId: number

The stable ID authenticated by Plot for the sender. This identifies the player but does not make player-authored gameplay claims authoritative.


payload

readonly payload: ImmutableJson<T>

The immutable JSON payload.