WordPress\AiClient\Messages\DTO
MessagePart::getFunctionResponse
Gets the function response.
Method of the class: MessagePart{}
No Hooks.
Returns
FunctionResponse|null. The function response or null if not a function response part.
Usage
$MessagePart = new MessagePart(); $MessagePart->getFunctionResponse(): ?FunctionResponse;
Changelog
| Since 0.1.0 | Introduced. |
MessagePart::getFunctionResponse() MessagePart::getFunctionResponse code WP 7.0
public function getFunctionResponse(): ?FunctionResponse
{
return $this->functionResponse;
}