WordPress\AiClient
AiClient::message
Creates a new message builder for fluent API usage.
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.
Method of the class: AiClient{}
No Hooks.
Returns
Object. MessageBuilder instance (type will be updated when MessageBuilder is available).
Usage
$result = AiClient::message( ?string $text );
- ?string $text
- .
Default:null
Changelog
| Since 0.1.0 | Introduced. |
AiClient::message() AiClient::message code WP 7.0
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.');
}