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;
* New call was created or information about a call was updated.
class UpdateCall extends Update
{
public const TYPE_NAME = 'updateCall';
* New data about a call.
protected Call $call;
public function __construct(Call $call)
parent::__construct();
$this->call = $call;
}
public static function fromArray(array $array): UpdateCall
return new static(
TdSchemaRegistry::fromArray($array['call']),
);
public function typeSerialize(): array
return [
'@type' => static::TYPE_NAME,
'call' => $this->call->typeSerialize(),
];
public function getCall(): Call
return $this->call;