. * */ namespace Friendica\Content\Conversation\Entity; /** * @property-read string $code Channel code * @property-read string $label Channel label * @property-read string $description Channel description * @property-read string $accessKey Access key */ final class Channel extends \Friendica\BaseEntity { const WHATSHOT = 'whatshot'; const FORYOU = 'foryou'; const FOLLOWERS = 'followers'; const SHARERSOFSHARERS = 'sharersofsharers'; const IMAGE = 'image'; const VIDEO = 'video'; const AUDIO = 'audio'; const LANGUAGE = 'language'; /** @var string */ protected $code; /** @var string */ protected $label; /** @var string */ protected $description; /** @var string */ protected $accessKey; public function __construct(string $code, string $label, string $description, string $accessKey) { $this->code = $code; $this->label = $label; $this->description = $description; $this->accessKey = $accessKey; } }