1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:19:00 +01:00

Update to layer 95

This commit is contained in:
Daniil Gentili 2019-03-08 13:44:57 +01:00
parent d489c90268
commit 2e3d0c5361
3 changed files with 1299 additions and 6 deletions

View File

@ -43,9 +43,9 @@ $docs = [
'readme' => false, 'readme' => false,
], ],
[ [
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v91.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'], 'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v95.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
'title' => 'MadelineProto API documentation (layer 91)', 'title' => 'MadelineProto API documentation (layer 95)',
'description' => 'MadelineProto API documentation (layer 91)', 'description' => 'MadelineProto API documentation (layer 95)',
'output_dir' => __DIR__.'/docs/docs/API_docs', 'output_dir' => __DIR__.'/docs/docs/API_docs',
'readme' => false, 'readme' => false,
], ],

View File

@ -64,7 +64,7 @@ class MTProto implements TLCallback
/* /*
const V = 71; const V = 71;
*/ */
const V = 118; const V = 119;
const RELEASE = '4.0'; const RELEASE = '4.0';
const NOT_LOGGED_IN = 0; const NOT_LOGGED_IN = 0;
const WAITING_CODE = 1; const WAITING_CODE = 1;
@ -615,12 +615,12 @@ class MTProto implements TLCallback
'lang_pack' => $lang_pack, 'lang_pack' => $lang_pack,
], 'tl_schema' => [ ], 'tl_schema' => [
// TL scheme files // TL scheme files
'layer' => 91, 'layer' => 95,
// layer version // layer version
'src' => [ 'src' => [
'mtproto' => __DIR__.'/TL_mtproto_v1.tl', 'mtproto' => __DIR__.'/TL_mtproto_v1.tl',
// mtproto TL scheme // mtproto TL scheme
'telegram' => __DIR__.'/TL_telegram_v91.tl', 'telegram' => __DIR__.'/TL_telegram_v95.tl',
// telegram TL scheme // telegram TL scheme
'secret' => __DIR__.'/TL_secret.tl', 'secret' => __DIR__.'/TL_secret.tl',
// secret chats TL scheme // secret chats TL scheme

File diff suppressed because it is too large Load Diff