Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
<?php
declare(strict_types=1);
namespace App\Dto\Analytics;
use App\Enums\Analytics\PublicationContentType;
use Carbon\CarbonImmutable;
final readonly class DiscoveredPublication
{
/**
* @param bool $contentTypeReported False when the network does not report the type, so $contentType only fills a new publication.
* @param array<string, mixed>|null $previewMetadata
* @param array<string, mixed>|null $providerMetadata
*/
public function __construct(
public string $providerPostId,
public CarbonImmutable $publishedAt,
public PublicationContentType $contentType,
public ?string $providerContentType = null,
public ?string $permalink = null,
public ?string $excerpt = null,
public ?array $previewMetadata = null,
public ?array $providerMetadata = null,
public bool $contentTypeReported = true,
) {}
}