TextChatPart = { bold?: boolean; color?: string; text: string; } | { entity: string; name: string; }
bold?
boolean
color?
string
text
entity
name
One part of a system message: plain text, a styled run, or an entity, which reads as its display name.