2024-02-13 21:46:07 +01:00
|
|
|
<?php declare(strict_types=1);
|
2024-02-13 21:14:18 +01:00
|
|
|
|
|
|
|
use danog\MadelineProto\Settings\TLSchema;
|
|
|
|
use danog\MadelineProto\TL\Builder;
|
2024-03-10 15:48:55 +01:00
|
|
|
use danog\MadelineProto\TL\SecretBuilder;
|
2024-02-13 21:14:18 +01:00
|
|
|
|
|
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
|
2024-03-02 13:03:09 +01:00
|
|
|
\danog\MadelineProto\Magic::start(true);
|
|
|
|
|
2024-02-13 21:14:18 +01:00
|
|
|
$builder = new Builder(new TLSchema, __DIR__.'/../src/TL/TLParser.php', 'danog\\MadelineProto\\TL');
|
2024-02-13 21:46:07 +01:00
|
|
|
$builder->build();
|
2024-03-10 15:48:55 +01:00
|
|
|
|
|
|
|
$builder = new SecretBuilder(new TLSchema, __DIR__.'/../src/TL/SecretTLParser.php', 'danog\\MadelineProto\\TL');
|
|
|
|
$builder->build();
|