Message¶
A message is one turn element with a role (user, assistant or system), an optional speaker name and ordered content parts: TextPart and AudioPart. Message.text joins the text parts; the token partition splits it into Player objects, the messages partition makes it one. Backends send a speaker as "<speaker>: <text>" (speaker rendering). Audio parts reach the backends that hear audio (backends).
Package: domain.