mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 09:14:39 +01:00
7 lines
222 B
PHP
7 lines
222 B
PHP
<?php
|
|
|
|
require 'vendor/autoload.php';
|
|
|
|
$handler = new \danog\MadelineProto\Server(['type' => AF_INET, 'protocol' => 0, 'address' => 'localhost', 'port' => 8000, 'transport_protocol' => 'tcp_abridged']);
|
|
$handler->start();
|