Skip to content
Version 2.11.0
↓ Get the launcher

ChatMessage record

An incoming chat message delivered to plugins. MsgId is the server-assigned globally-unique id; plugins can use it to deduplicate when the same message arrives via multiple paths (live Notify + history Return). IsHistory is true for messages projected from the GetChipChatRecords reply that the server sends at login — plugins that react to live traffic (e.g. auto-reply, sound notifications) should skip history-replay messages by checking this flag.

public record ChatMessage
name description
ChatMessage(…) An incoming chat message delivered to plugins. MsgId is the server-assigned globally-unique id; plugins can use it to deduplicate when the same message arrives via multiple paths (live Notify + history Return). IsHistory is true for messages projected from the GetChipChatRecords reply that the server sends at login — plugins that react to live traffic (e.g. auto-reply, sound notifications) should skip history-replay messages by checking this flag.
Channel { get; set; }
IsHistory { get; set; }
MsgId { get; set; }
RawPayload { get; set; }
Sender { get; set; }
SenderId { get; set; }
SenderName { get; set; }
Text { get; set; }
Timestamp { get; set; }
Type { get; set; }