add description and content lines

This commit is contained in:
yggverse 2024-05-05 00:28:07 +03:00
parent 31a6703374
commit b5788d0a4e

View File

@ -174,6 +174,20 @@ class Nex implements MessageComponentInterface
$channelItem->title
)
);
if ($channelItem->description)
{
$lines[] = \Yggverse\Pulsar\Model\Filter::text(
$channelItem->description
) . PHP_EOL;
}
if ($channelItem->content)
{
$lines[] = \Yggverse\Pulsar\Model\Filter::text(
$channelItem->content
) . PHP_EOL;
}
}
// Build response