MadelineProto/server.php

7 lines
182 B
PHP
Raw Normal View History

2018-03-03 18:23:12 +01:00
<?php
require 'vendor/autoload.php';
2018-03-04 17:42:48 +01:00
$handler = new \danog\MadelineProto\Server(['type' => AF_INET, 'protocol' => 0, 'address' => 'localhost', 'port' => 8002]);
2018-03-04 17:42:48 +01:00
$handler->start();