PrivateChatTarget record
One private-chat (whisper) conversation from the game’s own conversation list (IFriends.PrivateChats, in the game’s display order: pinned first, then most recent).
public record PrivateChatTargetPublic Members
Section titled “Public Members”| name | description |
|---|---|
| PrivateChatTarget(…) | One private-chat (whisper) conversation from the game’s own conversation list (IFriends.PrivateChats, in the game’s display order: pinned first, then most recent). |
| CharId { get; set; } | The other party’s charId — matches PeerId on that conversation’s whispers. |
| IsOnline { get; set; } | Whether the other party is online, when the game has loaded their profile; null when unknown. |
| IsTop { get; set; } | True when the conversation is pinned. |
| LatestMsgType { get; set; } | The latest message’s raw ChitChatMsgType: 0 text, 3 sticker, 5 voice, 6 link (hypertext); -1 when the conversation has no message yet. |
| LatestSenderId { get; set; } | CharId of whoever sent the latest message (the local player or the peer); 0 when none. |
| LatestText { get; set; } | Raw text of the latest message (game rich text / <sprite=N> tags kept; empty for a sticker / voice / link message — see LatestMsgType). |
| LatestTimestampUtc { get; set; } | Server time of the latest message; default when none. |
| Name { get; set; } | The other party’s name; empty until the game has loaded it. |
| UnreadCount { get; set; } | Unread messages, as the game counts them (latest msg id − last read msg id). |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Domain