index: number

The index of the content part in the message.

type: "text"

Always text.

text?: TextDelta { annotations, value }