MadelineProto/testing.php
2016-08-07 17:23:30 -04:00

10 lines
257 B
PHP

<?php
require_once 'vendor/autoload.php';
$config = parse_ini_file('credentials', true);
if (!$config) {
pyjslib_printnl("File 'credentials' seems to not exist.");
exit(-1);
}
$MadelineProto = new \danog\MadelineProto\API('393888288264', $config);