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; }See Also
Section titled “See Also”- record ChatMessage
- namespace Stellar.Abstractions.Domain