parts.
Part types
Text
mention and
mention_range; read Mentions before calculating
that range.
Media
Reference one completed Relay Attachment:attachment_id or url.
Link
Ordering and composition
part_index is the zero-based position in the array. Replies and reactions
use it to target one exact part.
Text and media may be mixed in order. Consecutive text parts are rejected;
combine adjacent text into one part. A link must remain the only part in its
Message.
Response-only parts
Relay can returntype: "system" for visible Chat history such as membership
or group metadata changes. A developer cannot send a system part.
Response parts can also contain current reactions. Media responses add the
Attachment ID, opaque download URL, filename, MIME type, size, and available
dimensions or duration.

