WordPress\AiClient\Messages\DTO

MessagePart::getFunctionResponse │ public │ WP 0.1.0

Gets the function response.

Метод класса: MessagePart{}

Хуков нет.

Возвращает

FunctionResponse|null. The function response or null if not a function response part.

Использование

$MessagePart = new MessagePart();
$MessagePart->getFunctionResponse(): ?FunctionResponse;

Список изменений

С версии 0.1.0 Введена.

Код MessagePart::getFunctionResponse() WP 7.1.2

public function getFunctionResponse(): ?FunctionResponse
{
    return $this->functionResponse;
}