Skip to content
Version 2.32.0
↓ Get the launcher

ChatMessage.PeerId property

For a Whisper message, the charId of the OTHER party in the conversation — the key to group whispers per person. Equals TargetId when the local player sent it, otherwise SenderId; private-history batches are tagged from the history request’s peer. 0 when it can’t be decided (non-whisper, or the local charId isn’t known yet and the record carried a target) — then compare SenderId/TargetId against CharId yourself.

public long PeerId { get; set; }