WordPress\AiClient\Messages\DTO

MessagePart::getTypepublicWP 0.1.0

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() code WP 7.0

public function getType(): MessagePartTypeEnum
{
    return $this->type;
}