Represents the content of a message, which can be either a simple string or an array of content parts.
Array of content parts for multimodal messages.
Simple string content.
Extracts all text content from the message, regardless of whether it's a simple string or an array of content parts.
Checks if the message content contains the specified substring.