for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This phpFile is auto-generated.
*/
declare(strict_types=1);
namespace AurimasNiekis\TdLibSchema;
* An updated chat title.
class MessageChatChangeTitle extends MessageContent
{
public const TYPE_NAME = 'messageChatChangeTitle';
* New chat title.
*
* @var string
protected string $title;
public function __construct(string $title)
parent::__construct();
$this->title = $title;
}
public static function fromArray(array $array): MessageChatChangeTitle
return new static(
$array['title'],
);
public function typeSerialize(): array
return [
'@type' => static::TYPE_NAME,
'title' => $this->title,
];
public function getTitle(): string
return $this->title;