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 PHPTdGram\Schema;
* File generation is no longer needed.
class UpdateFileGenerationStop extends Update
{
public const TYPE_NAME = 'updateFileGenerationStop';
* Unique identifier for the generation process.
protected string $generationId;
public function __construct(string $generationId)
parent::__construct();
$this->generationId = $generationId;
}
public static function fromArray(array $array): UpdateFileGenerationStop
return new static(
$array['generation_id'],
);
public function typeSerialize(): array
return [
'@type' => static::TYPE_NAME,
'generation_id' => $this->generationId,
];
public function getGenerationId(): string
return $this->generationId;