Creates a new message builder for fluent API usage.
Description
This method will be implemented once MessageBuilder is available.
MessageBuilder will provide a fluent interface for constructing complex messages with multiple parts, attachments, and metadata.
Parameters
$textstring|nulloptional- Optional initial message text.
Default:
null
Source
public static function message(?string $text = null)
{
throw new RuntimeException('MessageBuilder is not yet available. This method depends on builder infrastructure. ' . 'Use direct generation methods (generateTextResult, generateImageResult, etc.) for now.');
}
Changelog
| Version | Description |
|---|---|
| 0.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.