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