mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 21:14:43 +01:00
Fix composer.json syntax
This commit is contained in:
parent
e4a326e552
commit
f2e13cdac1
2
bot.php
2
bot.php
@ -13,7 +13,7 @@ If not, see <http://www.gnu.org/licenses/>.
|
||||
set_include_path(get_include_path().':'.realpath(dirname(__FILE__).'/MadelineProto/'));
|
||||
|
||||
require 'vendor/autoload.php';
|
||||
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'connection_settings' => ['all' => ['protocol' => 'https', 'pfs' => true]]];
|
||||
$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'connection_settings' => ['all' => ['protocol' => 'tcp_abridged', 'pfs' => true]]];
|
||||
|
||||
try {
|
||||
$MadelineProto = new \danog\MadelineProto\API('bot.madeline');
|
||||
|
@ -37,14 +37,14 @@
|
||||
"danog\\MadelineProto\\": "src/"
|
||||
},
|
||||
"files": [
|
||||
"src/BigIntegor.php"
|
||||
"src/BigIntegor.php",
|
||||
"src/Socket.php",
|
||||
"src/Collectable.php",
|
||||
"src/Threaded.php",
|
||||
"src/Volatile.php",
|
||||
"src/Thread.php",
|
||||
"src/Worker.php",
|
||||
"src/Pool.php",
|
||||
"src/Pool.php"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user