Skip to content
Version 2.35.0
↓ Get the launcher

ChatHypertext.Segments property

The display, in order: Text runs and link runs. Adjacent text is merged and empty runs are dropped. Every Text is sanitised the way the game sanitises chat (all rich tags except <sprite=N> removed, line breaks and backslashes dropped). Never null. Empty only on a message the framework could not lay out (then Text is the fallback).

public IReadOnlyList<ChatTextSegment> Segments { get; set; }