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.
Метод класса: AiClient{}
Хуков нет.
Возвращает
Объект. MessageBuilder instance (type will be updated when MessageBuilder is available).
Использование
$result = AiClient::message( ?string $text );
- ?string $text
- .
По умолчанию:null
Список изменений
| С версии 0.1.0 | Введена. |
Код AiClient::message() AiClient::message 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.');
}