WordPress\AiClient\Messages\DTO
Message::getParts
Gets the message parts.
Method of the class: Message{}
No Hooks.
Returns
MessagePart[]. The message parts.
Usage
$Message = new Message(); $Message->getParts(): array;
Changelog
| Since 0.1.0 | Introduced. |
Message::getParts() Message::getParts code WP 7.0
public function getParts(): array
{
return $this->parts;
}