MessagePart::getChannel(): WordPressAiClientMessagesEnumsMessagePartChannelEnum

In this article

Gets the channel this message part belongs to.

Return

WordPressAiClientMessagesEnumsMessagePartChannelEnum The channel.

Source

public function getChannel(): MessagePartChannelEnum
{
    return $this->channel;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.