diff --git a/schemas b/schemas index 9e80b4ce..945a5ca6 160000 --- a/schemas +++ b/schemas @@ -1 +1 @@ -Subproject commit 9e80b4cedd4d6d27722cbce371ed072d6c1ceba2 +Subproject commit 945a5ca6fb6411ddcad077d78018150983f53ede diff --git a/src/danog/MadelineProto/API.php b/src/danog/MadelineProto/API.php index c29ce3dd..0c1b7242 100644 --- a/src/danog/MadelineProto/API.php +++ b/src/danog/MadelineProto/API.php @@ -126,7 +126,7 @@ class API extends InternalDoc public function __construct_async(string $session, array $settings = []): \Generator { Logger::constructorFromSettings($settings); - $this->session = $session = Absolute::absolute($session); + $this->session = $session = Tools::absolute($session); if ($unserialized = yield from Serialization::legacyUnserialize($session)) { $unserialized->storage = $unserialized->storage ?? []; $unserialized->session = $session; diff --git a/src/danog/MadelineProto/Absolute.php b/src/danog/MadelineProto/Absolute.php deleted file mode 100644 index 50b84d1b..00000000 --- a/src/danog/MadelineProto/Absolute.php +++ /dev/null @@ -1,34 +0,0 @@ -. - * - * @author Daniil Gentili - * @copyright 2016-2020 Daniil Gentili - * @license https://opensource.org/licenses/AGPL-3.0 AGPLv3 - * - * @link https://docs.madelineproto.xyz MadelineProto documentation - */ - -namespace danog\MadelineProto; - -/** - * Manages serialization of the MadelineProto instance. - */ -class Absolute -{ - public static function absolute($file) - { - if (($file[0] ?? '') !== '/' && ($file[1] ?? '') !== ':' && !\in_array(\substr($file, 0, 4), ['phar', 'http'])) { - $file = Magic::getcwd() . '/' . $file; - } - return $file; - } -} diff --git a/src/danog/MadelineProto/ApiWrappers/Start.php b/src/danog/MadelineProto/ApiWrappers/Start.php index 829f2afd..65c43ee9 100644 --- a/src/danog/MadelineProto/ApiWrappers/Start.php +++ b/src/danog/MadelineProto/ApiWrappers/Start.php @@ -40,7 +40,7 @@ trait Start if (PHP_SAPI === 'cli') { $stdout = getStdout(); yield $stdout->write('You did not define a valid API ID/API hash. Do you want to define it now manually, or automatically? (m/a) -Note that you can also provide the API parameters directly in the code using the settings: https://docs.madelineproto.xyz/docs/SETTINGS.html#settingsapp_infoapi_id' . PHP_EOL); +Note that you can also provide the API parameters directly in the code using the settings: https://docs.madelineproto.xyz/docs/SETTINGS.html#settingsapp_infoapi_id'.PHP_EOL); if (\strpos(yield Tools::readLine('Your choice (m/a): '), 'm') !== false) { yield $stdout->write('1) Login to my.telegram.org 2) Go to API development tools @@ -49,7 +49,7 @@ Note that you can also provide the API parameters directly in the code using the URL: your app/website\'s URL, or t.me/yourusername Platform: anything Description: Describe your app here -4) Click on create application' . PHP_EOL); +4) Click on create application'.PHP_EOL); $app['api_id'] = yield Tools::readLine('5) Enter your API ID: '); $app['api_hash'] = yield Tools::readLine('6) Enter your API hash: '); return $app; @@ -115,7 +115,7 @@ Note that you can also provide the API parameters directly in the code using the yield from $this->myTelegramOrgWrapper->login($_POST['phone_number']); yield from $this->webAPIEcho(); } catch (\Throwable $e) { - yield from $this->webAPIEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webAPIEcho('ERROR: '.$e->getMessage().'. Try again.'); } } private function webAPICompleteLogin(): \Generator @@ -123,9 +123,9 @@ Note that you can also provide the API parameters directly in the code using the try { yield from $this->myTelegramOrgWrapper->completeLogin($_POST['code']); } catch (\danog\MadelineProto\RPCErrorException $e) { - yield from $this->webAPIEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webAPIEcho('ERROR: '.$e->getMessage().'. Try again.'); } catch (\danog\MadelineProto\Exception $e) { - yield from $this->webAPIEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webAPIEcho('ERROR: '.$e->getMessage().'. Try again.'); } } private function webAPICreateApp(): \Generator @@ -136,9 +136,9 @@ Note that you can also provide the API parameters directly in the code using the $app = (yield from $this->myTelegramOrgWrapper->createApp($params)); return $app; } catch (\danog\MadelineProto\RPCErrorException $e) { - yield from $this->webAPIEcho('ERROR: ' . $e->getMessage() . ' Try again.'); + yield from $this->webAPIEcho('ERROR: '.$e->getMessage().' Try again.'); } catch (\danog\MadelineProto\Exception $e) { - yield from $this->webAPIEcho('ERROR: ' . $e->getMessage() . ' Try again.'); + yield from $this->webAPIEcho('ERROR: '.$e->getMessage().' Try again.'); } } } diff --git a/src/danog/MadelineProto/Connection.php b/src/danog/MadelineProto/Connection.php index d060362e..dacafeea 100644 --- a/src/danog/MadelineProto/Connection.php +++ b/src/danog/MadelineProto/Connection.php @@ -325,7 +325,7 @@ class Connection extends Session { $this->ctx = $ctx->getCtx(); $this->datacenter = $ctx->getDc(); - $this->datacenterId = $this->datacenter . '.' . $this->id; + $this->datacenterId = $this->datacenter.'.'.$this->id; $this->API->logger->logger("Connecting to DC {$this->datacenterId}", \danog\MadelineProto\Logger::WARNING); $this->createSession(); $ctx->setReadCallback([$this, 'haveRead']); diff --git a/src/danog/MadelineProto/ContextConnector.php b/src/danog/MadelineProto/ContextConnector.php index 23dab05f..d53b5ab2 100644 --- a/src/danog/MadelineProto/ContextConnector.php +++ b/src/danog/MadelineProto/ContextConnector.php @@ -55,13 +55,13 @@ class ContextConnector implements Connector $this->logger->logger('OK!', \danog\MadelineProto\Logger::WARNING); return $result->getSocket(); } catch (\Throwable $e) { - if (\constant("MADELINEPROTO_TEST") === 'pony') { + if (@\constant("MADELINEPROTO_TEST") === 'pony') { throw $e; } - $this->logger->logger('Connection failed: ' . $e, \danog\MadelineProto\Logger::ERROR); + $this->logger->logger('Connection failed: '.$e, \danog\MadelineProto\Logger::ERROR); if ($e instanceof MultiReasonException) { foreach ($e->getReasons() as $reason) { - $this->logger->logger('Multireason: ' . $reason, \danog\MadelineProto\Logger::ERROR); + $this->logger->logger('Multireason: '.$reason, \danog\MadelineProto\Logger::ERROR); } } } diff --git a/src/danog/MadelineProto/DataCenter.php b/src/danog/MadelineProto/DataCenter.php index a007cc90..0de99313 100644 --- a/src/danog/MadelineProto/DataCenter.php +++ b/src/danog/MadelineProto/DataCenter.php @@ -264,7 +264,7 @@ class DataCenter $this->API->logger->logger('OK!', \danog\MadelineProto\Logger::WARNING); return true; } catch (\Throwable $e) { - if (\constant("MADELINEPROTO_TEST") === 'pony') { + if (@\constant("MADELINEPROTO_TEST") === 'pony') { throw $e; } $this->API->logger->logger("Connection failed ({$dc_number}): ".$e->getMessage(), \danog\MadelineProto\Logger::ERROR); @@ -272,6 +272,9 @@ class DataCenter } throw new Exception("Could not connect to DC {$dc_number}"); } + /** + * @param int|string $dc_number + */ public function generateContexts($dc_number = 0, string $uri = '', ConnectContext $context = null) { $ctxs = []; @@ -488,7 +491,7 @@ class DataCenter if (empty($ctxs)) { unset($this->sockets[$dc_number]); $this->API->logger->logger("No info for DC {$dc_number}", \danog\MadelineProto\Logger::ERROR); - } elseif (\constant("MADELINEPROTO_TEST") === 'pony') { + } elseif (@\constant("MADELINEPROTO_TEST") === 'pony') { return [$ctxs[0]]; } return $ctxs; diff --git a/src/danog/MadelineProto/DoHConnector.php b/src/danog/MadelineProto/DoHConnector.php index 41b60e2c..5a9baf48 100644 --- a/src/danog/MadelineProto/DoHConnector.php +++ b/src/danog/MadelineProto/DoHConnector.php @@ -117,7 +117,7 @@ class DoHConnector implements Connector try { $streamContext = \stream_context_create($socketContext->withoutTlsContext()->toStreamContextArray()); if (!($socket = @\stream_socket_client($builtUri, $errno, $errstr, null, $flags, $streamContext))) { - throw new ConnectException(\sprintf('Connection to %s failed: [Error #%d] %s%s', $uri, $errno, $errstr, $failures ? '; previous attempts: ' . \implode($failures) : ''), $errno); + throw new ConnectException(\sprintf('Connection to %s failed: [Error #%d] %s%s', $uri, $errno, $errstr, $failures ? '; previous attempts: '.\implode($failures) : ''), $errno); } \stream_set_blocking($socket, false); $deferred = new Deferred(); @@ -126,7 +126,7 @@ class DoHConnector implements Connector try { yield Promise\timeout($deferred->promise(), $timeout); } catch (TimeoutException $e) { - throw new ConnectException(\sprintf('Connecting to %s failed: timeout exceeded (%d ms)%s', $uri, $timeout, $failures ? '; previous attempts: ' . \implode($failures) : ''), 110); + throw new ConnectException(\sprintf('Connecting to %s failed: timeout exceeded (%d ms)%s', $uri, $timeout, $failures ? '; previous attempts: '.\implode($failures) : ''), 110); // See ETIMEDOUT in http://www.virtsync.com/c-error-codes-include-errno } finally { Loop::cancel($watcher); @@ -135,7 +135,7 @@ class DoHConnector implements Connector // The following hack looks like the only way to detect connection refused errors with PHP's stream sockets. if (\stream_socket_get_name($socket, true) === false) { \fclose($socket); - throw new ConnectException(\sprintf('Connection to %s refused%s', $uri, $failures ? '; previous attempts: ' . \implode($failures) : ''), 111); + throw new ConnectException(\sprintf('Connection to %s refused%s', $uri, $failures ? '; previous attempts: '.\implode($failures) : ''), 111); // See ECONNREFUSED in http://www.virtsync.com/c-error-codes-include-errno } } catch (ConnectException $e) { @@ -143,7 +143,7 @@ class DoHConnector implements Connector // In fact, this might show a confusing error message on OS families that return 110 or 111 by itself. $knownReasons = [110 => 'connection timeout', 111 => 'connection refused']; $code = $e->getCode(); - $reason = $knownReasons[$code] ?? 'Error #' . $code; + $reason = $knownReasons[$code] ?? 'Error #'.$code; if (++$attempt === $socketContext->getMaxAttempts()) { break; } diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index 4b5ff53b..3ca48734 100644 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -54,11 +54,11 @@ class DocsBuilder { \danog\MadelineProto\Logger::log('Generating documentation index...', \danog\MadelineProto\Logger::NOTICE); \file_put_contents($this->index, '--- -title: ' . $this->settings['title'] . ' -description: ' . $this->settings['description'] . ' +title: '.$this->settings['title'].' +description: '.$this->settings['description'].' image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- -# ' . $this->settings['description'] . ' +# '.$this->settings['description'].' [Back to main documentation](..) @@ -86,14 +86,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png //$br = $new_namespace != $last_namespace ? '***

' : ''; $type = \str_replace(['<', '>'], ['_of_', ''], $otype); $type = \preg_replace('/.*_of_/', '', $type); - $index .= '[' . \str_replace('_', '\\_', $type) . '](' . $type . '.md) + $index .= '['.\str_replace('_', '\\_', $type).']('.$type.'.md) '; $constructors = ''; foreach ($keys['constructors'] as $data) { - $predicate = $data['predicate'] . (isset($data['layer']) && $data['layer'] !== '' ? '_' . $data['layer'] : ''); + $predicate = $data['predicate'].(isset($data['layer']) && $data['layer'] !== '' ? '_'.$data['layer'] : ''); $md_predicate = \str_replace('_', '\\_', $predicate); - $constructors .= '[' . $md_predicate . '](../constructors/' . $predicate . '.md) + $constructors .= '['.$md_predicate.'](../constructors/'.$predicate.'.md) '; } @@ -101,25 +101,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png foreach ($keys['methods'] as $data) { $name = $data['method']; $md_name = \str_replace(['.', '_'], ['->', '\\_'], $name); - $methods .= '[$MadelineProto->' . $md_name . '](../methods/' . $name . '.md) + $methods .= '[$MadelineProto->'.$md_name.'](../methods/'.$name.'.md) '; } - $description = isset($this->td_descriptions['types'][$otype]) ? $this->td_descriptions['types'][$otype] : 'constructors and methods of type ' . $type; + $description = isset($this->td_descriptions['types'][$otype]) ? $this->td_descriptions['types'][$otype] : 'constructors and methods of type '.$type; $symFile = \str_replace('.', '_', $type); $redir = $symFile !== $type ? "\nredirect_from: /API_docs/types/{$symFile}.html" : ''; $header = '--- -title: ' . $type . ' -description: constructors and methods of type ' . $type . ' -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png' . $redir . ' +title: '.$type.' +description: constructors and methods of type '.$type.' +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png'.$redir.' --- -# Type: ' . \str_replace('_', '\\_', $type) . ' +# Type: '.\str_replace('_', '\\_', $type).' [Back to types index](index.md) '; - $header .= isset($this->td_descriptions['types'][$otype]) ? $this->td_descriptions['types'][$otype] . PHP_EOL . PHP_EOL : ''; + $header .= isset($this->td_descriptions['types'][$otype]) ? $this->td_descriptions['types'][$otype].PHP_EOL.PHP_EOL : ''; if (!isset($this->settings['td'])) { if (\in_array($type, ['User', 'InputUser', 'Chat', 'InputChannel', 'Peer', 'InputDialogPeer', 'DialogPeer', 'InputPeer', 'NotifyPeer', 'InputNotifyPeer'])) { $header .= 'You can directly provide the [Update](Update.md) or [Message](Message.md) object here, MadelineProto will automatically extract the destination chat id. @@ -127,11 +127,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png' . $re The following syntaxes can also be used: ``` -$' . $type . " = '@username'; // Username\n\n\$" . $type . " = 'me'; // The currently logged-in user\n\n\$" . $type . ' = 44700; // bot API id (users) -$' . $type . ' = -492772765; // bot API id (chats) -$' . $type . ' = -10038575794; // bot API id (channels) +$'.$type." = '@username'; // Username\n\n\$".$type." = 'me'; // The currently logged-in user\n\n\$".$type.' = 44700; // bot API id (users) +$'.$type.' = -492772765; // bot API id (chats) +$'.$type.' = -10038575794; // bot API id (channels) -$' . $type . " = 'https://t.me/danogentili'; // t.me URLs\n\$" . $type . " = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links\n\n\$" . $type . " = 'user#44700'; // tg-cli style id (users)\n\$" . $type . " = 'chat#492772765'; // tg-cli style id (chats)\n\$" . $type . " = 'channel#38575794'; // tg-cli style id (channels)\n```\n\nA [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.\n\n\n"; +$'.$type." = 'https://t.me/danogentili'; // t.me URLs\n\$".$type." = 'https://t.me/joinchat/asfln1-21fa_'; // t.me invite links\n\n\$".$type." = 'user#44700'; // tg-cli style id (users)\n\$".$type." = 'chat#492772765'; // tg-cli style id (chats)\n\$".$type." = 'channel#38575794'; // tg-cli style id (channels)\n```\n\nA [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDialogPeer](InputDialogPeer.md), an [InputNotifyPeer](InputNotifyPeer.md), an [InputUser](InputUser.md), an [InputChannel](InputChannel.md), a [Peer](Peer.md), an [DialogPeer](DialogPeer.md), [NotifyPeer](NotifyPeer.md), or a [Chat](Chat.md) object can also be used.\n\n\n"; } if (\in_array($type, ['InputEncryptedChat'])) { $header .= 'You can directly provide the [Update](Update.md) or [EncryptedMessage](EncryptedMessage.md) object here, MadelineProto will automatically extract the destination chat id. @@ -139,7 +139,7 @@ $' . $type . " = 'https://t.me/danogentili'; // t.me URLs\n\$" . $type . " = 'ht The following syntax can also be used: ``` -$' . $type . ' = -147286699; // Numeric chat id returned by requestSecretChat, can be positive or negative +$'.$type.' = -147286699; // Numeric chat id returned by requestSecretChat, can be positive or negative ``` @@ -149,7 +149,7 @@ $' . $type . ' = -147286699; // Numeric chat id returned by requestSecretChat, c $header .= 'The following syntax can also be used: ``` -$' . $type . ' = \'filename.mp4\'; // The file path can also be used +$'.$type.' = \'filename.mp4\'; // The file path can also be used ``` @@ -174,7 +174,7 @@ $' . $type . ' = \'filename.mp4\'; // The file path can also be used $header .= 'The following syntax can also be used: ``` -$' . $type . ' = 142; // Numeric message ID +$'.$type.' = 142; // Numeric message ID ``` @@ -186,7 +186,7 @@ $' . $type . ' = 142; // Numeric message ID To click these buttons simply run the `click` method: ``` -$result = $' . $type . '->click(); +$result = $'.$type.'->click(); ``` `$result` can be one of the following: @@ -207,12 +207,12 @@ You can also access the properties of the constructor as a normal array, for exa } $constructors = '### Possible values (constructors): -' . $constructors . ' +'.$constructors.' '; $methods = '### Methods that return an object of this type (methods): -' . $methods . ' +'.$methods.' '; if (!isset($this->settings['td'])) { @@ -399,14 +399,14 @@ After modifying it, you must always parse the new configuration with a call to ` '; } } - if (\file_exists('types/' . $type . '.md')) { + if (\file_exists('types/'.$type.'.md')) { \danog\MadelineProto\Logger::log($type); } - \file_put_contents('types/' . $type . '.md', $header . $constructors . $methods); + \file_put_contents('types/'.$type.'.md', $header.$constructors.$methods); $last_namespace = $new_namespace; } \danog\MadelineProto\Logger::log('Generating types index...', \danog\MadelineProto\Logger::NOTICE); - \file_put_contents('types/' . $this->index, '--- + \file_put_contents('types/'.$this->index, '--- title: Types description: List of types image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png @@ -415,7 +415,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png [Back to API documentation index](..) -' . $index); +'.$index); \danog\MadelineProto\Logger::log('Generating additional types...', \danog\MadelineProto\Logger::NOTICE); \file_put_contents('types/string.md', '--- title: string @@ -621,7 +621,7 @@ class Lang { if (!isset(\danog\MadelineProto\Lang::$lang['en'][$key]) || $force) { \danog\MadelineProto\Lang::$lang['en'][$key] = $value; - \file_put_contents(__DIR__ . '/Lang.php', \sprintf(self::$template, \var_export(\danog\MadelineProto\Lang::$lang, true), \var_export(\danog\MadelineProto\Lang::$lang['en'], true))); + \file_put_contents(__DIR__.'/Lang.php', \sprintf(self::$template, \var_export(\danog\MadelineProto\Lang::$lang, true), \var_export(\danog\MadelineProto\Lang::$lang['en'], true))); } } } diff --git a/src/danog/MadelineProto/DocsBuilder/Constructors.php b/src/danog/MadelineProto/DocsBuilder/Constructors.php index d9654b44..7d8555ab 100644 --- a/src/danog/MadelineProto/DocsBuilder/Constructors.php +++ b/src/danog/MadelineProto/DocsBuilder/Constructors.php @@ -25,7 +25,7 @@ trait Constructors { public function mkConstructors() { - foreach (\glob('constructors/' . $this->any) as $unlink) { + foreach (\glob('constructors/'.$this->any) as $unlink) { \unlink($unlink); } if (\file_exists('constructors')) { @@ -45,7 +45,7 @@ trait Constructors if (preg_match('/%/', $type)) { $type = $this->TL->getConstructors($this->td)->findByType(str_replace('%', '', $type))['predicate']; }*/ - $layer = isset($data['layer']) && $data['layer'] !== '' ? '_' . $data['layer'] : ''; + $layer = isset($data['layer']) && $data['layer'] !== '' ? '_'.$data['layer'] : ''; $type = \str_replace(['<', '>'], ['_of_', ''], $data['type']); $php_type = \preg_replace('/.*_of_/', '', $type); $constructor = \str_replace(['<', '>'], ['_of_', ''], $data['predicate']); @@ -74,12 +74,12 @@ trait Constructors if (\substr($param[$type_or_subtype], -1) === '>') { $param[$type_or_subtype] = \substr($param[$type_or_subtype], 0, -1); } - $params .= "'" . $param['name'] . "' => "; - $param[$type_or_subtype] = '[' . Tools::markdownEscape($param[$type_or_subtype]) . '](../' . $type_or_bare_type . '/' . $param[$type_or_subtype] . '.md)'; - $params .= (isset($param['subtype']) ? '\\[' . $param[$type_or_subtype] . '\\]' : $param[$type_or_subtype]) . ', '; + $params .= "'".$param['name']."' => "; + $param[$type_or_subtype] = '['.Tools::markdownEscape($param[$type_or_subtype]).'](../'.$type_or_bare_type.'/'.$param[$type_or_subtype].'.md)'; + $params .= (isset($param['subtype']) ? '\\['.$param[$type_or_subtype].'\\]' : $param[$type_or_subtype]).', '; } - $md_constructor = \str_replace('_', '\\_', $constructor . $layer); - $this->docs_constructors[$constructor] = '[$' . $md_constructor . '](../constructors/' . $php_constructor . $layer . '.md) = \\[' . $params . '\\]; + $md_constructor = \str_replace('_', '\\_', $constructor.$layer); + $this->docs_constructors[$constructor] = '[$'.$md_constructor.'](../constructors/'.$php_constructor.$layer.'.md) = \\['.$params.'\\]; '; $table = empty($data['params']) ? '' : '### Attributes: @@ -88,9 +88,9 @@ trait Constructors |----------|---------------|----------| '; if (!isset($this->TL->getDescriptions()['constructors'][$data['predicate']])) { - $this->addToLang('object_' . $data['predicate']); - if (\danog\MadelineProto\Lang::$lang['en']['object_' . $data['predicate']] !== '') { - $this->TL->getDescriptions()['constructors'][$data['predicate']]['description'] = \danog\MadelineProto\Lang::$lang['en']['object_' . $data['predicate']]; + $this->addToLang('object_'.$data['predicate']); + if (\danog\MadelineProto\Lang::$lang['en']['object_'.$data['predicate']] !== '') { + $this->TL->getDescriptions()['constructors'][$data['predicate']]['description'] = \danog\MadelineProto\Lang::$lang['en']['object_'.$data['predicate']]; } } if (isset($this->TL->getDescriptions()['constructors'][$data['predicate']]) && !empty($data['params'])) { @@ -114,7 +114,7 @@ trait Constructors $param['type'] = 'DecryptedMessage'; } if ($type === 'DecryptedMessageMedia' && \in_array($param['name'], ['key', 'iv'])) { - unset(\danog\MadelineProto\Lang::$lang['en']['object_' . $data['predicate'] . '_param_' . $param['name'] . '_type_' . $param['type']]); + unset(\danog\MadelineProto\Lang::$lang['en']['object_'.$data['predicate'].'_param_'.$param['name'].'_type_'.$param['type']]); continue; } $ptype = $param[isset($param['subtype']) ? 'subtype' : 'type']; @@ -138,58 +138,58 @@ trait Constructors } $human_ptype = $ptype; if (\strpos($type, 'Input') === 0 && \in_array($ptype, ['User', 'InputUser', 'Chat', 'InputChannel', 'Peer', 'InputDialogPeer', 'DialogPeer', 'NotifyPeer', 'InputNotifyPeer', 'InputPeer']) && !isset($this->settings['td'])) { - $human_ptype = 'Username, chat ID, Update, Message or ' . $ptype; + $human_ptype = 'Username, chat ID, Update, Message or '.$ptype; } if (\strpos($type, 'Input') === 0 && \in_array($ptype, ['InputMedia', 'InputDocument', 'InputPhoto']) && !isset($this->settings['td'])) { - $human_ptype = 'MessageMedia, Message, Update or ' . $ptype; + $human_ptype = 'MessageMedia, Message, Update or '.$ptype; } if (\in_array($ptype, ['InputMessage']) && !isset($this->settings['td'])) { - $human_ptype = 'Message ID or ' . $ptype; + $human_ptype = 'Message ID or '.$ptype; } if (\in_array($ptype, ['InputEncryptedChat']) && !isset($this->settings['td'])) { - $human_ptype = 'Secret chat ID, Update, EncryptedMessage or ' . $ptype; + $human_ptype = 'Secret chat ID, Update, EncryptedMessage or '.$ptype; } if (\in_array($ptype, ['InputFile']) && !isset($this->settings['td'])) { - $human_ptype = 'File path or ' . $ptype; + $human_ptype = 'File path or '.$ptype; } if (\in_array($ptype, ['InputEncryptedFile']) && !isset($this->settings['td'])) { - $human_ptype = 'File path or ' . $ptype; + $human_ptype = 'File path or '.$ptype; } - $table .= '|' . \str_replace('_', '\\_', $param['name']) . '|' . (isset($param['subtype']) ? 'Array of ' : '') . '[' . \str_replace('_', '\\_', $human_ptype) . '](../' . $type_or_bare_type . '/' . $ptype . '.md) | ' . (isset($param['pow']) || $this->TL->getConstructors($this->td)->findByPredicate(\lcfirst($param['type']) . 'Empty') || $data['type'] === 'InputMedia' && $param['name'] === 'mime_type' || $data['type'] === 'DocumentAttribute' && \in_array($param['name'], ['w', 'h', 'duration']) ? 'Optional' : 'Yes') . '|'; + $table .= '|'.\str_replace('_', '\\_', $param['name']).'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.\str_replace('_', '\\_', $human_ptype).'](../'.$type_or_bare_type.'/'.$ptype.'.md) | '.(isset($param['pow']) || $this->TL->getConstructors($this->td)->findByPredicate(\lcfirst($param['type']).'Empty') || $data['type'] === 'InputMedia' && $param['name'] === 'mime_type' || $data['type'] === 'DocumentAttribute' && \in_array($param['name'], ['w', 'h', 'duration']) ? 'Optional' : 'Yes').'|'; if (!isset($this->TL->getDescriptions()['constructors'][$data['predicate']]['params'][$param['name']])) { - $this->addToLang('object_' . $data['predicate'] . '_param_' . $param['name'] . '_type_' . $param['type']); + $this->addToLang('object_'.$data['predicate'].'_param_'.$param['name'].'_type_'.$param['type']); if (isset($this->TL->getDescriptions()['constructors'][$data['predicate']]['description'])) { - $this->TL->getDescriptions()['constructors'][$data['predicate']]['params'][$param['name']] = \danog\MadelineProto\Lang::$lang['en']['object_' . $data['predicate'] . '_param_' . $param['name'] . '_type_' . $param['type']]; + $this->TL->getDescriptions()['constructors'][$data['predicate']]['params'][$param['name']] = \danog\MadelineProto\Lang::$lang['en']['object_'.$data['predicate'].'_param_'.$param['name'].'_type_'.$param['type']]; } } if (isset($this->TL->getDescriptions()['constructors'][$data['predicate']]['params'][$param['name']])) { - $table .= $this->TL->getDescriptions()['constructors'][$data['predicate']]['params'][$param['name']] . '|'; + $table .= $this->TL->getDescriptions()['constructors'][$data['predicate']]['params'][$param['name']].'|'; } $table .= PHP_EOL; - $pptype = \in_array($ptype, ['string', 'bytes']) ? "'" . $ptype . "'" : $ptype; - $ppptype = \in_array($ptype, ['string']) ? '"' . $ptype . '"' : $ptype; - $ppptype = \in_array($ptype, ['bytes']) ? '{"_": "bytes", "bytes":"base64 encoded ' . $ptype . '"}' : $ppptype; - $params .= ", '" . $param['name'] . "' => "; - $params .= isset($param['subtype']) ? '[' . $pptype . ', ' . $pptype . ']' : $pptype; - $lua_params .= ', ' . $param['name'] . '='; - $lua_params .= isset($param['subtype']) ? '{' . $pptype . '}' : $pptype; - $pwr_params .= ', "' . $param['name'] . '": ' . (isset($param['subtype']) ? '[' . $ppptype . ']' : $ppptype); + $pptype = \in_array($ptype, ['string', 'bytes']) ? "'".$ptype."'" : $ptype; + $ppptype = \in_array($ptype, ['string']) ? '"'.$ptype.'"' : $ptype; + $ppptype = \in_array($ptype, ['bytes']) ? '{"_": "bytes", "bytes":"base64 encoded '.$ptype.'"}' : $ppptype; + $params .= ", '".$param['name']."' => "; + $params .= isset($param['subtype']) ? '['.$pptype.', '.$pptype.']' : $pptype; + $lua_params .= ', '.$param['name'].'='; + $lua_params .= isset($param['subtype']) ? '{'.$pptype.'}' : $pptype; + $pwr_params .= ', "'.$param['name'].'": '.(isset($param['subtype']) ? '['.$ppptype.']' : $ppptype); if ($param['name'] === 'reply_markup') { $hasreplymarkup = true; } } - $params = "['_' => '" . $data['predicate'] . "'" . $params . ']'; - $lua_params = "{_='" . $data['predicate'] . "'" . $lua_params . '}'; - $pwr_params = '{"_": "' . $data['predicate'] . '"' . $pwr_params . '}'; - $description = isset($this->TL->getDescriptions()['constructors'][$data['predicate']]) ? $this->TL->getDescriptions()['constructors'][$data['predicate']]['description'] : $constructor . ' attributes, type and example'; - $symFile = \str_replace('.', '_', $constructor . $layer); - $redir = $symFile !== $constructor . $layer ? "\nredirect_from: /API_docs/constructors/{$symFile}.html" : ''; + $params = "['_' => '".$data['predicate']."'".$params.']'; + $lua_params = "{_='".$data['predicate']."'".$lua_params.'}'; + $pwr_params = '{"_": "'.$data['predicate'].'"'.$pwr_params.'}'; + $description = isset($this->TL->getDescriptions()['constructors'][$data['predicate']]) ? $this->TL->getDescriptions()['constructors'][$data['predicate']]['description'] : $constructor.' attributes, type and example'; + $symFile = \str_replace('.', '_', $constructor.$layer); + $redir = $symFile !== $constructor.$layer ? "\nredirect_from: /API_docs/constructors/{$symFile}.html" : ''; $header = '--- -title: ' . $data['predicate'] . ' -description: ' . $description . ' -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png' . $redir . ' +title: '.$data['predicate'].' +description: '.$description.' +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png'.$redir.' --- -# Constructor: ' . \str_replace('_', '\\_', $data['predicate'] . $layer) . ' +# Constructor: '.\str_replace('_', '\\_', $data['predicate'].$layer).' [Back to constructors index](index.md) @@ -200,9 +200,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png' . $re '; if (isset($this->TL->getDescriptions()['constructors'][$data['predicate']])) { - $header .= $this->TL->getDescriptions()['constructors'][$data['predicate']]['description'] . PHP_EOL . PHP_EOL; + $header .= $this->TL->getDescriptions()['constructors'][$data['predicate']]['description'].PHP_EOL.PHP_EOL; } - $type = '### Type: [' . \str_replace('_', '\\_', $php_type) . '](../types/' . $php_type . '.md) + $type = '### Type: ['.\str_replace('_', '\\_', $php_type).'](../types/'.$php_type.'.md) '; @@ -211,14 +211,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png' . $re $example = '### Example: ```php -$' . $constructor . $layer . ' = ' . $params . '; +$'.$constructor.$layer.' = '.$params.'; ``` Or, if you\'re into Lua: ```lua -' . $constructor . $layer . '=' . $lua_params . ' +'.$constructor.$layer.'='.$lua_params.' ``` @@ -268,7 +268,7 @@ MadelineProto supports all html entities supported by [html_entity_decode](http: '; } } - \file_put_contents('constructors/' . $constructor . $layer . '.md', $header . $table . $type . $example); + \file_put_contents('constructors/'.$constructor.$layer.'.md', $header.$table.$type.$example); } $this->logger->logger('Generating constructors index...', \danog\MadelineProto\Logger::NOTICE); \ksort($this->docs_constructors); @@ -277,10 +277,10 @@ MadelineProto supports all html entities supported by [html_entity_decode](http: $new_namespace = \preg_replace('/_.*/', '', $constructor); $br = $new_namespace != $last_namespace ? '***

' : ''; - $value = $br . $value; + $value = $br.$value; $last_namespace = $new_namespace; } - \file_put_contents('constructors/' . $this->index, '--- + \file_put_contents('constructors/'.$this->index, '--- title: Constructors description: List of constructors image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png @@ -288,6 +288,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Constructors [Back to API documentation index](..) -' . \implode('', $this->docs_constructors)); +'.\implode('', $this->docs_constructors)); } } diff --git a/src/danog/MadelineProto/DocsBuilder/Methods.php b/src/danog/MadelineProto/DocsBuilder/Methods.php index 194c246a..81f662fc 100644 --- a/src/danog/MadelineProto/DocsBuilder/Methods.php +++ b/src/danog/MadelineProto/DocsBuilder/Methods.php @@ -44,7 +44,7 @@ trait Methods } } } - foreach (\glob('methods/' . $this->any) as $unlink) { + foreach (\glob('methods/'.$this->any) as $unlink) { \unlink($unlink); } if (\file_exists('methods')) { @@ -80,17 +80,17 @@ trait Methods $type_or_subtype = isset($param['subtype']) ? 'subtype' : 'type'; $type_or_bare_type = \ctype_upper(Tools::end(\explode('.', $param[$type_or_subtype]))[0]) || \in_array($param[$type_or_subtype], ['!X', 'X', 'bytes', 'true', 'false', 'double', 'string', 'Bool', 'int', 'long', 'int128', 'int256', 'int512', 'int53']) ? 'types' : 'constructors'; $param[$type_or_subtype] = \str_replace(['true', 'false'], ['Bool', 'Bool'], $param[$type_or_subtype]); - $param[$type_or_subtype] = '[' . Tools::markdownEscape($param[$type_or_subtype]) . '](../' . $type_or_bare_type . '/' . $param[$type_or_subtype] . '.md)'; - $params .= "'" . $param['name'] . "' => " . (isset($param['subtype']) ? '\\[' . $param[$type_or_subtype] . '\\]' : $param[$type_or_subtype]) . ', '; + $param[$type_or_subtype] = '['.Tools::markdownEscape($param[$type_or_subtype]).'](../'.$type_or_bare_type.'/'.$param[$type_or_subtype].'.md)'; + $params .= "'".$param['name']."' => ".(isset($param['subtype']) ? '\\['.$param[$type_or_subtype].'\\]' : $param[$type_or_subtype]).', '; } if (!isset($this->td_descriptions['methods'][$data['method']])) { - $this->addToLang('method_' . $data['method']); - if (\danog\MadelineProto\Lang::$lang['en']['method_' . $data['method']] !== '') { - $this->td_descriptions['methods'][$data['method']]['description'] = \danog\MadelineProto\Lang::$lang['en']['method_' . $data['method']]; + $this->addToLang('method_'.$data['method']); + if (\danog\MadelineProto\Lang::$lang['en']['method_'.$data['method']] !== '') { + $this->td_descriptions['methods'][$data['method']]['description'] = \danog\MadelineProto\Lang::$lang['en']['method_'.$data['method']]; } } - $md_method = '[' . $php_method . '](' . $method . '.md)'; - $this->docs_methods[$method] = '$MadelineProto->' . $md_method . '(\\[' . $params . '\\]) === [$' . \str_replace('_', '\\_', $type) . '](../types/' . $php_type . '.md) + $md_method = '['.$php_method.']('.$method.'.md)'; + $this->docs_methods[$method] = '$MadelineProto->'.$md_method.'(\\['.$params.'\\]) === [$'.\str_replace('_', '\\_', $type).'](../types/'.$php_type.'.md) '; if (isset($this->td_descriptions['methods'][$data['method']])) { @@ -98,7 +98,7 @@ trait Methods $dom = new \DOMDocument(); $dom->loadHTML(\mb_convert_encoding($desc, 'HTML-ENTITIES', 'UTF-8')); $desc = $dom->textContent; - $this->human_docs_methods[$this->td_descriptions['methods'][$data['method']]['description'] . ': ' . $data['method']] = '* ' . $desc . ': ' . $data['method'] . ' + $this->human_docs_methods[$this->td_descriptions['methods'][$data['method']]['description'].': '.$data['method']] = '* '.$desc.': '.$data['method'].' '; } @@ -145,45 +145,45 @@ trait Methods } $human_ptype = $ptype; if (\in_array($ptype, ['InputDialogPeer', 'DialogPeer', 'NotifyPeer', 'InputNotifyPeer', 'User', 'InputUser', 'Chat', 'InputChannel', 'Peer', 'InputPeer']) && !isset($this->settings['td'])) { - $human_ptype = 'Username, chat ID, Update, Message or ' . $ptype; + $human_ptype = 'Username, chat ID, Update, Message or '.$ptype; } if (\in_array($ptype, ['InputMedia', 'InputPhoto', 'InputDocument']) && !isset($this->settings['td'])) { - $human_ptype = 'MessageMedia, Update, Message or ' . $ptype; + $human_ptype = 'MessageMedia, Update, Message or '.$ptype; } if (\in_array($ptype, ['InputMessage']) && !isset($this->settings['td'])) { - $human_ptype = 'Message ID or ' . $ptype; + $human_ptype = 'Message ID or '.$ptype; } if (\in_array($ptype, ['InputEncryptedChat']) && !isset($this->settings['td'])) { - $human_ptype = 'Secret chat ID, Update, EncryptedMessage or ' . $ptype; + $human_ptype = 'Secret chat ID, Update, EncryptedMessage or '.$ptype; } if (\in_array($ptype, ['InputFile']) && !isset($this->settings['td'])) { - $human_ptype = 'File path or ' . $ptype; + $human_ptype = 'File path or '.$ptype; } if (\in_array($ptype, ['InputEncryptedFile']) && !isset($this->settings['td'])) { - $human_ptype = 'File path or ' . $ptype; + $human_ptype = 'File path or '.$ptype; } $type_or_bare_type = \ctype_upper(Tools::end(\explode('.', $param[$type_or_subtype]))[0]) || \in_array($param[$type_or_subtype], ['!X', 'X', 'bytes', 'true', 'false', 'double', 'string', 'Bool', 'int', 'long', 'int128', 'int256', 'int512', 'int53']) ? 'types' : 'constructors'; if (!isset($this->td_descriptions['methods'][$data['method']]['params'][$param['name']])) { - $this->addToLang('method_' . $data['method'] . '_param_' . $param['name'] . '_type_' . $param['type']); + $this->addToLang('method_'.$data['method'].'_param_'.$param['name'].'_type_'.$param['type']); if (isset($this->td_descriptions['methods'][$data['method']]['description'])) { - $this->td_descriptions['methods'][$data['method']]['params'][$param['name']] = \danog\MadelineProto\Lang::$lang['en']['method_' . $data['method'] . '_param_' . $param['name'] . '_type_' . $param['type']]; + $this->td_descriptions['methods'][$data['method']]['params'][$param['name']] = \danog\MadelineProto\Lang::$lang['en']['method_'.$data['method'].'_param_'.$param['name'].'_type_'.$param['type']]; } } if (isset($this->td_descriptions['methods'][$data['method']])) { - $table .= '|' . \str_replace('_', '\\_', $param['name']) . '|' . (isset($param['subtype']) ? 'Array of ' : '') . '[' . \str_replace('_', '\\_', $human_ptype) . '](../' . $type_or_bare_type . '/' . $ptype . '.md) | ' . $this->td_descriptions['methods'][$data['method']]['params'][$param['name']] . ' | ' . (isset($param['pow']) || ($id = $this->TL->getConstructors($this->td)->findByPredicate(\lcfirst($param['type']) . 'Empty')) && $id['type'] === $param['type'] || ($id = $this->TL->getConstructors($this->td)->findByPredicate('input' . $param['type'] . 'Empty')) && $id['type'] === $param['type'] ? 'Optional' : 'Yes') . '|'; + $table .= '|'.\str_replace('_', '\\_', $param['name']).'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.\str_replace('_', '\\_', $human_ptype).'](../'.$type_or_bare_type.'/'.$ptype.'.md) | '.$this->td_descriptions['methods'][$data['method']]['params'][$param['name']].' | '.(isset($param['pow']) || ($id = $this->TL->getConstructors($this->td)->findByPredicate(\lcfirst($param['type']).'Empty')) && $id['type'] === $param['type'] || ($id = $this->TL->getConstructors($this->td)->findByPredicate('input'.$param['type'].'Empty')) && $id['type'] === $param['type'] ? 'Optional' : 'Yes').'|'; } else { - $table .= '|' . \str_replace('_', '\\_', $param['name']) . '|' . (isset($param['subtype']) ? 'Array of ' : '') . '[' . \str_replace('_', '\\_', $human_ptype) . '](../' . $type_or_bare_type . '/' . $ptype . '.md) | ' . (isset($param['pow']) || ($id = $this->TL->getConstructors($this->td)->findByPredicate(\lcfirst($param['type']) . 'Empty')) && $id['type'] === $param['type'] || ($id = $this->TL->getConstructors($this->td)->findByPredicate('input' . $param['type'] . 'Empty')) && $id['type'] === $param['type'] ? 'Optional' : 'Yes') . '|'; + $table .= '|'.\str_replace('_', '\\_', $param['name']).'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.\str_replace('_', '\\_', $human_ptype).'](../'.$type_or_bare_type.'/'.$ptype.'.md) | '.(isset($param['pow']) || ($id = $this->TL->getConstructors($this->td)->findByPredicate(\lcfirst($param['type']).'Empty')) && $id['type'] === $param['type'] || ($id = $this->TL->getConstructors($this->td)->findByPredicate('input'.$param['type'].'Empty')) && $id['type'] === $param['type'] ? 'Optional' : 'Yes').'|'; } $table .= PHP_EOL; - $pptype = \in_array($ptype, ['string', 'bytes']) ? "'" . $ptype . "'" : $ptype; - $ppptype = \in_array($ptype, ['string']) ? '"' . $ptype . '"' : $ptype; - $ppptype = \in_array($ptype, ['bytes']) ? '{"_": "bytes", "bytes":"base64 encoded ' . $ptype . '"}' : $ppptype; - $params .= "'" . $param['name'] . "' => "; - $params .= (isset($param['subtype']) ? '[' . $pptype . ', ' . $pptype . ']' : $pptype) . ', '; - $json_params .= '"' . $param['name'] . '": ' . (isset($param['subtype']) ? '[' . $ppptype . ']' : $ppptype) . ', '; - $pwr_params .= $param['name'] . ' - Json encoded ' . (isset($param['subtype']) ? ' array of ' . $ptype : $ptype) . "\n\n"; - $lua_params .= $param['name'] . '='; - $lua_params .= (isset($param['subtype']) ? '{' . $pptype . '}' : $pptype) . ', '; + $pptype = \in_array($ptype, ['string', 'bytes']) ? "'".$ptype."'" : $ptype; + $ppptype = \in_array($ptype, ['string']) ? '"'.$ptype.'"' : $ptype; + $ppptype = \in_array($ptype, ['bytes']) ? '{"_": "bytes", "bytes":"base64 encoded '.$ptype.'"}' : $ppptype; + $params .= "'".$param['name']."' => "; + $params .= (isset($param['subtype']) ? '['.$pptype.', '.$pptype.']' : $pptype).', '; + $json_params .= '"'.$param['name'].'": '.(isset($param['subtype']) ? '['.$ppptype.']' : $ppptype).', '; + $pwr_params .= $param['name'].' - Json encoded '.(isset($param['subtype']) ? ' array of '.$ptype : $ptype)."\n\n"; + $lua_params .= $param['name'].'='; + $lua_params .= (isset($param['subtype']) ? '{'.$pptype.'}' : $pptype).', '; if ($param['name'] === 'reply_markup') { $hasreplymarkup = true; } @@ -200,15 +200,15 @@ trait Methods $pwr_params = "parseMode - string\n"; } } - $description = isset($this->td_descriptions['methods'][$data['method']]) ? $this->td_descriptions['methods'][$data['method']]['description'] : $data['method'] . ' parameters, return type and example'; + $description = isset($this->td_descriptions['methods'][$data['method']]) ? $this->td_descriptions['methods'][$data['method']]['description'] : $data['method'].' parameters, return type and example'; $symFile = \str_replace('.', '_', $method); $redir = $symFile !== $method ? "\nredirect_from: /API_docs/methods/{$symFile}.html" : ''; $header = '--- -title: ' . $data['method'] . ' -description: ' . $description . ' -image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png' . $redir . ' +title: '.$data['method'].' +description: '.$description.' +image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png'.$redir.' --- -# Method: ' . \str_replace('_', '\\_', $data['method']) . ' +# Method: '.\str_replace('_', '\\_', $data['method']).' [Back to methods index](index.md) @@ -225,17 +225,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png' . $re '; } - $header .= isset($this->td_descriptions['methods'][$data['method']]) ? $this->td_descriptions['methods'][$data['method']]['description'] . PHP_EOL . PHP_EOL : ''; + $header .= isset($this->td_descriptions['methods'][$data['method']]) ? $this->td_descriptions['methods'][$data['method']]['description'].PHP_EOL.PHP_EOL : ''; $table .= ' '; - $return = '### Return type: [' . \str_replace('_', '\\_', $type) . '](../types/' . $php_type . '.md) + $return = '### Return type: ['.\str_replace('_', '\\_', $type).'](../types/'.$php_type.'.md) '; $bot = !\in_array($data['method'], $bots); $example = ''; if (!isset($this->settings['td'])) { - $example .= '### Can bots use this method: **' . ($bot ? 'YES' : 'NO') . "**\n\n\n"; + $example .= '### Can bots use this method: **'.($bot ? 'YES' : 'NO')."**\n\n\n"; $example .= \str_replace('[]', '', '### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)): @@ -248,13 +248,13 @@ include \'madeline.php\'; $MadelineProto = new \\danog\\MadelineProto\\API(\'session.madeline\'); $MadelineProto->start(); -$' . $type . ' = $MadelineProto->' . $php_method . '([' . $params . ']); +$'.$type.' = $MadelineProto->'.$php_method.'(['.$params.']); ``` Or, if you\'re into Lua: ```lua -' . $type . ' = ' . $data['method'] . '({' . $lua_params . '}) +'.$type.' = '.$data['method'].'({'.$lua_params.'}) ``` '); @@ -271,7 +271,7 @@ You can provide bot API reply_markup objects here. $example .= ' ## Return value -If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of [' . \str_replace('_', '\\_', $type) . '](../types/' . $php_type . '.md) will be returned instead. +If the length of the provided message is bigger than 4096, the message will be split in chunks and the method will be called multiple times, with the same parameters (except for the message), and an array of ['.\str_replace('_', '\\_', $type).'](../types/'.$php_type.'.md) will be returned instead. '; @@ -323,12 +323,12 @@ MadelineProto supports all html entities supported by [html_entity_decode](http: '; foreach ($new['result'][$data['method']] as $error) { [$error, $code] = $error; - $example .= "|{$code}|{$error}|" . $errors['human_result'][$error][0] . '|' . "\n"; + $example .= "|{$code}|{$error}|".$errors['human_result'][$error][0].'|'."\n"; } $example .= "\n\n"; } } - \file_put_contents('methods/' . $method . '.md', $header . $table . $return . $example); + \file_put_contents('methods/'.$method.'.md', $header.$table.$return.$example); } $this->logger->logger('Generating methods index...', \danog\MadelineProto\Logger::NOTICE); \ksort($this->docs_methods); @@ -339,10 +339,10 @@ MadelineProto supports all html entities supported by [html_entity_decode](http: $br = $new_namespace != $last_namespace ? '***

' : ''; - $value = $br . $value; + $value = $br.$value; $last_namespace = $new_namespace; } - \file_put_contents('methods/api_' . $this->index, '--- + \file_put_contents('methods/api_'.$this->index, '--- title: Methods description: List of methods image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png @@ -350,7 +350,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # Methods [Back to API documentation index](..) -[Go to the new description-version method index](' . $this->index . ') +[Go to the new description-version method index]('.$this->index.') $MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)(); @@ -378,8 +378,8 @@ $MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($ $MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id); -' . \implode('', $this->docs_methods)); - \file_put_contents('methods/' . $this->index, '--- +'.\implode('', $this->docs_methods)); + \file_put_contents('methods/'.$this->index, '--- title: Methods description: What do you want to do? image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png @@ -387,7 +387,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png # What do you want to do? [Go back to API documentation index](..) -[Go to the old code-version method index](api_' . $this->index . ') +[Go to the old code-version method index](api_'.$this->index.') * [Logout](https://docs.madelineproto.xyz/logout.html) @@ -411,6 +411,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png * [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html) -' . \implode('', $this->human_docs_methods)); +'.\implode('', $this->human_docs_methods)); } } diff --git a/src/danog/MadelineProto/Logger.php b/src/danog/MadelineProto/Logger.php index 6c738126..9d2ec731 100644 --- a/src/danog/MadelineProto/Logger.php +++ b/src/danog/MadelineProto/Logger.php @@ -126,7 +126,7 @@ class Logger $settings['logger']['logger_param'] = $settings['logger']['param']; } if (PHP_SAPI !== 'cli' && isset($settings['logger']['logger_param']) && $settings['logger']['logger_param'] === 'MadelineProto.log') { - $settings['logger']['logger_param'] = Magic::$script_cwd . '/MadelineProto.log'; + $settings['logger']['logger_param'] = Magic::$script_cwd.'/MadelineProto.log'; } $logger = new self($settings['logger']['logger'], $settings['logger']['logger_param'] ?? '', $prefix, $settings['logger']['logger_level'] ?? Logger::VERBOSE, $settings['logger']['max_size'] ?? 100 * 1024 * 1024); if (!self::$default) { @@ -136,7 +136,7 @@ class Logger try { \error_reporting(E_ALL); \ini_set('log_errors', 1); - \ini_set('error_log', $settings['logger']['logger'] === self::FILE_LOGGER ? $settings['logger']['logger_param'] : Magic::$script_cwd . '/MadelineProto.log'); + \ini_set('error_log', $settings['logger']['logger'] === self::FILE_LOGGER ? $settings['logger']['logger_param'] : Magic::$script_cwd.'/MadelineProto.log'); \error_log('Enabled PHP logging'); } catch (\danog\MadelineProto\Exception $e) { $logger->logger('Could not enable PHP logging'); @@ -176,11 +176,11 @@ class Logger throw new Exception(\danog\MadelineProto\Lang::$current_lang['no_mode_specified']); } $this->mode = $mode; - $this->optional = $mode == 2 ? Absolute::absolute($optional) : $optional; - $this->prefix = $prefix === '' ? '' : ', ' . $prefix; + $this->optional = $mode == 2 ? Tools::absolute($optional) : $optional; + $this->prefix = $prefix === '' ? '' : ', '.$prefix; $this->level = $level; if ($this->mode === 2 && !\file_exists(\pathinfo($this->optional, PATHINFO_DIRNAME))) { - $this->optional = Magic::$script_cwd . '/MadelineProto.log'; + $this->optional = Magic::$script_cwd.'/MadelineProto.log'; } if ($this->mode === 2 && !\preg_match('/\\.log$/', $this->optional)) { $this->optional .= '.log'; @@ -198,7 +198,7 @@ class Logger if ($this->mode === 3) { $this->stdout = getStdout(); if (PHP_SAPI !== 'cli') { - $this->newline = '
' . $this->newline; + $this->newline = '
'.$this->newline; } } elseif ($this->mode === 2) { $this->stdout = new ResourceOutputStream(\fopen($this->optional, 'a+')); @@ -226,7 +226,7 @@ class Logger if (!\is_null(self::$default)) { self::$default->logger($param, $level, \basename(\debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1)[0]['file'], '.php')); } else { - echo $param . PHP_EOL; + echo $param.PHP_EOL; } } /** @@ -265,15 +265,15 @@ class Logger if (empty($file)) { $file = \basename(\debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1)[0]['file'], '.php'); } - $param = \str_pad($file . $prefix . ': ', 16 + \strlen($prefix)) . "\t" . $param; + $param = \str_pad($file.$prefix.': ', 16 + \strlen($prefix))."\t".$param; switch ($this->mode) { case 1: - if ($this->stdout->write($param . $this->newline) instanceof Failure) { + if ($this->stdout->write($param.$this->newline) instanceof Failure) { \error_log($param); } break; default: - $param = Magic::$isatty ? "\33[" . $this->colors[$level] . 'm' . $param . "\33[0m" . $this->newline : $param . $this->newline; + $param = Magic::$isatty ? "\33[".$this->colors[$level].'m'.$param."\33[0m".$this->newline : $param.$this->newline; if ($this->stdout->write($param) instanceof Failure) { switch ($this->mode) { case 3: diff --git a/src/danog/MadelineProto/Loop/Connection/CheckLoop.php b/src/danog/MadelineProto/Loop/Connection/CheckLoop.php index f7f03e26..6e8f03f7 100644 --- a/src/danog/MadelineProto/Loop/Connection/CheckLoop.php +++ b/src/danog/MadelineProto/Loop/Connection/CheckLoop.php @@ -90,17 +90,17 @@ class CheckLoop extends ResumableSignalLoop foreach (\str_split($result['info']) as $key => $chr) { $message_id = $message_ids[$key]; if (!isset($connection->outgoing_messages[$message_id])) { - $API->logger->logger('Already got response for and forgot about message ID ' . $message_id); + $API->logger->logger('Already got response for and forgot about message ID '.$message_id); continue; } if (!isset($connection->new_outgoing[$message_id])) { - $API->logger->logger('Already got response for ' . $connection->outgoing_messages[$message_id]['_'] . ' with message ID ' . $message_id); + $API->logger->logger('Already got response for '.$connection->outgoing_messages[$message_id]['_'].' with message ID '.$message_id); continue; } $chr = \ord($chr); switch ($chr & 7) { case 0: - $API->logger->logger('Wrong message status 0 for ' . $connection->outgoing_messages[$message_id]['_'], \danog\MadelineProto\Logger::FATAL_ERROR); + $API->logger->logger('Wrong message status 0 for '.$connection->outgoing_messages[$message_id]['_'], \danog\MadelineProto\Logger::FATAL_ERROR); break; case 1: case 2: @@ -109,25 +109,25 @@ class CheckLoop extends ResumableSignalLoop $connection->gotResponseForOutgoingMessageId($message_id); break; } - $API->logger->logger('Message ' . $connection->outgoing_messages[$message_id]['_'] . ' with message ID ' . $message_id . ' not received by server, resending...', \danog\MadelineProto\Logger::ERROR); + $API->logger->logger('Message '.$connection->outgoing_messages[$message_id]['_'].' with message ID '.$message_id.' not received by server, resending...', \danog\MadelineProto\Logger::ERROR); $connection->methodRecall('watcherId', ['message_id' => $message_id, 'postpone' => true]); break; case 4: if ($chr & 32) { if ($connection->outgoing_messages[$message_id]['sent'] + $timeoutResend < \time()) { - $API->logger->logger('Message ' . $connection->outgoing_messages[$message_id]['_'] . ' with message ID ' . $message_id . ' received by server and is being processed for way too long, resending request...', \danog\MadelineProto\Logger::ERROR); + $API->logger->logger('Message '.$connection->outgoing_messages[$message_id]['_'].' with message ID '.$message_id.' received by server and is being processed for way too long, resending request...', \danog\MadelineProto\Logger::ERROR); $connection->methodRecall('', ['message_id' => $message_id, 'postpone' => true]); } else { - $API->logger->logger('Message ' . $connection->outgoing_messages[$message_id]['_'] . ' with message ID ' . $message_id . ' received by server and is being processed, waiting...', \danog\MadelineProto\Logger::ERROR); + $API->logger->logger('Message '.$connection->outgoing_messages[$message_id]['_'].' with message ID '.$message_id.' received by server and is being processed, waiting...', \danog\MadelineProto\Logger::ERROR); } } elseif ($chr & 64) { - $API->logger->logger('Message ' . $connection->outgoing_messages[$message_id]['_'] . ' with message ID ' . $message_id . ' received by server and was already processed, requesting reply...', \danog\MadelineProto\Logger::ERROR); + $API->logger->logger('Message '.$connection->outgoing_messages[$message_id]['_'].' with message ID '.$message_id.' received by server and was already processed, requesting reply...', \danog\MadelineProto\Logger::ERROR); $reply[] = $message_id; } elseif ($chr & 128) { - $API->logger->logger('Message ' . $connection->outgoing_messages[$message_id]['_'] . ' with message ID ' . $message_id . ' received by server and was already sent, requesting reply...', \danog\MadelineProto\Logger::ERROR); + $API->logger->logger('Message '.$connection->outgoing_messages[$message_id]['_'].' with message ID '.$message_id.' received by server and was already sent, requesting reply...', \danog\MadelineProto\Logger::ERROR); $reply[] = $message_id; } else { - $API->logger->logger('Message ' . $connection->outgoing_messages[$message_id]['_'] . ' with message ID ' . $message_id . ' received by server, requesting reply...', \danog\MadelineProto\Logger::ERROR); + $API->logger->logger('Message '.$connection->outgoing_messages[$message_id]['_'].' with message ID '.$message_id.' received by server, requesting reply...', \danog\MadelineProto\Logger::ERROR); $reply[] = $message_id; } } @@ -140,7 +140,7 @@ class CheckLoop extends ResumableSignalLoop $list = ''; // Don't edit this here pls foreach ($message_ids as $message_id) { - $list .= $connection->outgoing_messages[$message_id]['_'] . ', '; + $list .= $connection->outgoing_messages[$message_id]['_'].', '; } $API->logger->logger("Still missing {$list} on DC {$datacenter}, sending state request", \danog\MadelineProto\Logger::ERROR); yield from $connection->objectCall('msgs_state_req', ['msg_ids' => $message_ids], ['promise' => $deferred]); @@ -148,7 +148,7 @@ class CheckLoop extends ResumableSignalLoop } else { foreach ($connection->new_outgoing as $message_id) { if (isset($connection->outgoing_messages[$message_id]['sent']) && $connection->outgoing_messages[$message_id]['sent'] + $timeout < \time() && $connection->outgoing_messages[$message_id]['unencrypted']) { - $API->logger->logger('Still missing ' . $connection->outgoing_messages[$message_id]['_'] . ' with message id ' . $message_id . " on DC {$datacenter}, resending", \danog\MadelineProto\Logger::ERROR); + $API->logger->logger('Still missing '.$connection->outgoing_messages[$message_id]['_'].' with message id '.$message_id." on DC {$datacenter}, resending", \danog\MadelineProto\Logger::ERROR); $connection->methodRecall('', ['message_id' => $message_id, 'postpone' => true]); } } diff --git a/src/danog/MadelineProto/Loop/Connection/ReadLoop.php b/src/danog/MadelineProto/Loop/Connection/ReadLoop.php index fc4ec7aa..d3beabaa 100644 --- a/src/danog/MadelineProto/Loop/Connection/ReadLoop.php +++ b/src/danog/MadelineProto/Loop/Connection/ReadLoop.php @@ -26,6 +26,7 @@ use Amp\Websocket\ClosedException; use danog\MadelineProto\Connection; use danog\MadelineProto\Logger; use danog\MadelineProto\Loop\Impl\SignalLoop; +use danog\MadelineProto\MTProtoTools\Crypt; use danog\MadelineProto\NothingInTheSocketException; use danog\MadelineProto\Tools; @@ -168,13 +169,13 @@ class ReadLoop extends SignalLoop $connection->incoming_messages[$message_id] = []; } elseif ($auth_key_id === $shared->getTempAuthKey()->getID()) { $message_key = yield $buffer->bufferRead(16); - list($aes_key, $aes_iv) = $this->aesCalculate($message_key, $shared->getTempAuthKey()->getAuthKey(), false); + list($aes_key, $aes_iv) = Crypt::aesCalculate($message_key, $shared->getTempAuthKey()->getAuthKey(), false); $encrypted_data = yield $buffer->bufferRead($payload_length - 24); $protocol_padding = \strlen($encrypted_data) % 16; if ($protocol_padding) { $encrypted_data = \substr($encrypted_data, 0, -$protocol_padding); } - $decrypted_data = $this->igeDecrypt($encrypted_data, $aes_key, $aes_iv); + $decrypted_data = Crypt::igeDecrypt($encrypted_data, $aes_key, $aes_iv); /* $server_salt = substr($decrypted_data, 0, 8); if ($server_salt != $shared->getTempAuthKey()->getServerSalt()) { diff --git a/src/danog/MadelineProto/Loop/Connection/WriteLoop.php b/src/danog/MadelineProto/Loop/Connection/WriteLoop.php index b34d036e..7248d741 100644 --- a/src/danog/MadelineProto/Loop/Connection/WriteLoop.php +++ b/src/danog/MadelineProto/Loop/Connection/WriteLoop.php @@ -23,6 +23,7 @@ use Amp\ByteStream\StreamException; use danog\MadelineProto\Connection; use danog\MadelineProto\Logger; use danog\MadelineProto\Loop\Impl\ResumableSignalLoop; +use danog\MadelineProto\MTProtoTools\Crypt; use danog\MadelineProto\Tools; /** @@ -284,8 +285,8 @@ class WriteLoop extends ResumableSignalLoop } $padding = \danog\MadelineProto\Tools::random($padding); $message_key = \substr(\hash('sha256', \substr($shared->getTempAuthKey()->getAuthKey(), 88, 32).$plaintext.$padding, true), 8, 16); - list($aes_key, $aes_iv) = $this->aesCalculate($message_key, $shared->getTempAuthKey()->getAuthKey()); - $message = $shared->getTempAuthKey()->getID().$message_key.$this->igeEncrypt($plaintext.$padding, $aes_key, $aes_iv); + list($aes_key, $aes_iv) = Crypt::aesCalculate($message_key, $shared->getTempAuthKey()->getAuthKey()); + $message = $shared->getTempAuthKey()->getID().$message_key.Crypt::igeEncrypt($plaintext.$padding, $aes_key, $aes_iv); $buffer = yield $connection->stream->getWriteBuffer($len = \strlen($message)); //$t = \microtime(true); yield $buffer->bufferWrite($message); diff --git a/src/danog/MadelineProto/Loop/Impl/SignalLoop.php b/src/danog/MadelineProto/Loop/Impl/SignalLoop.php index 8f96dd11..999c24a6 100644 --- a/src/danog/MadelineProto/Loop/Impl/SignalLoop.php +++ b/src/danog/MadelineProto/Loop/Impl/SignalLoop.php @@ -32,6 +32,13 @@ use danog\MadelineProto\Loop\SignalLoopInterface; abstract class SignalLoop extends Loop implements SignalLoopInterface { private $signalDeferred; + /** + * Send signal to loop. + * + * @param mixed $what Data to signal + * + * @return void + */ public function signal($what): void { if ($this->signalDeferred) { diff --git a/src/danog/MadelineProto/Loop/Update/FeedLoop.php b/src/danog/MadelineProto/Loop/Update/FeedLoop.php index 6e933055..3eaf66b7 100644 --- a/src/danog/MadelineProto/Loop/Update/FeedLoop.php +++ b/src/danog/MadelineProto/Loop/Update/FeedLoop.php @@ -131,7 +131,7 @@ class FeedLoop extends ResumableSignalLoop $this->save($update); } } - public function feed($updates): \Generator + public function feed(array $updates): \Generator { $result = []; foreach ($updates as $update) { @@ -143,7 +143,7 @@ class FeedLoop extends ResumableSignalLoop } return $result; } - public function feedSingle($update): \Generator + public function feedSingle(array $update): \Generator { $channelId = false; switch ($update['_']) { @@ -191,13 +191,13 @@ class FeedLoop extends ResumableSignalLoop $log .= "from_id {$update['message']['from_id']}, "; } if ($to) { - $log .= 'to_id ' . \json_encode($update['message']['to_id']) . ', '; + $log .= 'to_id '.\json_encode($update['message']['to_id']).', '; } if ($via_bot) { $log .= "via_bot {$update['message']['via_bot_id']}, "; } if ($entities) { - $log .= 'entities ' . \json_encode($update['message']['entities']) . ', '; + $log .= 'entities '.\json_encode($update['message']['entities']).', '; } $this->API->logger->logger("Not enough data: for message update {$log}, getting difference...", \danog\MadelineProto\Logger::VERBOSE); $update = ['_' => 'updateChannelTooLong']; @@ -208,7 +208,7 @@ class FeedLoop extends ResumableSignalLoop break; default: if ($channelId && !(yield from $this->API->peerIsset($this->API->toSupergroup($channelId)))) { - $this->API->logger->logger('Skipping update, I do not have the channel id ' . $channelId, \danog\MadelineProto\Logger::ERROR); + $this->API->logger->logger('Skipping update, I do not have the channel id '.$channelId, \danog\MadelineProto\Logger::ERROR); return false; } break; @@ -220,7 +220,7 @@ class FeedLoop extends ResumableSignalLoop return yield from $this->API->feeders[false]->feedSingle($update); } } - $this->API->logger->logger('Was fed an update of type ' . $update['_'] . " in {$this}...", \danog\MadelineProto\Logger::VERBOSE); + $this->API->logger->logger('Was fed an update of type '.$update['_']." in {$this}...", \danog\MadelineProto\Logger::VERBOSE); $this->incomingUpdates[] = $update; return $this->channelId; } @@ -236,7 +236,7 @@ class FeedLoop extends ResumableSignalLoop continue; } if ($message['_'] !== 'messageEmpty') { - $this->API->logger->logger('Getdiff fed me message of type ' . $message['_'] . " in {$this}...", \danog\MadelineProto\Logger::VERBOSE); + $this->API->logger->logger('Getdiff fed me message of type '.$message['_']." in {$this}...", \danog\MadelineProto\Logger::VERBOSE); } $this->parsedUpdates[] = ['_' => $this->channelId === false ? 'updateNewMessage' : 'updateNewChannelMessage', 'message' => $message, 'pts' => -1, 'pts_count' => -1]; } diff --git a/src/danog/MadelineProto/Loop/Update/SeqLoop.php b/src/danog/MadelineProto/Loop/Update/SeqLoop.php index 8c18685c..2cd18c90 100644 --- a/src/danog/MadelineProto/Loop/Update/SeqLoop.php +++ b/src/danog/MadelineProto/Loop/Update/SeqLoop.php @@ -89,7 +89,7 @@ class SeqLoop extends ResumableSignalLoop $seq_end = $options['seq_end']; $result = $this->state->checkSeq($seq_start); if ($result > 0) { - $this->API->logger->logger('Seq hole. seq_start: ' . $seq_start . ' != cur seq: ' . ($this->state->seq() + 1), \danog\MadelineProto\Logger::ERROR); + $this->API->logger->logger('Seq hole. seq_start: '.$seq_start.' != cur seq: '.($this->state->seq() + 1), \danog\MadelineProto\Logger::ERROR); yield $this->pause(1.0); if (!$this->incomingUpdates) { yield $this->API->updaters[false]->resume(); @@ -98,7 +98,7 @@ class SeqLoop extends ResumableSignalLoop continue; } if ($result < 0) { - $this->API->logger->logger('Seq too old. seq_start: ' . $seq_start . ' != cur seq: ' . ($this->state->seq() + 1), \danog\MadelineProto\Logger::ERROR); + $this->API->logger->logger('Seq too old. seq_start: '.$seq_start.' != cur seq: '.($this->state->seq() + 1), \danog\MadelineProto\Logger::ERROR); continue; } $this->state->seq($seq_end); @@ -110,7 +110,7 @@ class SeqLoop extends ResumableSignalLoop } public function feed($updates) { - $this->API->logger->logger('Was fed updates of type ' . $updates['_'] . '...', \danog\MadelineProto\Logger::VERBOSE); + $this->API->logger->logger('Was fed updates of type '.$updates['_'].'...', \danog\MadelineProto\Logger::VERBOSE); $this->incomingUpdates[] = $updates; } public function save($updates): \Generator diff --git a/src/danog/MadelineProto/Loop/Update/UpdateLoop.php b/src/danog/MadelineProto/Loop/Update/UpdateLoop.php index 85de83e5..3f1760af 100644 --- a/src/danog/MadelineProto/Loop/Update/UpdateLoop.php +++ b/src/danog/MadelineProto/Loop/Update/UpdateLoop.php @@ -64,7 +64,7 @@ class UpdateLoop extends ResumableSignalLoop $this->toPts = null; while (true) { if ($this->channelId) { - $API->logger->logger('Resumed and fetching ' . $this->channelId . ' difference...', \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $API->logger->logger('Resumed and fetching '.$this->channelId.' difference...', \danog\MadelineProto\Logger::ULTRA_VERBOSE); if ($state->pts() <= 1) { $limit = 10; } elseif ($API->authorization['user']['bot']) { @@ -74,7 +74,7 @@ class UpdateLoop extends ResumableSignalLoop } $request_pts = $state->pts(); try { - $difference = yield from $API->methodCallAsyncRead('updates.getChannelDifference', ['channel' => 'channel#' . $this->channelId, 'filter' => ['_' => 'channelMessagesFilterEmpty'], 'pts' => $request_pts, 'limit' => $limit, 'force' => true], ['datacenter' => $API->datacenter->curdc, 'postpone' => $first]); + $difference = yield from $API->methodCallAsyncRead('updates.getChannelDifference', ['channel' => 'channel#'.$this->channelId, 'filter' => ['_' => 'channelMessagesFilterEmpty'], 'pts' => $request_pts, 'limit' => $limit, 'force' => true], ['datacenter' => $API->datacenter->curdc, 'postpone' => $first]); } catch (RPCErrorException $e) { if (\in_array($e->rpc, ['CHANNEL_PRIVATE', 'CHAT_FORBIDDEN', 'CHANNEL_INVALID'])) { $feeder->signal(true); @@ -97,7 +97,7 @@ class UpdateLoop extends ResumableSignalLoop if (isset($difference['timeout'])) { $timeout = $difference['timeout']; } - $API->logger->logger('Got ' . $difference['_'], \danog\MadelineProto\Logger::VERBOSE); + $API->logger->logger('Got '.$difference['_'], \danog\MadelineProto\Logger::VERBOSE); switch ($difference['_']) { case 'updates.channelDifferenceEmpty': $state->update($difference); @@ -105,7 +105,7 @@ class UpdateLoop extends ResumableSignalLoop break 2; case 'updates.channelDifference': if ($request_pts >= $difference['pts'] && $request_pts > 1) { - $API->logger->logger("The PTS ({$difference['pts']}) I got with getDifference is smaller than the PTS I requested " . $state->pts() . ', using ' . ($state->pts() + 1), \danog\MadelineProto\Logger::VERBOSE); + $API->logger->logger("The PTS ({$difference['pts']}) I got with getDifference is smaller than the PTS I requested ".$state->pts().', using '.($state->pts() + 1), \danog\MadelineProto\Logger::VERBOSE); $difference['pts'] = $request_pts + 1; } $result += (yield from $feeder->feed($difference['other_updates'])); @@ -130,12 +130,12 @@ class UpdateLoop extends ResumableSignalLoop unset($difference); break; default: - throw new \danog\MadelineProto\Exception('Unrecognized update difference received: ' . \var_export($difference, true)); + throw new \danog\MadelineProto\Exception('Unrecognized update difference received: '.\var_export($difference, true)); } } else { $API->logger->logger('Resumed and fetching normal difference...', \danog\MadelineProto\Logger::ULTRA_VERBOSE); $difference = yield from $API->methodCallAsyncRead('updates.getDifference', ['pts' => $state->pts(), 'date' => $state->date(), 'qts' => $state->qts()], ['datacenter' => $API->settings['connection_settings']['default_dc']]); - $API->logger->logger('Got ' . $difference['_'], \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $API->logger->logger('Got '.$difference['_'], \danog\MadelineProto\Logger::ULTRA_VERBOSE); switch ($difference['_']) { case 'updates.differenceEmpty': $state->update($difference); @@ -172,7 +172,7 @@ class UpdateLoop extends ResumableSignalLoop unset($difference); break; default: - throw new \danog\MadelineProto\Exception('Unrecognized update difference received: ' . \var_export($difference, true)); + throw new \danog\MadelineProto\Exception('Unrecognized update difference received: '.\var_export($difference, true)); } } } diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index ac34c07d..c59152b2 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -872,7 +872,7 @@ class MTProto extends AsyncConstruct implements TLCallback yield from $this->updateSettings($backtrace['args'][1], false); } } - if (($this->settings['tl_schema']['src']['botAPI'] ?? '') !== __DIR__.'/TL_botAPI.tl') { + if (($this->settings['tl_schema']['src']['botAPI'] ?? '') !== __DIR__.'/../../../schemas/TL_botAPI.tl') { unset($this->v); } if (!\file_exists($this->settings['tl_schema']['src']['telegram'])) { @@ -1183,16 +1183,15 @@ class MTProto extends AsyncConstruct implements TLCallback 'layer' => 111, // layer version 'src' => [ - 'mtproto' => __DIR__.'/TL_mtproto_v1.tl', + 'mtproto' => __DIR__.'/../../../schemas/TL_mtproto_v1.tl', // mtproto TL scheme - 'telegram' => __DIR__.'/TL_telegram_v111.tl', + 'telegram' => __DIR__.'/../../../schemas/TL_telegram_v111.tl', // telegram TL scheme - 'secret' => __DIR__.'/TL_secret.tl', + 'secret' => __DIR__.'/../../../schemas/TL_secret.tl', // secret chats TL scheme - 'calls' => __DIR__.'/TL_calls.tl', + 'calls' => __DIR__.'/../../../schemas/TL_calls.tl', // calls TL scheme - //'td' => __DIR__.'/TL_td.tl', // telegram-cli TL scheme - 'botAPI' => __DIR__.'/TL_botAPI.tl', + 'botAPI' => __DIR__.'/../../../schemas/TL_botAPI.tl', ], ], 'logger' => [ // Logger settings diff --git a/src/danog/MadelineProto/MTProto/PermAuthKey.php b/src/danog/MadelineProto/MTProto/PermAuthKey.php index b1299d13..44ead00d 100644 --- a/src/danog/MadelineProto/MTProto/PermAuthKey.php +++ b/src/danog/MadelineProto/MTProto/PermAuthKey.php @@ -69,7 +69,7 @@ class PermAuthKey extends AuthKey */ public function jsonSerialize(): array { - return ['auth_key' => 'pony' . \base64_encode($this->authKey), 'server_salt' => $this->serverSalt, 'authorized' => $this->authorized]; + return ['auth_key' => 'pony'.\base64_encode($this->authKey), 'server_salt' => $this->serverSalt, 'authorized' => $this->authorized]; } /** * Sleep function. diff --git a/src/danog/MadelineProto/MTProto/TempAuthKey.php b/src/danog/MadelineProto/MTProto/TempAuthKey.php index 9915067c..0abcfe0f 100644 --- a/src/danog/MadelineProto/MTProto/TempAuthKey.php +++ b/src/danog/MadelineProto/MTProto/TempAuthKey.php @@ -152,7 +152,7 @@ class TempAuthKey extends AuthKey implements JsonSerializable */ public function jsonSerialize(): array { - return ['auth_key' => 'pony' . \base64_encode($this->authKey), 'server_salt' => $this->serverSalt, 'bound' => $this->isBound(), 'expires' => $this->expires, 'connection_inited' => $this->inited]; + return ['auth_key' => 'pony'.\base64_encode($this->authKey), 'server_salt' => $this->serverSalt, 'bound' => $this->isBound(), 'expires' => $this->expires, 'connection_inited' => $this->inited]; } /** * Sleep function. diff --git a/src/danog/MadelineProto/MTProtoSession/AckHandler.php b/src/danog/MadelineProto/MTProtoSession/AckHandler.php index 3348a0f1..e92543a3 100644 --- a/src/danog/MadelineProto/MTProtoSession/AckHandler.php +++ b/src/danog/MadelineProto/MTProtoSession/AckHandler.php @@ -28,7 +28,7 @@ trait AckHandler { // The server acknowledges that it received my message if (!isset($this->outgoing_messages[$message_id])) { - $this->logger->logger("WARNING: Couldn't find message id " . $message_id . ' in the array of outgoing messages. Maybe try to increase its size?', \danog\MadelineProto\Logger::WARNING); + $this->logger->logger("WARNING: Couldn't find message id ".$message_id.' in the array of outgoing messages. Maybe try to increase its size?', \danog\MadelineProto\Logger::WARNING); return false; } //$this->logger->logger("Ack-ed ".$this->outgoing_messages[$message_id]['_']." with message ID $message_id on DC $datacenter"); @@ -48,7 +48,7 @@ trait AckHandler unset($this->new_outgoing[$message_id]); } if (!isset($this->outgoing_messages[$message_id])) { - $this->logger->logger("WARNING: Couldn't find message id " . $message_id . ' in the array of outgoing messages. Maybe try to increase its size?', \danog\MadelineProto\Logger::WARNING); + $this->logger->logger("WARNING: Couldn't find message id ".$message_id.' in the array of outgoing messages. Maybe try to increase its size?', \danog\MadelineProto\Logger::WARNING); return false; } if (isset($this->outgoing_messages[$message_id]['body'])) { @@ -63,7 +63,7 @@ trait AckHandler { // I let the server know that I received its message if (!isset($this->incoming_messages[$message_id])) { - $this->logger->logger("WARNING: Couldn't find message id " . $message_id . ' in the array of incoming messages. Maybe try to increase its size?', \danog\MadelineProto\Logger::WARNING); + $this->logger->logger("WARNING: Couldn't find message id ".$message_id.' in the array of incoming messages. Maybe try to increase its size?', \danog\MadelineProto\Logger::WARNING); } /*if ($this->temp_auth_key['id'] === null || $this->temp_auth_key['id'] === "\0\0\0\0\0\0\0\0") { // || (isset($this->incoming_messages[$message_id]['ack']) && $this->incoming_messages[$message_id]['ack'])) { diff --git a/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php b/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php index fee21e7b..d50609c4 100644 --- a/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php +++ b/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php @@ -30,7 +30,7 @@ trait ResponseHandler { public function sendMsgsStateInfo($req_msg_id, $msg_ids): \Generator { - $this->logger->logger('Sending state info for ' . \count($msg_ids) . ' message IDs'); + $this->logger->logger('Sending state info for '.\count($msg_ids).' message IDs'); $info = ''; foreach ($msg_ids as $msg_id) { $cur_info = 0; @@ -65,7 +65,7 @@ trait ResponseHandler unset($this->new_incoming[$current_msg_id]); continue; } - $this->logger->logger((isset($this->incoming_messages[$current_msg_id]['from_container']) ? 'Inside of container, received ' : 'Received ') . $this->incoming_messages[$current_msg_id]['content']['_'] . ' from DC ' . $this->datacenter, \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $this->logger->logger((isset($this->incoming_messages[$current_msg_id]['from_container']) ? 'Inside of container, received ' : 'Received ').$this->incoming_messages[$current_msg_id]['content']['_'].' from DC '.$this->datacenter, \danog\MadelineProto\Logger::ULTRA_VERBOSE); switch ($this->incoming_messages[$current_msg_id]['content']['_']) { case 'msgs_ack': unset($this->new_incoming[$current_msg_id]); @@ -166,7 +166,7 @@ trait ResponseHandler foreach ($this->incoming_messages[$current_msg_id]['content']['msg_ids'] as $key => $msg_id) { $info = \ord($this->incoming_messages[$current_msg_id]['content']['info'][$key]); $msg_id = new \tgseclib\Math\BigInteger(\strrev($msg_id), 256); - $status = 'Status for message id ' . $msg_id . ': '; + $status = 'Status for message id '.$msg_id.': '; /*if ($info & 4) { *$this->gotResponseForOutgoingMessageId($msg_id); *} @@ -246,13 +246,13 @@ trait ResponseHandler break; default: $only_updates = false; - $this->logger->logger('Trying to assign a response of type ' . $response_type . ' to its request...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Trying to assign a response of type '.$response_type.' to its request...', \danog\MadelineProto\Logger::VERBOSE); foreach ($this->new_outgoing as $key => $expecting_msg_id) { $expecting = $this->outgoing_messages[$expecting_msg_id]; if (!isset($expecting['type'])) { continue; } - $this->logger->logger('Does the request of return type ' . $expecting['type'] . ' match?', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Does the request of return type '.$expecting['type'].' match?', \danog\MadelineProto\Logger::VERBOSE); if ($response_type === $expecting['type']) { $this->logger->logger('Yes', \danog\MadelineProto\Logger::VERBOSE); unset($this->new_incoming[$current_msg_id]); @@ -261,7 +261,7 @@ trait ResponseHandler } $this->logger->logger('No', \danog\MadelineProto\Logger::VERBOSE); } - $this->logger->logger('Dunno how to handle ' . PHP_EOL . \var_export($this->incoming_messages[$current_msg_id]['content'], true), \danog\MadelineProto\Logger::FATAL_ERROR); + $this->logger->logger('Dunno how to handle '.PHP_EOL.\var_export($this->incoming_messages[$current_msg_id]['content'], true), \danog\MadelineProto\Logger::FATAL_ERROR); unset($this->new_incoming[$current_msg_id]); break; } @@ -287,7 +287,7 @@ trait ResponseHandler if (isset($request['promise']) && \is_object($request['promise'])) { Loop::defer(function () use (&$request, $data) { if (isset($request['promise'])) { - $this->logger->logger('Rejecting: ' . (isset($request['_']) ? $request['_'] : '-')); + $this->logger->logger('Rejecting: '.(isset($request['_']) ? $request['_'] : '-')); $this->logger->logger("Rejecting: {$data}"); $promise = $request['promise']; unset($request['promise']); @@ -300,7 +300,7 @@ trait ResponseHandler $this->logger->logger("Got promise already resolved error", \danog\MadelineProto\Logger::FATAL_ERROR); } } else { - $this->logger->logger('Rejecting: already got response for ' . (isset($request['_']) ? $request['_'] : '-')); + $this->logger->logger('Rejecting: already got response for '.(isset($request['_']) ? $request['_'] : '-')); $this->logger->logger("Rejecting: {$data}"); } }); @@ -309,7 +309,7 @@ trait ResponseHandler $this->handleReject($this->outgoing_messages[$message_id], $data); } } else { - $this->logger->logger('Rejecting: already got response for ' . (isset($request['_']) ? $request['_'] : '-')); + $this->logger->logger('Rejecting: already got response for '.(isset($request['_']) ? $request['_'] : '-')); $this->logger->logger("Rejecting: {$data}"); } } @@ -358,7 +358,7 @@ trait ResponseHandler return; case 303: $this->API->datacenter->curdc = $datacenter = (int) \preg_replace('/[^0-9]+/', '', $response['error_message']); - if (isset($request['file']) && $request['file'] && $this->API->datacenter->has($datacenter . '_media')) { + if (isset($request['file']) && $request['file'] && $this->API->datacenter->has($datacenter.'_media')) { $datacenter .= '_media'; } if (isset($request['user_related']) && $request['user_related']) { @@ -383,8 +383,8 @@ trait ResponseHandler $this->logger->logger('!!!!!!! WARNING !!!!!!!', \danog\MadelineProto\Logger::FATAL_ERROR); $this->logger->logger("Telegram's flood prevention system suspended this account.", \danog\MadelineProto\Logger::ERROR); $this->logger->logger('To continue, manual verification is required.', \danog\MadelineProto\Logger::FATAL_ERROR); - $phone = isset($this->authorization['user']['phone']) ? '+' . $this->authorization['user']['phone'] : 'you are currently using'; - $this->logger->logger('Send an email to recover@telegram.org, asking to unban the phone number ' . $phone . ', and shortly describe what will you do with this phone number.', \danog\MadelineProto\Logger::FATAL_ERROR); + $phone = isset($this->authorization['user']['phone']) ? '+'.$this->authorization['user']['phone'] : 'you are currently using'; + $this->logger->logger('Send an email to recover@telegram.org, asking to unban the phone number '.$phone.', and shortly describe what will you do with this phone number.', \danog\MadelineProto\Logger::FATAL_ERROR); $this->logger->logger('Then login again.', \danog\MadelineProto\Logger::FATAL_ERROR); $this->logger->logger('If you intentionally deleted this account, ignore this message.', \danog\MadelineProto\Logger::FATAL_ERROR); } @@ -418,8 +418,8 @@ trait ResponseHandler $this->logger->logger('!!!!!!! WARNING !!!!!!!', \danog\MadelineProto\Logger::FATAL_ERROR); $this->logger->logger("Telegram's flood prevention system suspended this account.", \danog\MadelineProto\Logger::ERROR); $this->logger->logger('To continue, manual verification is required.', \danog\MadelineProto\Logger::FATAL_ERROR); - $phone = isset($this->authorization['user']['phone']) ? '+' . $this->authorization['user']['phone'] : 'you are currently using'; - $this->logger->logger('Send an email to recover@telegram.org, asking to unban the phone number ' . $phone . ', and quickly describe what will you do with this phone number.', \danog\MadelineProto\Logger::FATAL_ERROR); + $phone = isset($this->authorization['user']['phone']) ? '+'.$this->authorization['user']['phone'] : 'you are currently using'; + $this->logger->logger('Send an email to recover@telegram.org, asking to unban the phone number '.$phone.', and quickly describe what will you do with this phone number.', \danog\MadelineProto\Logger::FATAL_ERROR); $this->logger->logger('Then login again.', \danog\MadelineProto\Logger::FATAL_ERROR); $this->logger->logger('If you intentionally deleted this account, ignore this message.', \danog\MadelineProto\Logger::FATAL_ERROR); $this->API->resetSession(); @@ -451,7 +451,7 @@ trait ResponseHandler $limit = $request['FloodWaitLimit'] ?? $this->API->settings['flood_timeout']['wait_if_lt']; if (\is_numeric($seconds) && $seconds < $limit) { //$this->gotResponseForOutgoingMessageId($request_id); - $this->logger->logger('Flood, waiting ' . $seconds . ' seconds before repeating async call of ' . ($request['_'] ?? '') . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Flood, waiting '.$seconds.' seconds before repeating async call of '.($request['_'] ?? '').'...', \danog\MadelineProto\Logger::NOTICE); $request['sent'] = ($request['sent'] ?? \time()) + $seconds; Loop::delay($seconds * 1000, [$this, 'methodRecall'], ['message_id' => $request_id]); return; @@ -469,7 +469,7 @@ trait ResponseHandler break; case 'bad_server_salt': case 'bad_msg_notification': - $this->logger->logger('Received bad_msg_notification: ' . MTProto::BAD_MSG_ERROR_CODES[$response['error_code']], \danog\MadelineProto\Logger::WARNING); + $this->logger->logger('Received bad_msg_notification: '.MTProto::BAD_MSG_ERROR_CODES[$response['error_code']], \danog\MadelineProto\Logger::WARNING); switch ($response['error_code']) { case 48: $this->shared->getTempAuthKey()->setServerSalt($response['new_server_salt']); @@ -478,7 +478,7 @@ trait ResponseHandler case 16: case 17: $this->time_delta = (int) (new \tgseclib\Math\BigInteger(\strrev($response_id), 256))->bitwise_rightShift(32)->subtract(new \tgseclib\Math\BigInteger(\time()))->toString(); - $this->logger->logger('Set time delta to ' . $this->time_delta, \danog\MadelineProto\Logger::WARNING); + $this->logger->logger('Set time delta to '.$this->time_delta, \danog\MadelineProto\Logger::WARNING); $this->API->resetMTProtoSession(); $this->shared->setTempAuthKey(null); \danog\MadelineProto\Tools::callFork((function () use ($request_id): \Generator { @@ -488,7 +488,7 @@ trait ResponseHandler return; } $this->gotResponseForOutgoingMessageId($request_id); - $this->handleReject($request, new \danog\MadelineProto\RPCErrorException('Received bad_msg_notification: ' . MTProto::BAD_MSG_ERROR_CODES[$response['error_code']], $response['error_code'], $request['_'] ?? '')); + $this->handleReject($request, new \danog\MadelineProto\RPCErrorException('Received bad_msg_notification: '.MTProto::BAD_MSG_ERROR_CODES[$response['error_code']], $response['error_code'], $request['_'] ?? '')); return; } } @@ -497,7 +497,7 @@ trait ResponseHandler } if (!isset($request['promise'])) { $this->gotResponseForOutgoingMessageId($request_id); - $this->logger->logger('Response: already got response for ' . (isset($request['_']) ? $request['_'] : '-') . ' with message ID ' . $request_id); + $this->logger->logger('Response: already got response for '.(isset($request['_']) ? $request['_'] : '-').' with message ID '.$request_id); return; } $botAPI = isset($request['botAPI']) && $request['botAPI']; diff --git a/src/danog/MadelineProto/MTProtoSession/SeqNoHandler.php b/src/danog/MadelineProto/MTProtoSession/SeqNoHandler.php index b75b7b34..5f11d11a 100644 --- a/src/danog/MadelineProto/MTProtoSession/SeqNoHandler.php +++ b/src/danog/MadelineProto/MTProtoSession/SeqNoHandler.php @@ -41,7 +41,7 @@ trait SeqNoHandler { $type = isset($this->incoming_messages[$current_msg_id]['content']['_']) ? $this->incoming_messages[$current_msg_id]['content']['_'] : '-'; if (isset($this->incoming_messages[$current_msg_id]['seq_no']) && ($seq_no = $this->generateInSeqNo($this->contentRelated($this->incoming_messages[$current_msg_id]['content']))) !== $this->incoming_messages[$current_msg_id]['seq_no']) { - $this->API->logger->logger('SECURITY WARNING: Seqno mismatch (should be ' . $seq_no . ', is ' . $this->incoming_messages[$current_msg_id]['seq_no'] . ', ' . $type . ')', \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $this->API->logger->logger('SECURITY WARNING: Seqno mismatch (should be '.$seq_no.', is '.$this->incoming_messages[$current_msg_id]['seq_no'].', '.$type.')', \danog\MadelineProto\Logger::ULTRA_VERBOSE); } } public function generateInSeqNo($contentRelated) diff --git a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php index b832eec0..2ae02871 100644 --- a/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/AuthKeyHandler.php @@ -213,7 +213,7 @@ trait AuthKeyHandler $encrypted_answer = $server_dh_params['encrypted_answer']; $tmp_aes_key = \sha1($new_nonce.$server_nonce, true).\substr(\sha1($server_nonce.$new_nonce, true), 0, 12); $tmp_aes_iv = \substr(\sha1($server_nonce.$new_nonce, true), 12, 8).\sha1($new_nonce.$new_nonce, true).\substr($new_nonce, 0, 4); - $answer_with_hash = $this->igeDecrypt($encrypted_answer, $tmp_aes_key, $tmp_aes_iv); + $answer_with_hash = Crypt::igeDecrypt($encrypted_answer, $tmp_aes_key, $tmp_aes_iv); /* * *********************************************************************** * Separate answer and hash @@ -294,7 +294,7 @@ trait AuthKeyHandler */ $data_with_sha = \sha1($data, true).$data; $data_with_sha_padded = $data_with_sha.\danog\MadelineProto\Tools::random(\danog\MadelineProto\Tools::posmod(-\strlen($data_with_sha), 16)); - $encrypted_data = $this->igeEncrypt($data_with_sha_padded, $tmp_aes_key, $tmp_aes_iv); + $encrypted_data = Crypt::igeEncrypt($data_with_sha_padded, $tmp_aes_key, $tmp_aes_iv); $this->logger->logger('Executing set_client_DH_params...', \danog\MadelineProto\Logger::VERBOSE); /* * *********************************************************************** @@ -519,8 +519,8 @@ trait AuthKeyHandler $encrypted_data = \danog\MadelineProto\Tools::random(16).$message_id.\pack('VV', $seq_no, \strlen($message_data)).$message_data; $message_key = \substr(\sha1($encrypted_data, true), -16); $padding = \danog\MadelineProto\Tools::random(\danog\MadelineProto\Tools::posmod(-\strlen($encrypted_data), 16)); - list($aes_key, $aes_iv) = $this->oldAesCalculate($message_key, $datacenterConnection->getPermAuthKey()->getAuthKey()); - $encrypted_message = $datacenterConnection->getPermAuthKey()->getID().$message_key.$this->igeEncrypt($encrypted_data.$padding, $aes_key, $aes_iv); + list($aes_key, $aes_iv) = Crypt::oldAesCalculate($message_key, $datacenterConnection->getPermAuthKey()->getAuthKey()); + $encrypted_message = $datacenterConnection->getPermAuthKey()->getID().$message_key.Crypt::igeEncrypt($encrypted_data.$padding, $aes_key, $aes_iv); $res = yield from $connection->methodCallAsyncRead('auth.bindTempAuthKey', ['perm_auth_key_id' => $perm_auth_key_id, 'nonce' => $nonce, 'expires_at' => $expires_at, 'encrypted_message' => $encrypted_message], ['msg_id' => $message_id]); if ($res === true) { $this->logger->logger('Bound temporary and permanent authorization keys, DC '.$datacenter, \danog\MadelineProto\Logger::NOTICE); diff --git a/src/danog/MadelineProto/MTProtoTools/Files.php b/src/danog/MadelineProto/MTProtoTools/Files.php index 29cae298..48be3590 100644 --- a/src/danog/MadelineProto/MTProtoTools/Files.php +++ b/src/danog/MadelineProto/MTProtoTools/Files.php @@ -87,7 +87,7 @@ trait Files if (!$this->settings['upload']['allow_automatic_upload']) { return yield from $this->uploadFromUrl($file, 0, $fileName, $cb, $encrypted); } - $file = \danog\MadelineProto\Absolute::absolute($file); + $file = Tools::absolute($file); if (!yield exists($file)) { throw new \danog\MadelineProto\Exception(\danog\MadelineProto\Lang::$current_lang['file_not_exist']); } @@ -1095,7 +1095,7 @@ trait Files $cb = $file; $file = $file->getFile(); } - $file = \danog\MadelineProto\Absolute::absolute(\preg_replace('|/+|', '/', $file)); + $file = Tools::absolute(\preg_replace('|/+|', '/', $file)); if (!yield exists($file)) { yield \touch($file); } @@ -1388,7 +1388,7 @@ trait Files } if (isset($messageMedia['cdn_key'])) { $ivec = \substr($messageMedia['cdn_iv'], 0, 12).\pack('N', $offset['offset'] >> 4); - $res['bytes'] = $this->ctrEncrypt($res['bytes'], $messageMedia['cdn_key'], $ivec); + $res['bytes'] = Crypt::ctrEncrypt($res['bytes'], $messageMedia['cdn_key'], $ivec); $this->checkCdnHash($messageMedia['file_token'], $offset['offset'], $res['bytes'], $old_dc); } if (isset($messageMedia['key'])) { diff --git a/src/danog/MadelineProto/MTProtoTools/MinDatabase.php b/src/danog/MadelineProto/MTProtoTools/MinDatabase.php index 3114b556..a7ad3b22 100644 --- a/src/danog/MadelineProto/MTProtoTools/MinDatabase.php +++ b/src/danog/MadelineProto/MTProtoTools/MinDatabase.php @@ -96,7 +96,7 @@ class MinDatabase implements TLCallback public function reset() { if ($this->cache) { - $this->API->logger->logger('Found ' . \count($this->cache) . ' pending contexts', \danog\MadelineProto\Logger::ERROR); + $this->API->logger->logger('Found '.\count($this->cache).' pending contexts', \danog\MadelineProto\Logger::ERROR); $this->cache = []; } } @@ -130,7 +130,7 @@ class MinDatabase implements TLCallback $frames = \array_reverse($frames); $tl_trace = \array_shift($frames); foreach ($frames as $frame) { - $tl_trace .= "['" . $frame . "']"; + $tl_trace .= "['".$frame."']"; } $this->API->logger->logger($tl_trace, \danog\MadelineProto\Logger::ERROR); return false; @@ -194,7 +194,7 @@ class MinDatabase implements TLCallback } $this->db[$id] = $origin; } - $this->API->logger->logger("Added origin ({$data['_']}) to " . \count($cache) . ' peer locations', \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $this->API->logger->logger("Added origin ({$data['_']}) to ".\count($cache).' peer locations', \danog\MadelineProto\Logger::ULTRA_VERBOSE); } public function populateFrom(array $object): \Generator { @@ -228,6 +228,6 @@ class MinDatabase implements TLCallback } public function __debugInfo() { - return ['MinDatabase instance ' . \spl_object_hash($this)]; + return ['MinDatabase instance '.\spl_object_hash($this)]; } } diff --git a/src/danog/MadelineProto/MTProtoTools/PasswordCalculator.php b/src/danog/MadelineProto/MTProtoTools/PasswordCalculator.php index 4741fb54..78bdc8ff 100644 --- a/src/danog/MadelineProto/MTProtoTools/PasswordCalculator.php +++ b/src/danog/MadelineProto/MTProtoTools/PasswordCalculator.php @@ -155,7 +155,7 @@ class PasswordCalculator */ public function createSalt(string $prefix = ''): string { - return $prefix . \danog\MadelineProto\Tools::random(32); + return $prefix.\danog\MadelineProto\Tools::random(32); } /** * Hash specified data using the salt with SHA256. @@ -168,7 +168,7 @@ class PasswordCalculator */ public function hashSha256(string $data, string $salt): string { - return \hash('sha256', $salt . $data . $salt, true); + return \hash('sha256', $salt.$data.$salt, true); } /** * Hashes the specified password. @@ -207,14 +207,14 @@ class PasswordCalculator $id = $this->srp_id; $x = new BigInteger($this->hashPassword($password, $client_salt, $server_salt), 256); $g_x = $g->powMod($x, $p); - $k = new BigInteger(\hash('sha256', $pForHash . $gForHash, true), 256); + $k = new BigInteger(\hash('sha256', $pForHash.$gForHash, true), 256); $kg_x = $k->multiply($g_x)->powMod(Magic::$one, $p); $a = new BigInteger(\danog\MadelineProto\Tools::random(2048 / 8), 256); $A = $g->powMod($a, $p); $this->checkG($A, $p); $AForHash = \str_pad($A->toBytes(), 256, \chr(0), \STR_PAD_LEFT); $b_kg_x = $B->powMod(Magic::$one, $p)->subtract($kg_x); - $u = new BigInteger(\hash('sha256', $AForHash . $BForHash, true), 256); + $u = new BigInteger(\hash('sha256', $AForHash.$BForHash, true), 256); $ux = $u->multiply($x); $a_ux = $a->add($ux); $S = $b_kg_x->powMod($a_ux, $p); @@ -223,7 +223,7 @@ class PasswordCalculator $h1 = \hash('sha256', $pForHash, true); $h2 = \hash('sha256', $gForHash, true); $h1 ^= $h2; - $M1 = \hash('sha256', $h1 . \hash('sha256', $client_salt, true) . \hash('sha256', $server_salt, true) . $AForHash . $BForHash . $K, true); + $M1 = \hash('sha256', $h1.\hash('sha256', $client_salt, true).\hash('sha256', $server_salt, true).$AForHash.$BForHash.$K, true); return ['_' => 'inputCheckPasswordSRP', 'srp_id' => $id, 'A' => $AForHash, 'M1' => $M1]; } /** diff --git a/src/danog/MadelineProto/MTProtoTools/ReferenceDatabase.php b/src/danog/MadelineProto/MTProtoTools/ReferenceDatabase.php index 32900778..236fb4f9 100644 --- a/src/danog/MadelineProto/MTProtoTools/ReferenceDatabase.php +++ b/src/danog/MadelineProto/MTProtoTools/ReferenceDatabase.php @@ -125,7 +125,7 @@ class ReferenceDatabase implements TLCallback public function reset() { if ($this->cacheContexts) { - $this->API->logger->logger('Found ' . \count($this->cacheContexts) . ' pending contexts', \danog\MadelineProto\Logger::ERROR); + $this->API->logger->logger('Found '.\count($this->cacheContexts).' pending contexts', \danog\MadelineProto\Logger::ERROR); $this->cacheContexts = []; } if ($this->cache) { @@ -162,7 +162,7 @@ class ReferenceDatabase implements TLCallback $frames = \array_reverse($frames); $tl_trace = \array_shift($frames); foreach ($frames as $frame) { - $tl_trace .= "['" . $frame . "']"; + $tl_trace .= "['".$frame."']"; } $this->API->logger->logger($tl_trace, \danog\MadelineProto\Logger::ERROR); return false; @@ -183,7 +183,7 @@ class ReferenceDatabase implements TLCallback $locationType = self::PHOTO_LOCATION_LOCATION; break; default: - throw new Exception('Unknown location type provided: ' . $location['_']); + throw new Exception('Unknown location type provided: '.$location['_']); } $this->API->logger->logger("Caching reference from location of type {$locationType} from {$location['_']}", \danog\MadelineProto\Logger::ULTRA_VERBOSE); if (!isset($this->cache[$key])) { @@ -266,7 +266,7 @@ class ReferenceDatabase implements TLCallback foreach ($cache as $location => $reference) { $this->cache[$key][$location] = $reference; } - $this->API->logger->logger("Skipped origin {$originType} ({$data['_']}) for " . \count($cache) . ' references', \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $this->API->logger->logger("Skipped origin {$originType} ({$data['_']}) for ".\count($cache).' references', \danog\MadelineProto\Logger::ULTRA_VERBOSE); return; } break; @@ -279,7 +279,7 @@ class ReferenceDatabase implements TLCallback foreach ($cache as $location => $reference) { $this->storeReference($location, $reference, $originType, $origin); } - $this->API->logger->logger("Added origin {$originType} ({$data['_']}) to " . \count($cache) . ' references', \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $this->API->logger->logger("Added origin {$originType} ({$data['_']}) to ".\count($cache).' references', \danog\MadelineProto\Logger::ULTRA_VERBOSE); } public function addOriginMethodContext(string $type) { @@ -359,7 +359,7 @@ class ReferenceDatabase implements TLCallback foreach ($cache as $location => $reference) { $this->storeReference($location, $reference, $originType, $origin); } - $this->API->logger->logger("Added origin {$originType} ({$data['_']}) to " . \count($cache) . ' references', \danog\MadelineProto\Logger::ULTRA_VERBOSE); + $this->API->logger->logger("Added origin {$originType} ({$data['_']}) to ".\count($cache).' references', \danog\MadelineProto\Logger::ULTRA_VERBOSE); } public function storeReference(string $location, string $reference, int $originType, array $origin) { @@ -376,7 +376,7 @@ class ReferenceDatabase implements TLCallback $this->cache[$key][$location] = $reference; } } - public function refreshNext($refresh = false) + public function refreshNext(bool $refresh = false) { if ($this->refreshCount === 1 && !$refresh) { $this->refreshed = []; @@ -488,16 +488,16 @@ class ReferenceDatabase implements TLCallback switch ($locationType) { case self::DOCUMENT_LOCATION: case self::PHOTO_LOCATION: - return $locationType . (\is_int($location['id']) ? \danog\MadelineProto\Tools::packSignedLong($location['id']) : $location['id']); + return $locationType.(\is_int($location['id']) ? \danog\MadelineProto\Tools::packSignedLong($location['id']) : $location['id']); case self::PHOTO_LOCATION_LOCATION: $dc_id = \danog\MadelineProto\Tools::packSignedInt($location['dc_id']); $volume_id = \is_int($location['volume_id']) ? \danog\MadelineProto\Tools::packSignedLong($location['volume_id']) : $location['volume_id']; $local_id = \danog\MadelineProto\Tools::packSignedInt($location['local_id']); - return $locationType . $dc_id . $volume_id . $local_id; + return $locationType.$dc_id.$volume_id.$local_id; } } public function __debugInfo() { - return ['ReferenceDatabase instance ' . \spl_object_hash($this)]; + return ['ReferenceDatabase instance '.\spl_object_hash($this)]; } } diff --git a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php index 7fcc2c0f..67424f42 100644 --- a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php @@ -249,7 +249,7 @@ trait UpdateHandler if ($actual_updates) { $updates = $actual_updates; } - $this->logger->logger('Parsing updates (' . $updates['_'] . ') received via the socket...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Parsing updates ('.$updates['_'].') received via the socket...', \danog\MadelineProto\Logger::VERBOSE); switch ($updates['_']) { case 'updates': case 'updatesCombined': @@ -311,7 +311,7 @@ trait UpdateHandler $this->updaters[false]->resume(); break; default: - throw new \danog\MadelineProto\ResponseException('Unrecognized update received: ' . \var_export($updates, true)); + throw new \danog\MadelineProto\ResponseException('Unrecognized update received: '.\var_export($updates, true)); break; } } @@ -382,15 +382,15 @@ trait UpdateHandler $cur_state->qts($update['qts']); } if ($update['qts'] < $cur_state->qts()) { - $this->logger->logger('Duplicate update. update qts: ' . $update['qts'] . ' <= current qts ' . $cur_state->qts() . ', chat id: ' . $update['message']['chat_id'], \danog\MadelineProto\Logger::ERROR); + $this->logger->logger('Duplicate update. update qts: '.$update['qts'].' <= current qts '.$cur_state->qts().', chat id: '.$update['message']['chat_id'], \danog\MadelineProto\Logger::ERROR); return false; } if ($update['qts'] > $cur_state->qts() + 1) { - $this->logger->logger('Qts hole. Fetching updates manually: update qts: ' . $update['qts'] . ' > current qts ' . $cur_state->qts() . '+1, chat id: ' . $update['message']['chat_id'], \danog\MadelineProto\Logger::ERROR); + $this->logger->logger('Qts hole. Fetching updates manually: update qts: '.$update['qts'].' > current qts '.$cur_state->qts().'+1, chat id: '.$update['message']['chat_id'], \danog\MadelineProto\Logger::ERROR); $this->updaters[false]->resumeDefer(); return false; } - $this->logger->logger('Applying qts: ' . $update['qts'] . ' over current qts ' . $cur_state->qts() . ', chat id: ' . $update['message']['chat_id'], \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Applying qts: '.$update['qts'].' over current qts '.$cur_state->qts().', chat id: '.$update['message']['chat_id'], \danog\MadelineProto\Logger::VERBOSE); yield from $this->methodCallAsyncRead('messages.receivedQueue', ['max_qts' => $cur_state->qts($update['qts'])], ['datacenter' => $this->settings['connection_settings']['default_dc']]); } yield from $this->handleEncryptedUpdate($update); @@ -407,7 +407,7 @@ trait UpdateHandler if ($this->settings['secret_chats']['accept_chats'] === false || \is_array($this->settings['secret_chats']['accept_chats']) && !\in_array($update['chat']['admin_id'], $this->settings['secret_chats']['accept_chats'])) { return; } - $this->logger->logger('Accepting secret chat ' . $update['chat']['id'], \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Accepting secret chat '.$update['chat']['id'], \danog\MadelineProto\Logger::NOTICE); try { yield from $this->acceptSecretChat($update['chat']); } catch (RPCErrorException $e) { @@ -415,7 +415,7 @@ trait UpdateHandler } break; case 'encryptedChatDiscarded': - $this->logger->logger('Deleting secret chat ' . $update['chat']['id'] . ' because it was revoked by the other user', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Deleting secret chat '.$update['chat']['id'].' because it was revoked by the other user', \danog\MadelineProto\Logger::NOTICE); if (isset($this->secret_chats[$update['chat']['id']])) { unset($this->secret_chats[$update['chat']['id']]); } @@ -427,7 +427,7 @@ trait UpdateHandler } break; case 'encryptedChat': - $this->logger->logger('Completing creation of secret chat ' . $update['chat']['id'], \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Completing creation of secret chat '.$update['chat']['id'], \danog\MadelineProto\Logger::NOTICE); yield from $this->completeSecretChat($update['chat']); break; } @@ -471,7 +471,7 @@ trait UpdateHandler $request->setHeader('content-type', 'application/json'); $request->setBody($payload); $result = yield (yield $this->datacenter->getHTTPClient()->request($request))->getBody()->buffer(); - $this->logger->logger('Result of webhook query is ' . $result, \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Result of webhook query is '.$result, \danog\MadelineProto\Logger::NOTICE); $result = \json_decode($result, true); if (\is_array($result) && isset($result['method']) && $result['method'] != '' && \is_string($result['method'])) { try { diff --git a/src/danog/MadelineProto/MyTelegramOrgWrapper.php b/src/danog/MadelineProto/MyTelegramOrgWrapper.php index b915ca1e..f4c349aa 100644 --- a/src/danog/MadelineProto/MyTelegramOrgWrapper.php +++ b/src/danog/MadelineProto/MyTelegramOrgWrapper.php @@ -27,24 +27,71 @@ use Amp\Http\Client\Request; */ class MyTelegramOrgWrapper { - private $logged = false; - private $hash = ''; - private $number; - private $creation_hash; - private $settings = []; - private $async = true; + /** + * Whether we're logged in. + */ + private bool $logged = false; + /** + * Login hash. + */ + private string $hash = ''; + /** + * Phone number. + * + * @var string + */ + private string $number = ''; + /** + * Creation hash. + */ + private string $creation_hash = ''; + /** + * Settings. + */ + private array $settings = []; + /** + * Async setting. + */ + private bool $async = true; + /** + * Datacenter instance. + */ + private DataCenter $datacenter; + /** + * Cooke jar. + * + * @var InMemoryCookieJar + */ private $jar; + /** + * Endpoint. + */ const MY_TELEGRAM_URL = 'https://my.telegram.org'; - public function __sleep() + /** + * Sleep function. + * + * @return array + */ + public function __sleep(): array { return ['logged', 'hash', 'number', 'creation_hash', 'settings', 'async', 'jar']; } - public function __construct($settings = []) + /** + * Constructor. + * + * @param array $settings + */ + public function __construct(array $settings = []) { $this->settings = MTProto::parseSettings($settings, $this->settings); $this->__wakeup(); } - public function __wakeup() + /** + * Wakeup function. + * + * @return void + */ + public function __wakeup(): void { if ($this->settings === null) { $this->settings = []; @@ -64,10 +111,17 @@ class MyTelegramOrgWrapper } }, [], $this->settings['connection_settings'], true, $this->jar); } - public function login($number): \Generator + /** + * Login. + * + * @param string $number Phone number + * + * @return \Generator + */ + public function login(string $number): \Generator { $this->number = $number; - $request = new Request(self::MY_TELEGRAM_URL . '/auth/send_password', 'POST'); + $request = new Request(self::MY_TELEGRAM_URL.'/auth/send_password', 'POST'); $request->setBody(\http_build_query(['phone' => $number])); $request->setHeaders($this->getHeaders('origin')); $response = yield $this->datacenter->getHTTPClient()->request($request); @@ -78,12 +132,19 @@ class MyTelegramOrgWrapper } $this->hash = $resulta['random_hash']; } - public function completeLogin($password): \Generator + /** + * Complete login. + * + * @param string $password Password + * + * @return \Generator + */ + public function completeLogin(string $password): \Generator { if ($this->logged) { throw new Exception('Already logged in!'); } - $request = new Request(self::MY_TELEGRAM_URL . '/auth/login', 'POST'); + $request = new Request(self::MY_TELEGRAM_URL.'/auth/login', 'POST'); $request->setBody(\http_build_query(['phone' => $this->number, 'random_hash' => $this->hash, 'password' => $password])); $request->setHeaders($this->getHeaders('origin')); $request->setHeader('user-agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13'); @@ -98,16 +159,26 @@ class MyTelegramOrgWrapper } return $this->logged = true; } - public function loggedIn() + /** + * Whether we are logged in. + * + * @return boolean + */ + public function loggedIn(): bool { return $this->logged; } + /** + * Check if an app was already created. + * + * @return \Generator + */ public function hasApp(): \Generator { if (!$this->logged) { throw new Exception('Not logged in!'); } - $request = new Request(self::MY_TELEGRAM_URL . '/apps'); + $request = new Request(self::MY_TELEGRAM_URL.'/apps'); $request->setHeaders($this->getHeaders('refer')); $response = yield $this->datacenter->getHTTPClient()->request($request); $result = yield $response->getBody()->buffer(); @@ -122,12 +193,17 @@ class MyTelegramOrgWrapper $this->logged = false; throw new Exception($title); } + /** + * Get the currently created app. + * + * @return \Generator + */ public function getApp(): \Generator { if (!$this->logged) { throw new Exception('Not logged in!'); } - $request = new Request(self::MY_TELEGRAM_URL . '/apps'); + $request = new Request(self::MY_TELEGRAM_URL.'/apps'); $request->setHeaders($this->getHeaders('refer')); $response = yield $this->datacenter->getHTTPClient()->request($request); $result = yield $response->getBody()->buffer(); @@ -143,7 +219,14 @@ class MyTelegramOrgWrapper $api_hash = $asd[0]; return ['api_id' => (int) $api_id, 'api_hash' => $api_hash]; } - public function createApp($settings): \Generator + /** + * Create an app. + * + * @param array $settings App parameters + * + * @return \Generator + */ + public function createApp(array $settings): \Generator { if (!$this->logged) { throw new Exception('Not logged in!'); @@ -151,7 +234,7 @@ class MyTelegramOrgWrapper if (yield from $this->hasApp()) { throw new Exception('The app was already created!'); } - $request = new Request(self::MY_TELEGRAM_URL . '/apps/create', 'POST'); + $request = new Request(self::MY_TELEGRAM_URL.'/apps/create', 'POST'); $request->setHeaders($this->getHeaders('app')); $request->setBody(\http_build_query(['hash' => $this->creation_hash, 'app_title' => $settings['app_title'], 'app_shortname' => $settings['app_shortname'], 'app_url' => $settings['app_url'], 'app_platform' => $settings['app_platform'], 'app_desc' => $settings['app_desc']])); $response = yield $this->datacenter->getHTTPClient()->request($request); @@ -159,7 +242,7 @@ class MyTelegramOrgWrapper if ($result) { throw new Exception(\html_entity_decode($result)); } - $request = new Request(self::MY_TELEGRAM_URL . '/apps'); + $request = new Request(self::MY_TELEGRAM_URL.'/apps'); $request->setHeaders($this->getHeaders('refer')); $response = yield $this->datacenter->getHTTPClient()->request($request); $result = yield $response->getBody()->buffer(); @@ -182,8 +265,12 @@ class MyTelegramOrgWrapper } /** * Function for generating curl request headers. + * + * @param string $httpType Origin + * + * @return array */ - private function getHeaders($httpType) + private function getHeaders(string $httpType): array { // Common header flags. $headers = []; @@ -194,26 +281,26 @@ class MyTelegramOrgWrapper // Add additional headers based on the type of request. switch ($httpType) { case 'origin': - $headers[] = 'Origin: ' . self::MY_TELEGRAM_URL; + $headers[] = 'Origin: '.self::MY_TELEGRAM_URL; //$headers[] = 'Accept-Encoding: gzip, deflate, br'; $headers[] = 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8'; $headers[] = 'Accept: application/json, text/javascript, */*; q=0.01'; - $headers[] = 'Referer: ' . self::MY_TELEGRAM_URL . '/auth'; + $headers[] = 'Referer: '.self::MY_TELEGRAM_URL.'/auth'; $headers[] = 'X-Requested-With: XMLHttpRequest'; break; case 'refer': //$headers[] = 'Accept-Encoding: gzip, deflate, sdch, br'; $headers[] = 'Upgrade-Insecure-Requests: 1'; $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'; - $headers[] = 'Referer: ' . self::MY_TELEGRAM_URL; + $headers[] = 'Referer: '.self::MY_TELEGRAM_URL; $headers[] = 'Cache-Control: max-age=0'; break; case 'app': - $headers[] = 'Origin: ' . self::MY_TELEGRAM_URL; + $headers[] = 'Origin: '.self::MY_TELEGRAM_URL; //$headers[] = 'Accept-Encoding: gzip, deflate, br'; $headers[] = 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8'; $headers[] = 'Accept: */*'; - $headers[] = 'Referer: ' . self::MY_TELEGRAM_URL . '/apps'; + $headers[] = 'Referer: '.self::MY_TELEGRAM_URL.'/apps'; $headers[] = 'X-Requested-With: XMLHttpRequest'; break; } @@ -224,15 +311,37 @@ class MyTelegramOrgWrapper } return $final_headers; } - public function async($async) + /** + * Enable or disable async. + * + * @param boolean $async Async + * + * @return void + */ + public function async(bool $async): void { $this->async = $async; } - public function loop($callable) + /** + * Run specified callable synchronously. + * + * @param callable $callable Callable + * + * @return mixed + */ + public function loop(callable $callable) { return Tools::wait($callable()); } - public function __call($name, $arguments) + /** + * Call function. + * + * @param string $name Function name + * @param array $arguments Arguments + * + * @return void + */ + public function __call(string $name, array $arguments) { $name .= '_async'; $async = \is_array(\end($arguments)) && isset(\end($arguments)['async']) ? \end($arguments)['async'] : $this->async; diff --git a/src/danog/MadelineProto/PTSException.php b/src/danog/MadelineProto/PTSException.php index c1e5bb03..acbafaf1 100644 --- a/src/danog/MadelineProto/PTSException.php +++ b/src/danog/MadelineProto/PTSException.php @@ -24,7 +24,7 @@ class PTSException extends \Exception use TL\PrettyException; public function __toString() { - return \get_class($this) . ($this->message !== '' ? ': ' : '') . $this->message . PHP_EOL . 'TL Trace:' . PHP_EOL . PHP_EOL . $this->getTLTrace() . PHP_EOL; + return \get_class($this).($this->message !== '' ? ': ' : '').$this->message.PHP_EOL.'TL Trace:'.PHP_EOL.PHP_EOL.$this->getTLTrace().PHP_EOL; } public function __construct($message, $file = '') { diff --git a/src/danog/MadelineProto/RPCErrorException.php b/src/danog/MadelineProto/RPCErrorException.php index 80d67aad..dd660e15 100644 --- a/src/danog/MadelineProto/RPCErrorException.php +++ b/src/danog/MadelineProto/RPCErrorException.php @@ -22,11 +22,15 @@ namespace danog\MadelineProto; class RPCErrorException extends \Exception { use TL\PrettyException; + /** + * RPC error code + */ + public string $rpc = ''; private $fetched = false; public static $descriptions = ['RPC_MCGET_FAIL' => 'Telegram is having internal issues, please try again later.', 'RPC_CALL_FAIL' => 'Telegram is having internal issues, please try again later.', 'USER_PRIVACY_RESTRICTED' => "The user's privacy settings do not allow you to do this", 'CHANNEL_PRIVATE' => "You haven't joined this channel/supergroup", 'USER_IS_BOT' => "Bots can't send messages to other bots", 'BOT_METHOD_INVALID' => 'This method cannot be run by a bot', 'PHONE_CODE_EXPIRED' => 'The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars)', 'USERNAME_INVALID' => 'The provided username is not valid', 'ACCESS_TOKEN_INVALID' => 'The provided token is not valid', 'ACTIVE_USER_REQUIRED' => 'The method is only available to already activated users', 'FIRSTNAME_INVALID' => 'The first name is invalid', 'LASTNAME_INVALID' => 'The last name is invalid', 'PHONE_NUMBER_INVALID' => 'The phone number is invalid', 'PHONE_CODE_HASH_EMPTY' => 'phone_code_hash is missing', 'PHONE_CODE_EMPTY' => 'phone_code is missing', 'API_ID_INVALID' => 'The api_id/api_hash combination is invalid', 'PHONE_NUMBER_OCCUPIED' => 'The phone number is already in use', 'PHONE_NUMBER_UNOCCUPIED' => 'The phone number is not yet being used', 'USERS_TOO_FEW' => 'Not enough users (to create a chat, for example)', 'USERS_TOO_MUCH' => 'The maximum number of users has been exceeded (to create a chat, for example)', 'TYPE_CONSTRUCTOR_INVALID' => 'The type constructor is invalid', 'FILE_PART_INVALID' => 'The file part number is invalid', 'FILE_PARTS_INVALID' => 'The number of file parts is invalid', 'MD5_CHECKSUM_INVALID' => 'The MD5 checksums do not match', 'PHOTO_INVALID_DIMENSIONS' => 'The photo dimensions are invalid', 'FIELD_NAME_INVALID' => 'The field with the name FIELD_NAME is invalid', 'FIELD_NAME_EMPTY' => 'The field with the name FIELD_NAME is missing', 'MSG_WAIT_FAILED' => 'A waiting call returned an error', 'USERNAME_NOT_OCCUPIED' => 'The provided username is not occupied', 'PHONE_NUMBER_BANNED' => 'The provided phone number is banned from telegram', 'AUTH_KEY_UNREGISTERED' => 'The authorization key has expired', 'INVITE_HASH_EXPIRED' => 'The invite link has expired', 'USER_DEACTIVATED' => 'The user was deactivated', 'USER_ALREADY_PARTICIPANT' => 'The user is already in the group', 'MESSAGE_ID_INVALID' => 'The provided message id is invalid', 'PEER_ID_INVALID' => 'The provided peer id is invalid', 'CHAT_ID_INVALID' => 'The provided chat id is invalid', 'MESSAGE_DELETE_FORBIDDEN' => "You can't delete one of the messages you tried to delete, most likely because it is a service message.", 'CHAT_ADMIN_REQUIRED' => 'You must be an admin in this chat to do this', -429 => 'Too many requests', 'PEER_FLOOD' => "You are spamreported, you can't do this"]; public static $errorMethodMap = []; private $caller = ''; - public static function localizeMessage($method, $code, $error) + public static function localizeMessage($method, int $code, string $error) { if (!$method || !$code || !$error) { return $error; @@ -34,7 +38,7 @@ class RPCErrorException extends \Exception $error = \preg_replace('/\\d+$/', "X", $error); $description = self::$descriptions[$error] ?? ''; if (!isset(self::$errorMethodMap[$code][$method][$error]) || !isset(self::$descriptions[$error]) || $code === 500) { - $res = \json_decode(@\file_get_contents('https://rpc.pwrtelegram.xyz/?method=' . $method . '&code=' . $code . '&error=' . $error, false, \stream_context_create(['http' => ['timeout' => 3]])), true); + $res = \json_decode(@\file_get_contents('https://rpc.pwrtelegram.xyz/?method='.$method.'&code='.$code.'&error='.$error, false, \stream_context_create(['http' => ['timeout' => 3]])), true); if (isset($res['ok']) && $res['ok'] && isset($res['result'])) { $description = $res['result']; self::$descriptions[$error] = $description; @@ -48,9 +52,9 @@ class RPCErrorException extends \Exception } public function __toString() { - $result = \sprintf(\danog\MadelineProto\Lang::$current_lang['rpc_tg_error'], self::localizeMessage($this->caller, $this->code, $this->message) . " ({$this->code})", $this->rpc, $this->file, $this->line . PHP_EOL, \danog\MadelineProto\Magic::$revision . PHP_EOL . PHP_EOL) . PHP_EOL . $this->getTLTrace() . PHP_EOL; + $result = \sprintf(\danog\MadelineProto\Lang::$current_lang['rpc_tg_error'], self::localizeMessage($this->caller, $this->code, $this->message)." ({$this->code})", $this->rpc, $this->file, $this->line.PHP_EOL, \danog\MadelineProto\Magic::$revision.PHP_EOL.PHP_EOL).PHP_EOL.$this->getTLTrace().PHP_EOL; if (PHP_SAPI !== 'cli') { - $result = \str_replace(PHP_EOL, '
' . PHP_EOL, $result); + $result = \str_replace(PHP_EOL, '
'.PHP_EOL, $result); } return $result; } diff --git a/src/danog/MadelineProto/RSA.php b/src/danog/MadelineProto/RSA.php index 6c155551..c2a25376 100644 --- a/src/danog/MadelineProto/RSA.php +++ b/src/danog/MadelineProto/RSA.php @@ -61,7 +61,7 @@ class RSA $this->n = Tools::getVar($key, 'modulus'); $this->e = Tools::getVar($key, 'exponent'); \danog\MadelineProto\Logger::log(\danog\MadelineProto\Lang::$current_lang['computing_fingerprint'], Logger::ULTRA_VERBOSE); - $this->fp = \substr(\sha1((yield from $TL->serializeObject(['type' => 'bytes'], $this->n->toBytes(), 'key')) . (yield from $TL->serializeObject(['type' => 'bytes'], $this->e->toBytes(), 'key')), true), -8); + $this->fp = \substr(\sha1((yield from $TL->serializeObject(['type' => 'bytes'], $this->n->toBytes(), 'key')).(yield from $TL->serializeObject(['type' => 'bytes'], $this->e->toBytes(), 'key')), true), -8); return $this; } /** diff --git a/src/danog/MadelineProto/SecretChats/AuthKeyHandler.php b/src/danog/MadelineProto/SecretChats/AuthKeyHandler.php index ff7722b7..3442cbb2 100644 --- a/src/danog/MadelineProto/SecretChats/AuthKeyHandler.php +++ b/src/danog/MadelineProto/SecretChats/AuthKeyHandler.php @@ -52,7 +52,7 @@ trait AuthKeyHandler //$this->logger->logger($params['id'],$this->secretChatStatus($params['id'])); if ($this->secretChatStatus($params['id']) !== 0) { //$this->logger->logger($this->secretChatStatus($params['id'])); - $this->logger->logger("I've already accepted secret chat " . $params['id']); + $this->logger->logger("I've already accepted secret chat ".$params['id']); return false; } $dh_config = (yield from $this->getDhConfig()); @@ -70,7 +70,7 @@ trait AuthKeyHandler $this->checkG($g_b, $dh_config['p']); yield from $this->methodCallAsyncRead('messages.acceptEncryption', ['peer' => $params['id'], 'g_b' => $g_b->toBytes(), 'key_fingerprint' => $key['fingerprint']], ['datacenter' => $this->datacenter->curdc]); yield from $this->notifyLayer($params['id']); - $this->logger->logger('Secret chat ' . $params['id'] . ' accepted successfully!', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Secret chat '.$params['id'].' accepted successfully!', \danog\MadelineProto\Logger::NOTICE); } /** * Request secret chat. @@ -86,7 +86,7 @@ trait AuthKeyHandler throw new \danog\MadelineProto\Exception('This peer is not present in the internal peer database'); } $user = $user['InputUser']; - $this->logger->logger('Creating secret chat with ' . $user['user_id'] . '...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Creating secret chat with '.$user['user_id'].'...', \danog\MadelineProto\Logger::VERBOSE); $dh_config = (yield from $this->getDhConfig()); $this->logger->logger('Generating a...', \danog\MadelineProto\Logger::VERBOSE); $a = new \tgseclib\Math\BigInteger(\danog\MadelineProto\Tools::random(256), 256); @@ -96,7 +96,7 @@ trait AuthKeyHandler $res = yield from $this->methodCallAsyncRead('messages.requestEncryption', ['user_id' => $user, 'g_a' => $g_a->toBytes()], ['datacenter' => $this->datacenter->curdc]); $this->temp_requested_secret_chats[$res['id']] = $a; $this->updaters[false]->resume(); - $this->logger->logger('Secret chat ' . $res['id'] . ' requested successfully!', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Secret chat '.$res['id'].' requested successfully!', \danog\MadelineProto\Logger::NOTICE); return $res['id']; } /** @@ -110,7 +110,7 @@ trait AuthKeyHandler { if ($this->secretChatStatus($params['id']) !== 1) { //$this->logger->logger($this->secretChatStatus($params['id'])); - $this->logger->logger('Could not find and complete secret chat ' . $params['id']); + $this->logger->logger('Could not find and complete secret chat '.$params['id']); return false; } $dh_config = (yield from $this->getDhConfig()); @@ -128,7 +128,7 @@ trait AuthKeyHandler $key['visualization_46'] = \substr(\hash('sha256', $key['auth_key'], true), 20); $this->secret_chats[$params['id']] = ['key' => $key, 'admin' => true, 'user_id' => $params['participant_id'], 'InputEncryptedChat' => ['chat_id' => $params['id'], 'access_hash' => $params['access_hash'], '_' => 'inputEncryptedChat'], 'in_seq_no_x' => 0, 'out_seq_no_x' => 1, 'in_seq_no' => 0, 'out_seq_no' => 0, 'layer' => 8, 'ttl' => 0, 'ttr' => 100, 'updated' => \time(), 'incoming' => [], 'outgoing' => [], 'created' => \time(), 'rekeying' => [0], 'key_x' => 'to server', 'mtproto' => 1]; yield from $this->notifyLayer($params['id']); - $this->logger->logger('Secret chat ' . $params['id'] . ' completed successfully!', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Secret chat '.$params['id'].' completed successfully!', \danog\MadelineProto\Logger::NOTICE); } private function notifyLayer($chat): \Generator { @@ -152,7 +152,7 @@ trait AuthKeyHandler if ($this->secret_chats[$chat]['rekeying'][0] !== 0) { return; } - $this->logger->logger('Rekeying secret chat ' . $chat . '...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Rekeying secret chat '.$chat.'...', \danog\MadelineProto\Logger::VERBOSE); $dh_config = (yield from $this->getDhConfig()); $this->logger->logger('Generating a...', \danog\MadelineProto\Logger::VERBOSE); $a = new \tgseclib\Math\BigInteger(\danog\MadelineProto\Tools::random(256), 256); @@ -188,7 +188,7 @@ trait AuthKeyHandler return; } } - $this->logger->logger('Accepting rekeying of secret chat ' . $chat . '...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Accepting rekeying of secret chat '.$chat.'...', \danog\MadelineProto\Logger::VERBOSE); $dh_config = (yield from $this->getDhConfig()); $this->logger->logger('Generating b...', \danog\MadelineProto\Logger::VERBOSE); $b = new \tgseclib\Math\BigInteger(\danog\MadelineProto\Tools::random(256), 256); @@ -219,7 +219,7 @@ trait AuthKeyHandler $this->secret_chats[$chat]['rekeying'] = [0]; return; } - $this->logger->logger('Committing rekeying of secret chat ' . $chat . '...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Committing rekeying of secret chat '.$chat.'...', \danog\MadelineProto\Logger::VERBOSE); $dh_config = (yield from $this->getDhConfig()); $params['g_b'] = new \tgseclib\Math\BigInteger((string) $params['g_b'], 256); $this->checkG($params['g_b'], $dh_config['p']); @@ -257,7 +257,7 @@ trait AuthKeyHandler yield from $this->methodCallAsyncRead('messages.sendEncryptedService', ['peer' => $chat, 'message' => ['_' => 'decryptedMessageService', 'action' => ['_' => 'decryptedMessageActionAbortKey', 'exchange_id' => $params['exchange_id']]]], ['datacenter' => $this->datacenter->curdc]); throw new \danog\MadelineProto\SecurityException('Invalid key fingerprint!'); } - $this->logger->logger('Completing rekeying of secret chat ' . $chat . '...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Completing rekeying of secret chat '.$chat.'...', \danog\MadelineProto\Logger::VERBOSE); $this->secret_chats[$chat]['rekeying'] = [0]; $this->secret_chats[$chat]['old_key'] = $this->secret_chats[$chat]['key']; $this->secret_chats[$chat]['key'] = $this->temp_rekeyed_secret_chats[$params['exchange_id']]; @@ -265,7 +265,7 @@ trait AuthKeyHandler $this->secret_chats[$chat]['updated'] = \time(); unset($this->temp_rekeyed_secret_chats[$params['exchange_id']]); yield from $this->methodCallAsyncRead('messages.sendEncryptedService', ['peer' => $chat, 'message' => ['_' => 'decryptedMessageService', 'action' => ['_' => 'decryptedMessageActionNoop']]], ['datacenter' => $this->datacenter->curdc]); - $this->logger->logger('Secret chat ' . $chat . ' rekeyed successfully!', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Secret chat '.$chat.' rekeyed successfully!', \danog\MadelineProto\Logger::VERBOSE); return true; } /** @@ -316,7 +316,7 @@ trait AuthKeyHandler */ public function discardSecretChat(int $chat): \Generator { - $this->logger->logger('Discarding secret chat ' . $chat . '...', \danog\MadelineProto\Logger::VERBOSE); + $this->logger->logger('Discarding secret chat '.$chat.'...', \danog\MadelineProto\Logger::VERBOSE); if (isset($this->secret_chats[$chat])) { unset($this->secret_chats[$chat]); } diff --git a/src/danog/MadelineProto/SecretChats/MessageHandler.php b/src/danog/MadelineProto/SecretChats/MessageHandler.php index 5d7f4c53..8224316b 100644 --- a/src/danog/MadelineProto/SecretChats/MessageHandler.php +++ b/src/danog/MadelineProto/SecretChats/MessageHandler.php @@ -19,6 +19,8 @@ namespace danog\MadelineProto\SecretChats; +use danog\MadelineProto\MTProtoTools\Crypt; + /** * Manages packing and unpacking of messages, and the list of sent and received messages. */ @@ -51,21 +53,21 @@ trait MessageHandler } $this->secret_chats[$chat_id]['outgoing'][$this->secret_chats[$chat_id]['out_seq_no']] = $message; $message = (yield from $this->TL->serializeObject(['type' => $constructor = $this->secret_chats[$chat_id]['layer'] === 8 ? 'DecryptedMessage' : 'DecryptedMessageLayer'], $message, $constructor, $this->secret_chats[$chat_id]['layer'])); - $message = \danog\MadelineProto\Tools::packUnsignedInt(\strlen($message)) . $message; + $message = \danog\MadelineProto\Tools::packUnsignedInt(\strlen($message)).$message; if ($this->secret_chats[$chat_id]['mtproto'] === 2) { $padding = \danog\MadelineProto\Tools::posmod(-\strlen($message), 16); if ($padding < 12) { $padding += 16; } $message .= \danog\MadelineProto\Tools::random($padding); - $message_key = \substr(\hash('sha256', \substr($this->secret_chats[$chat_id]['key']['auth_key'], 88 + ($this->secret_chats[$chat_id]['admin'] ? 0 : 8), 32) . $message, true), 8, 16); - list($aes_key, $aes_iv) = $this->aesCalculate($message_key, $this->secret_chats[$chat_id]['key']['auth_key'], $this->secret_chats[$chat_id]['admin']); + $message_key = \substr(\hash('sha256', \substr($this->secret_chats[$chat_id]['key']['auth_key'], 88 + ($this->secret_chats[$chat_id]['admin'] ? 0 : 8), 32).$message, true), 8, 16); + list($aes_key, $aes_iv) = Crypt::aesCalculate($message_key, $this->secret_chats[$chat_id]['key']['auth_key'], $this->secret_chats[$chat_id]['admin']); } else { $message_key = \substr(\sha1($message, true), -16); - list($aes_key, $aes_iv) = $this->oldAesCalculate($message_key, $this->secret_chats[$chat_id]['key']['auth_key'], true); + list($aes_key, $aes_iv) = Crypt::oldAesCalculate($message_key, $this->secret_chats[$chat_id]['key']['auth_key'], true); $message .= \danog\MadelineProto\Tools::random(\danog\MadelineProto\Tools::posmod(-\strlen($message), 16)); } - $message = $this->secret_chats[$chat_id]['key']['fingerprint'] . $message_key . $this->igeEncrypt($message, $aes_key, $aes_iv); + $message = $this->secret_chats[$chat_id]['key']['fingerprint'].$message_key.Crypt::igeEncrypt($message, $aes_key, $aes_iv); return $message; } private function handleEncryptedUpdate(array $message): \Generator @@ -91,25 +93,25 @@ trait MessageHandler $message_key = \substr($message['message']['bytes'], 8, 16); $encrypted_data = \substr($message['message']['bytes'], 24); if ($this->secret_chats[$message['message']['chat_id']]['mtproto'] === 2) { - $this->logger->logger('Trying MTProto v2 decryption for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Trying MTProto v2 decryption for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); try { $message_data = $this->tryMTProtoV2Decrypt($message_key, $message['message']['chat_id'], $old, $encrypted_data); - $this->logger->logger('MTProto v2 decryption OK for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('MTProto v2 decryption OK for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); } catch (\danog\MadelineProto\SecurityException $e) { - $this->logger->logger('MTProto v2 decryption failed with message ' . $e->getMessage() . ', trying MTProto v1 decryption for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('MTProto v2 decryption failed with message '.$e->getMessage().', trying MTProto v1 decryption for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); $message_data = $this->tryMTProtoV1Decrypt($message_key, $message['message']['chat_id'], $old, $encrypted_data); - $this->logger->logger('MTProto v1 decryption OK for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('MTProto v1 decryption OK for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); $this->secret_chats[$message['message']['chat_id']]['mtproto'] = 1; } } else { - $this->logger->logger('Trying MTProto v1 decryption for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('Trying MTProto v1 decryption for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); try { $message_data = $this->tryMTProtoV1Decrypt($message_key, $message['message']['chat_id'], $old, $encrypted_data); - $this->logger->logger('MTProto v1 decryption OK for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('MTProto v1 decryption OK for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); } catch (\danog\MadelineProto\SecurityException $e) { - $this->logger->logger('MTProto v1 decryption failed with message ' . $e->getMessage() . ', trying MTProto v2 decryption for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('MTProto v1 decryption failed with message '.$e->getMessage().', trying MTProto v2 decryption for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); $message_data = $this->tryMTProtoV2Decrypt($message_key, $message['message']['chat_id'], $old, $encrypted_data); - $this->logger->logger('MTProto v2 decryption OK for chat ' . $message['message']['chat_id'] . '...', \danog\MadelineProto\Logger::NOTICE); + $this->logger->logger('MTProto v2 decryption OK for chat '.$message['message']['chat_id'].'...', \danog\MadelineProto\Logger::NOTICE); $this->secret_chats[$message['message']['chat_id']]['mtproto'] = 2; } } @@ -125,8 +127,8 @@ trait MessageHandler } private function tryMTProtoV1Decrypt($message_key, $chat_id, $old, $encrypted_data) { - list($aes_key, $aes_iv) = $this->oldAesCalculate($message_key, $this->secret_chats[$chat_id][$old ? 'old_key' : 'key']['auth_key'], true); - $decrypted_data = $this->igeDecrypt($encrypted_data, $aes_key, $aes_iv); + list($aes_key, $aes_iv) = Crypt::oldAesCalculate($message_key, $this->secret_chats[$chat_id][$old ? 'old_key' : 'key']['auth_key'], true); + $decrypted_data = Crypt::igeDecrypt($encrypted_data, $aes_key, $aes_iv); $message_data_length = \unpack('V', \substr($decrypted_data, 0, 4))[1]; $message_data = \substr($decrypted_data, 4, $message_data_length); if ($message_data_length > \strlen($decrypted_data)) { @@ -145,14 +147,14 @@ trait MessageHandler } private function tryMTProtoV2Decrypt($message_key, $chat_id, $old, $encrypted_data) { - list($aes_key, $aes_iv) = $this->aesCalculate($message_key, $this->secret_chats[$chat_id][$old ? 'old_key' : 'key']['auth_key'], !$this->secret_chats[$chat_id]['admin']); - $decrypted_data = $this->igeDecrypt($encrypted_data, $aes_key, $aes_iv); + list($aes_key, $aes_iv) = Crypt::aesCalculate($message_key, $this->secret_chats[$chat_id][$old ? 'old_key' : 'key']['auth_key'], !$this->secret_chats[$chat_id]['admin']); + $decrypted_data = Crypt::igeDecrypt($encrypted_data, $aes_key, $aes_iv); $message_data_length = \unpack('V', \substr($decrypted_data, 0, 4))[1]; $message_data = \substr($decrypted_data, 4, $message_data_length); if ($message_data_length > \strlen($decrypted_data)) { throw new \danog\MadelineProto\SecurityException(\danog\MadelineProto\Lang::$current_lang['msg_data_length_too_big']); } - if ($message_key != \substr(\hash('sha256', \substr($this->secret_chats[$chat_id][$old ? 'old_key' : 'key']['auth_key'], 88 + ($this->secret_chats[$chat_id]['admin'] ? 8 : 0), 32) . $decrypted_data, true), 8, 16)) { + if ($message_key != \substr(\hash('sha256', \substr($this->secret_chats[$chat_id][$old ? 'old_key' : 'key']['auth_key'], 88 + ($this->secret_chats[$chat_id]['admin'] ? 8 : 0), 32).$decrypted_data, true), 8, 16)) { throw new \danog\MadelineProto\SecurityException(\danog\MadelineProto\Lang::$current_lang['msg_key_mismatch']); } if (\strlen($decrypted_data) - 4 - $message_data_length < 12) { diff --git a/src/danog/MadelineProto/SecretChats/ResponseHandler.php b/src/danog/MadelineProto/SecretChats/ResponseHandler.php index 64758604..cf8d38fd 100644 --- a/src/danog/MadelineProto/SecretChats/ResponseHandler.php +++ b/src/danog/MadelineProto/SecretChats/ResponseHandler.php @@ -62,7 +62,7 @@ trait ResponseHandler $update['message']['decrypted_message']['action']['end_seq_no'] -= $this->secret_chats[$update['message']['chat_id']]['out_seq_no_x']; $update['message']['decrypted_message']['action']['start_seq_no'] /= 2; $update['message']['decrypted_message']['action']['end_seq_no'] /= 2; - $this->logger->logger('Resending messages for secret chat ' . $update['message']['chat_id'], \danog\MadelineProto\Logger::WARNING); + $this->logger->logger('Resending messages for secret chat '.$update['message']['chat_id'], \danog\MadelineProto\Logger::WARNING); foreach ($this->secret_chats[$update['message']['chat_id']]['outgoing'] as $seq => $message) { if ($seq >= $update['message']['decrypted_message']['action']['start_seq_no'] && $seq <= $update['message']['decrypted_message']['action']['end_seq_no']) { //throw new \danog\MadelineProto\ResponseException(\danog\MadelineProto\Lang::$current_lang['resending_unsupported']); @@ -92,7 +92,7 @@ trait ResponseHandler } break; default: - throw new \danog\MadelineProto\ResponseException(\danog\MadelineProto\Lang::$current_lang['unrecognized_dec_msg'] . \var_export($update, true)); + throw new \danog\MadelineProto\ResponseException(\danog\MadelineProto\Lang::$current_lang['unrecognized_dec_msg'].\var_export($update, true)); break; } } diff --git a/src/danog/MadelineProto/SecretChats/SeqNoHandler.php b/src/danog/MadelineProto/SecretChats/SeqNoHandler.php index 102ec45a..b0463590 100644 --- a/src/danog/MadelineProto/SecretChats/SeqNoHandler.php +++ b/src/danog/MadelineProto/SecretChats/SeqNoHandler.php @@ -51,7 +51,7 @@ trait SeqNoHandler if (isset($message['decrypted_message']['out_seq_no']) && $C < $this->secret_chats[$chat_id]['in_seq_no']) { if (($message['decrypted_message']['out_seq_no'] - $this->secret_chats[$chat_id]['in_seq_no_x']) / 2 !== $C) { yield from $this->discardSecretChat($chat_id); - throw new \danog\MadelineProto\SecurityException('out_seq_no hole: should be ' . $C . ', is ' . ($message['decrypted_message']['out_seq_no'] - $this->secret_chats[$chat_id]['in_seq_no_x']) / 2); + throw new \danog\MadelineProto\SecurityException('out_seq_no hole: should be '.$C.', is '.($message['decrypted_message']['out_seq_no'] - $this->secret_chats[$chat_id]['in_seq_no_x']) / 2); } $C++; } @@ -59,13 +59,13 @@ trait SeqNoHandler //$this->logger->logger($C, $seqno); if ($seqno < $C) { // <= C - $this->logger->logger('WARNING: dropping repeated message with seqno ' . $seqno); + $this->logger->logger('WARNING: dropping repeated message with seqno '.$seqno); return false; } if ($seqno > $C) { // > C+1 yield from $this->discardSecretChat($chat_id); - throw new \danog\MadelineProto\SecurityException('WARNING: out_seq_no gap detected (' . $seqno . ' > ' . $C . ')!'); + throw new \danog\MadelineProto\SecurityException('WARNING: out_seq_no gap detected ('.$seqno.' > '.$C.')!'); } return true; } diff --git a/src/danog/MadelineProto/Serialization.php b/src/danog/MadelineProto/Serialization.php index aeea8c50..912eac53 100644 --- a/src/danog/MadelineProto/Serialization.php +++ b/src/danog/MadelineProto/Serialization.php @@ -42,7 +42,7 @@ class Serialization */ public static function realpaths(string $file): array { - $file = Absolute::absolute($file); + $file = Tools::absolute($file); return ['file' => $file, 'lockfile' => $file.'.lock', 'tempfile' => $file.'.temp.session']; } /** @@ -80,7 +80,7 @@ class Serialization if ($e->getFile() === 'MadelineProto' && $e->getLine() === 1) { throw $e; } - if (\constant("MADELINEPROTO_TEST") === 'pony') { + if (@\constant("MADELINEPROTO_TEST") === 'pony') { throw $e; } \class_exists('\\Volatile'); diff --git a/src/danog/MadelineProto/Stream/Common/HashedBufferedStream.php b/src/danog/MadelineProto/Stream/Common/HashedBufferedStream.php index a2a17162..b650784a 100644 --- a/src/danog/MadelineProto/Stream/Common/HashedBufferedStream.php +++ b/src/danog/MadelineProto/Stream/Common/HashedBufferedStream.php @@ -266,7 +266,7 @@ class HashedBufferedStream implements BufferedProxyStreamInterface, BufferInterf throw new \danog\MadelineProto\Exception('Too much out of frame data was sent, cannot check hash'); } \hash_update($this->write_hash, $data); - return $this->write_buffer->bufferWrite($data . $this->getWriteHash()); + return $this->write_buffer->bufferWrite($data.$this->getWriteHash()); } if ($this->write_check_after) { $this->write_check_pos += $length; diff --git a/src/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.php b/src/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.php index 5a429a10..0445fe38 100644 --- a/src/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.php +++ b/src/danog/MadelineProto/Stream/MTProtoTransport/AbridgedStream.php @@ -45,7 +45,7 @@ class AbridgedStream implements BufferedStreamInterface, MTProtoBufferInterface */ public function connect(ConnectionContext $ctx, string $header = ''): \Generator { - $this->stream = (yield from $ctx->getStream(\chr(239) . $header)); + $this->stream = (yield from $ctx->getStream(\chr(239).$header)); } /** * Async close. @@ -69,7 +69,7 @@ class AbridgedStream implements BufferedStreamInterface, MTProtoBufferInterface if ($length < 127) { $message = \chr($length); } else { - $message = \chr(127) . \substr(\pack('V', $length), 0, 3); + $message = \chr(127).\substr(\pack('V', $length), 0, 3); } $buffer = yield $this->stream->getWriteBuffer(\strlen($message) + $length, $append); yield $buffer->bufferWrite($message); @@ -87,7 +87,7 @@ class AbridgedStream implements BufferedStreamInterface, MTProtoBufferInterface $buffer = yield $this->stream->getReadBuffer($l); $length = \ord(yield $buffer->bufferRead(1)); if ($length >= 127) { - $length = \unpack('V', (yield $buffer->bufferRead(3)) . "\0")[1]; + $length = \unpack('V', (yield $buffer->bufferRead(3))."\0")[1]; } $length <<= 2; return $buffer; diff --git a/src/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.php b/src/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.php index 1c6eba7b..4ff92c88 100644 --- a/src/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.php +++ b/src/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.php @@ -68,7 +68,7 @@ class HttpStream implements MTProtoBufferInterface, BufferedProxyStreamInterface public function setExtra($extra) { if (isset($extra['user']) && isset($extra['password'])) { - $this->header = \base64_encode($extra['user'] . ':' . $extra['password']) . "\r\n"; + $this->header = \base64_encode($extra['user'].':'.$extra['password'])."\r\n"; } } /** @@ -89,7 +89,7 @@ class HttpStream implements MTProtoBufferInterface, BufferedProxyStreamInterface */ public function getWriteBufferGenerator(int $length, string $append = ''): \Generator { - $headers = 'POST ' . $this->uri->getPath() . " HTTP/1.1\r\nHost: " . $this->uri->getHost() . ':' . $this->uri->getPort() . "\r\n" . "Content-Type: application/x-www-form-urlencoded\r\nConnection: keep-alive\r\nKeep-Alive: timeout=100000, max=10000000\r\nContent-Length: " . $length . $this->header . "\r\n\r\n"; + $headers = 'POST '.$this->uri->getPath()." HTTP/1.1\r\nHost: ".$this->uri->getHost().':'.$this->uri->getPort()."\r\n"."Content-Type: application/x-www-form-urlencoded\r\nConnection: keep-alive\r\nKeep-Alive: timeout=100000, max=10000000\r\nContent-Length: ".$length.$this->header."\r\n\r\n"; $buffer = yield $this->stream->getWriteBuffer(\strlen($headers) + $length, $append); yield $buffer->bufferWrite($headers); return $buffer; @@ -127,7 +127,7 @@ class HttpStream implements MTProtoBufferInterface, BufferedProxyStreamInterface } $code = (int) $code; unset($headers[0]); - if (\array_pop($headers) . \array_pop($headers) !== '') { + if (\array_pop($headers).\array_pop($headers) !== '') { throw new \danog\MadelineProto\Exception('Wrong last header'); } foreach ($headers as $key => $current_header) { diff --git a/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.php b/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.php index 1f45e76b..5bb3476f 100644 --- a/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.php +++ b/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediatePaddedStream.php @@ -47,7 +47,7 @@ class IntermediatePaddedStream implements BufferedStreamInterface, MTProtoBuffer */ public function connect(ConnectionContext $ctx, string $header = ''): \Generator { - $this->stream = (yield from $ctx->getStream(\str_repeat(\chr(221), 4) . $header)); + $this->stream = (yield from $ctx->getStream(\str_repeat(\chr(221), 4).$header)); } /** * Async close. @@ -68,7 +68,7 @@ class IntermediatePaddedStream implements BufferedStreamInterface, MTProtoBuffer public function getWriteBufferGenerator(int $length, string $append = ''): \Generator { $padding_length = \danog\MadelineProto\Tools::randomInt($modulus = 16); - $buffer = yield $this->stream->getWriteBuffer(4 + $length + $padding_length, $append . \danog\MadelineProto\Tools::random($padding_length)); + $buffer = yield $this->stream->getWriteBuffer(4 + $length + $padding_length, $append.\danog\MadelineProto\Tools::random($padding_length)); yield $buffer->bufferWrite(\pack('V', $padding_length + $length)); return $buffer; } diff --git a/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.php b/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.php index e9555c58..d57a7ac0 100644 --- a/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.php +++ b/src/danog/MadelineProto/Stream/MTProtoTransport/IntermediateStream.php @@ -47,7 +47,7 @@ class IntermediateStream implements BufferedStreamInterface, MTProtoBufferInterf */ public function connect(ConnectionContext $ctx, string $header = ''): \Generator { - $this->stream = (yield from $ctx->getStream(\str_repeat(\chr(238), 4) . $header)); + $this->stream = (yield from $ctx->getStream(\str_repeat(\chr(238), 4).$header)); } /** * Async close. diff --git a/src/danog/MadelineProto/Stream/Proxy/HttpProxy.php b/src/danog/MadelineProto/Stream/Proxy/HttpProxy.php index ebffbbc1..f7df25f8 100644 --- a/src/danog/MadelineProto/Stream/Proxy/HttpProxy.php +++ b/src/danog/MadelineProto/Stream/Proxy/HttpProxy.php @@ -52,17 +52,17 @@ class HttpProxy implements RawProxyStreamInterface, BufferedProxyStreamInterface if ($secure) { $ctx->setSocketContext($ctx->getSocketContext()->withTlsContext(new ClientTlsContext($uri->getHost()))); } - $ctx->setUri('tcp://' . $this->extra['address'] . ':' . $this->extra['port'])->secure(false); + $ctx->setUri('tcp://'.$this->extra['address'].':'.$this->extra['port'])->secure(false); $this->stream = (yield from $ctx->getStream()); $address = $uri->getHost(); $port = $uri->getPort(); try { if (\strlen(\inet_pton($address) === 16)) { - $address = '[' . $address . ']'; + $address = '['.$address.']'; } } catch (\danog\MadelineProto\Exception $e) { } - yield $this->stream->write("CONNECT {$address}:{$port} HTTP/1.1\r\nHost: {$address}:{$port}\r\nAccept: */*\r\n" . $this->getProxyAuthHeader() . "Connection: keep-Alive\r\n\r\n"); + yield $this->stream->write("CONNECT {$address}:{$port} HTTP/1.1\r\nHost: {$address}:{$port}\r\nAccept: */*\r\n".$this->getProxyAuthHeader()."Connection: keep-Alive\r\n\r\n"); $buffer = yield $this->stream->getReadBuffer($l); $headers = ''; $was_crlf = false; @@ -87,7 +87,7 @@ class HttpProxy implements RawProxyStreamInterface, BufferedProxyStreamInterface } $code = (int) $code; unset($headers[0]); - if (\array_pop($headers) . \array_pop($headers) !== '') { + if (\array_pop($headers).\array_pop($headers) !== '') { throw new \danog\MadelineProto\Exception('Wrong last header'); } foreach ($headers as $key => $current_header) { @@ -122,7 +122,7 @@ class HttpProxy implements RawProxyStreamInterface, BufferedProxyStreamInterface if ($secure) { yield $this->getSocket()->setupTls(); } - \danog\MadelineProto\Logger::log('Connected to ' . $address . ':' . $port . ' via http'); + \danog\MadelineProto\Logger::log('Connected to '.$address.':'.$port.' via http'); if (\strlen($header)) { yield (yield $this->stream->getWriteBuffer(\strlen($header)))->bufferWrite($header); } @@ -171,7 +171,7 @@ class HttpProxy implements RawProxyStreamInterface, BufferedProxyStreamInterface if (!isset($this->extra['username']) || !isset($this->extra['password'])) { return ''; } - return 'Proxy-Authorization: Basic ' . \base64_encode($this->extra['username'] . ':' . $this->extra['password']) . "\r\n"; + return 'Proxy-Authorization: Basic '.\base64_encode($this->extra['username'].':'.$this->extra['password'])."\r\n"; } /** * Sets proxy data. diff --git a/src/danog/MadelineProto/Stream/Proxy/SocksProxy.php b/src/danog/MadelineProto/Stream/Proxy/SocksProxy.php index 214931a4..39721155 100644 --- a/src/danog/MadelineProto/Stream/Proxy/SocksProxy.php +++ b/src/danog/MadelineProto/Stream/Proxy/SocksProxy.php @@ -53,12 +53,12 @@ class SocksProxy implements RawProxyStreamInterface, BufferedProxyStreamInterfac if ($secure) { $ctx->setSocketContext($ctx->getSocketContext()->withTlsContext(new ClientTlsContext($uri->getHost()))); } - $ctx->setUri('tcp://' . $this->extra['address'] . ':' . $this->extra['port'])->secure(false); + $ctx->setUri('tcp://'.$this->extra['address'].':'.$this->extra['port'])->secure(false); $methods = \chr(0); if (isset($this->extra['username']) && isset($this->extra['password'])) { $methods .= \chr(2); } - $this->stream = (yield from $ctx->getStream(\chr(5) . \chr(\strlen($methods)) . $methods)); + $this->stream = (yield from $ctx->getStream(\chr(5).\chr(\strlen($methods)).$methods)); $l = 2; $buffer = yield $this->stream->getReadBuffer($l); $version = \ord(yield $buffer->bufferRead(1)); @@ -67,7 +67,7 @@ class SocksProxy implements RawProxyStreamInterface, BufferedProxyStreamInterfac throw new \danog\MadelineProto\Exception("Wrong SOCKS5 version: {$version}"); } if ($method === 2) { - $auth = \chr(1) . \chr(\strlen($this->extra['username'])) . $this->extra['username'] . \chr(\strlen($this->extra['password'])) . $this->extra['password']; + $auth = \chr(1).\chr(\strlen($this->extra['username'])).$this->extra['username'].\chr(\strlen($this->extra['password'])).$this->extra['password']; yield $this->stream->write($auth); $buffer = yield $this->stream->getReadBuffer($l); $version = \ord(yield $buffer->bufferRead(1)); @@ -84,9 +84,9 @@ class SocksProxy implements RawProxyStreamInterface, BufferedProxyStreamInterfac $payload = \pack('C3', 0x5, 0x1, 0x0); try { $ip = \inet_pton($uri->getHost()); - $payload .= $ip ? \pack('C1', \strlen($ip) === 4 ? 0x1 : 0x4) . $ip : \pack('C2', 0x3, \strlen($uri->getHost())) . $uri->getHost(); + $payload .= $ip ? \pack('C1', \strlen($ip) === 4 ? 0x1 : 0x4).$ip : \pack('C2', 0x3, \strlen($uri->getHost())).$uri->getHost(); } catch (\danog\MadelineProto\Exception $e) { - $payload .= \pack('C2', 0x3, \strlen($uri->getHost())) . $uri->getHost(); + $payload .= \pack('C2', 0x3, \strlen($uri->getHost())).$uri->getHost(); } $payload .= \pack('n', $uri->getPort()); yield $this->stream->write($payload); @@ -126,7 +126,7 @@ class SocksProxy implements RawProxyStreamInterface, BufferedProxyStreamInterfac $l = 2; $buffer = yield $this->stream->getReadBuffer($l); $port = \unpack('n', yield $buffer->bufferRead(2))[1]; - \danog\MadelineProto\Logger::log(['Connected to ' . $ip . ':' . $port . ' via socks5']); + \danog\MadelineProto\Logger::log(['Connected to '.$ip.':'.$port.' via socks5']); if ($secure) { yield $this->getSocket()->setupTls(); } diff --git a/src/danog/MadelineProto/Stream/Transport/DefaultStream.php b/src/danog/MadelineProto/Stream/Transport/DefaultStream.php index 751b11ae..62baff91 100644 --- a/src/danog/MadelineProto/Stream/Transport/DefaultStream.php +++ b/src/danog/MadelineProto/Stream/Transport/DefaultStream.php @@ -111,7 +111,7 @@ class DefaultStream implements RawStreamInterface, ProxyStreamInterface $this->stream = null; } } catch (\Throwable $e) { - \danog\MadelineProto\Logger::log('Got exception while closing stream: ' . $e->getMessage()); + \danog\MadelineProto\Logger::log('Got exception while closing stream: '.$e->getMessage()); } } /** diff --git a/src/danog/MadelineProto/Stream/Transport/PremadeStream.php b/src/danog/MadelineProto/Stream/Transport/PremadeStream.php index 72837b96..72ff5b99 100644 --- a/src/danog/MadelineProto/Stream/Transport/PremadeStream.php +++ b/src/danog/MadelineProto/Stream/Transport/PremadeStream.php @@ -94,7 +94,7 @@ class PremadeStream implements RawStreamInterface, ProxyStreamInterface $this->stream = null; } } catch (\Throwable $e) { - \danog\MadelineProto\Logger::log('Got exception while closing stream: ' . $e->getMessage()); + \danog\MadelineProto\Logger::log('Got exception while closing stream: '.$e->getMessage()); } } public function close() diff --git a/src/danog/MadelineProto/TL/Conversion/Exception.php b/src/danog/MadelineProto/TL/Conversion/Exception.php index 6578c111..66783398 100644 --- a/src/danog/MadelineProto/TL/Conversion/Exception.php +++ b/src/danog/MadelineProto/TL/Conversion/Exception.php @@ -24,9 +24,9 @@ class Exception extends \Exception use \danog\MadelineProto\TL\PrettyException; public function __toString() { - $result = \get_class($this) . ($this->message !== '' ? ': ' : '') . $this->message . PHP_EOL . \danog\MadelineProto\Magic::$revision . PHP_EOL . 'TL Trace (YOU ABSOLUTELY MUST READ THE TEXT BELOW):' . PHP_EOL . PHP_EOL . $this->getTLTrace() . PHP_EOL; + $result = \get_class($this).($this->message !== '' ? ': ' : '').$this->message.PHP_EOL.\danog\MadelineProto\Magic::$revision.PHP_EOL.'TL Trace (YOU ABSOLUTELY MUST READ THE TEXT BELOW):'.PHP_EOL.PHP_EOL.$this->getTLTrace().PHP_EOL; if (PHP_SAPI !== 'cli') { - $result = \str_replace(PHP_EOL, '
' . PHP_EOL, $result); + $result = \str_replace(PHP_EOL, '
'.PHP_EOL, $result); } return $result; } diff --git a/src/danog/MadelineProto/TL/Conversion/Extension.php b/src/danog/MadelineProto/TL/Conversion/Extension.php index 42e1d178..12ffe0a9 100644 --- a/src/danog/MadelineProto/TL/Conversion/Extension.php +++ b/src/danog/MadelineProto/TL/Conversion/Extension.php @@ -48,7 +48,7 @@ trait Extension { foreach (self::ALL_MIMES as $key => $value) { if (\array_search($mime, $value) !== false) { - return '.' . $key; + return '.'.$key; } } return ''; diff --git a/src/danog/MadelineProto/TL/Conversion/TD.php b/src/danog/MadelineProto/TL/Conversion/TD.php index a54c87df..7366c8b3 100644 --- a/src/danog/MadelineProto/TL/Conversion/TD.php +++ b/src/danog/MadelineProto/TL/Conversion/TD.php @@ -137,7 +137,7 @@ trait TD if (isset($params['fwd_from'])) { $newparams[$td] = ['_' => 'messageForwardedFromUser']; if (isset($params['fwd_from']['channel_id'])) { - $newparams[$td] = ['_' => 'messageForwardedPost', 'chat_id' => '-100' . $params['fwd_from']['channel_id']]; + $newparams[$td] = ['_' => 'messageForwardedPost', 'chat_id' => '-100'.$params['fwd_from']['channel_id']]; } $newparams[$td]['date'] = $params['fwd_from']['date']; if (isset($params['fwd_from']['channel_post'])) { @@ -201,7 +201,7 @@ trait TD $newparams['ID'] = \ucfirst($value); } else { if (!\is_numeric($key) && !\preg_match('/_^/', $key)) { - $key = $key . '_'; + $key = $key.'_'; } $newparams[$key] = $this->tdToTdcli($value); } diff --git a/src/danog/MadelineProto/TL/Exception.php b/src/danog/MadelineProto/TL/Exception.php index 9f08d8cb..dbeef702 100644 --- a/src/danog/MadelineProto/TL/Exception.php +++ b/src/danog/MadelineProto/TL/Exception.php @@ -24,9 +24,9 @@ class Exception extends \Exception use PrettyException; public function __toString() { - $result = \get_class($this) . ($this->message !== '' ? ': ' : '') . $this->message . PHP_EOL . \danog\MadelineProto\Magic::$revision . PHP_EOL . 'TL Trace (YOU ABSOLUTELY MUST READ THE TEXT BELOW):' . PHP_EOL . PHP_EOL . $this->getTLTrace() . PHP_EOL; + $result = \get_class($this).($this->message !== '' ? ': ' : '').$this->message.PHP_EOL.\danog\MadelineProto\Magic::$revision.PHP_EOL.'TL Trace (YOU ABSOLUTELY MUST READ THE TEXT BELOW):'.PHP_EOL.PHP_EOL.$this->getTLTrace().PHP_EOL; if (PHP_SAPI !== 'cli') { - $result = \str_replace(PHP_EOL, '
' . PHP_EOL, $result); + $result = \str_replace(PHP_EOL, '
'.PHP_EOL, $result); } return $result; } diff --git a/src/danog/MadelineProto/TL/PrettyException.php b/src/danog/MadelineProto/TL/PrettyException.php index 6b11445b..c615e648 100644 --- a/src/danog/MadelineProto/TL/PrettyException.php +++ b/src/danog/MadelineProto/TL/PrettyException.php @@ -80,13 +80,13 @@ trait PrettyException $this->tl_trace = ''; $eol = PHP_EOL; if (PHP_SAPI !== 'cli') { - $eol = '
' . PHP_EOL; + $eol = '
'.PHP_EOL; } $tl = false; foreach (\array_reverse($trace ?? $this->getTrace()) as $k => $frame) { if (isset($frame['function']) && \in_array($frame['function'], ['serializeParams', 'serializeObject'])) { if (($frame['args'][2] ?? '') !== '') { - $this->tl_trace .= $tl ? "['" . $frame['args'][2] . "']" : "While serializing: \t" . $frame['args'][2]; + $this->tl_trace .= $tl ? "['".$frame['args'][2]."']" : "While serializing: \t".$frame['args'][2]; $tl = true; } } else { @@ -96,18 +96,18 @@ trait PrettyException if (isset($frame['function']) && ($frame['function'] === 'handle_rpc_error' && $k === \count($this->getTrace()) - 1) || $frame['function'] === 'unserialize') { continue; } - $this->tl_trace .= isset($frame['file']) ? \str_pad(\basename($frame['file']) . '(' . $frame['line'] . '):', 20) . "\t" : ''; - $this->tl_trace .= isset($frame['function']) ? $frame['function'] . '(' : ''; + $this->tl_trace .= isset($frame['file']) ? \str_pad(\basename($frame['file']).'('.$frame['line'].'):', 20)."\t" : ''; + $this->tl_trace .= isset($frame['function']) ? $frame['function'].'(' : ''; $this->tl_trace .= isset($frame['args']) ? \substr(\json_encode($frame['args']), 1, -1) : ''; $this->tl_trace .= ')'; $this->tl_trace .= $eol; $tl = false; } } - $this->tl_trace .= $init !== '' ? "['" . $init . "']" : ''; + $this->tl_trace .= $init !== '' ? "['".$init."']" : ''; $this->tl_trace = \implode($eol, \array_reverse(\explode($eol, $this->tl_trace))); if ($previous_trace) { - $this->tl_trace .= $eol . $eol; + $this->tl_trace .= $eol.$eol; $this->tl_trace .= "Previous TL trace:{$eol}"; $this->tl_trace .= $previous_trace; } diff --git a/src/danog/MadelineProto/TL/TL.php b/src/danog/MadelineProto/TL/TL.php index ce12ea54..04d5c468 100644 --- a/src/danog/MadelineProto/TL/TL.php +++ b/src/danog/MadelineProto/TL/TL.php @@ -20,6 +20,7 @@ namespace danog\MadelineProto\TL; use danog\MadelineProto\MTProto; +use danog\MadelineProto\Tools; /** * TL serialization. @@ -142,7 +143,7 @@ class TL $this->tdDescriptions = ['types' => [], 'constructors' => [], 'methods' => []]; foreach ($files as $scheme_type => $file) { $this->API->logger->logger(\sprintf(\danog\MadelineProto\Lang::$current_lang['file_parsing'], \basename($file)), \danog\MadelineProto\Logger::VERBOSE); - $filec = \file_get_contents(\danog\MadelineProto\Absolute::absolute($file)); + $filec = \file_get_contents(Tools::absolute($file)); $TL_dict = \json_decode($filec, true); if ($TL_dict === null) { $TL_dict = ['methods' => [], 'constructors' => []]; @@ -793,8 +794,8 @@ class TL /** * Deserialize TL object. * - * @param resource $stream Stream - * @param array $type Type identifier + * @param string|resource $stream Stream + * @param array $type Type identifier * * @return mixed */ diff --git a/src/danog/MadelineProto/TL/TLConstructors.php b/src/danog/MadelineProto/TL/TLConstructors.php index 3774c054..9bf850e1 100644 --- a/src/danog/MadelineProto/TL/TLConstructors.php +++ b/src/danog/MadelineProto/TL/TLConstructors.php @@ -30,10 +30,10 @@ class TLConstructors { return ['by_predicate_and_layer', 'by_id', 'layers']; } - public function add($json_dict, $scheme_type) + public function add(array $json_dict, string $scheme_type): void { if (isset($this->by_id[$json_dict['id']]) && (!isset($this->by_id[$json_dict['id']]['layer']) || $this->by_id[$json_dict['id']]['layer'] > $json_dict['layer'])) { - return false; + return; } $predicate = (string) (($scheme_type === 'mtproto' && $json_dict['predicate'] === 'message' ? 'MT' : '').$json_dict['predicate']); $this->by_id[$json_dict['id']] = ['predicate' => $predicate, 'params' => $json_dict['params'], 'type' => ($scheme_type === 'mtproto' && $json_dict['type'] === 'Message' ? 'MT' : '').$json_dict['type']]; @@ -47,7 +47,7 @@ class TLConstructors $this->by_predicate_and_layer[$predicate.$json_dict['layer']] = $json_dict['id']; $this->parseParams($json_dict['id'], $scheme_type === 'mtproto'); } - public function findByType($type) + public function findByType(string $type) { foreach ($this->by_id as $id => $constructor) { if ($constructor['type'] === $type) { @@ -57,7 +57,7 @@ class TLConstructors } return false; } - public function findByPredicate($predicate, $layer = -1) + public function findByPredicate(string $predicate, int $layer = -1) { if ($layer !== -1) { $chosenid = null; diff --git a/src/danog/MadelineProto/TL/TLMethods.php b/src/danog/MadelineProto/TL/TLMethods.php index 6bcd2fa8..0be72c07 100644 --- a/src/danog/MadelineProto/TL/TLMethods.php +++ b/src/danog/MadelineProto/TL/TLMethods.php @@ -26,11 +26,11 @@ class TLMethods public $by_id = []; public $by_method = []; public $method_namespace = []; - public function __sleep() + public function __sleep(): array { return ['by_id', 'by_method', 'method_namespace']; } - public function add($json_dict) + public function add(array $json_dict): void { $this->by_id[$json_dict['id']] = ['method' => $json_dict['method'], 'type' => $json_dict['type'], 'params' => $json_dict['params']]; $this->by_method[$json_dict['method']] = $json_dict['id']; @@ -40,7 +40,7 @@ class TLMethods } $this->parseParams($json_dict['id']); } - public function findById($id) + public function findById(string $id) { if (isset($this->by_id[$id])) { $method = $this->by_id[$id]; @@ -49,7 +49,7 @@ class TLMethods } return false; } - public function findByMethod($method_name) + public function findByMethod(string $method_name) { if (isset($this->by_method[$method_name])) { $method = $this->by_id[$this->by_method[$method_name]]; diff --git a/src/danog/MadelineProto/TL/TLParams.php b/src/danog/MadelineProto/TL/TLParams.php index 73424cf3..1aa7cdb1 100644 --- a/src/danog/MadelineProto/TL/TLParams.php +++ b/src/danog/MadelineProto/TL/TLParams.php @@ -31,10 +31,10 @@ trait TLParams if (\preg_match('/^(v|V)ector\\<(.*)\\>$/', $param['type'], $matches)) { $param['type'] = $matches[1] === 'v' ? 'vector' : 'Vector t'; $param['subtype'] = $matches[2]; - $param['subtype'] = ($mtproto && $param['subtype'] === 'Message' ? 'MT' : '') . $param['subtype']; + $param['subtype'] = ($mtproto && $param['subtype'] === 'Message' ? 'MT' : '').$param['subtype']; $param['subtype'] = $mtproto && $param['subtype'] === '%Message' ? '%MTMessage' : $param['subtype']; } - $param['type'] = ($mtproto && $param['type'] === 'Message' ? 'MT' : '') . $param['type']; + $param['type'] = ($mtproto && $param['type'] === 'Message' ? 'MT' : '').$param['type']; $param['type'] = $mtproto && $param['type'] === '%Message' ? '%MTMessage' : $param['type']; $this->by_id[$key]['params'][$kkey] = $param; } diff --git a/src/danog/MadelineProto/TL_MadelineProto.tl b/src/danog/MadelineProto/TL_MadelineProto.tl deleted file mode 100644 index 533d63c6..00000000 --- a/src/danog/MadelineProto/TL_MadelineProto.tl +++ /dev/null @@ -1,23 +0,0 @@ -MadelineProto.main flags:# encrypted_layer:int settings:MadelineProto.settings config:Config authorization:flags.0?auth.Authorization authorized:int rsa_keys:Vector last_recv:int dh_config:messages.DhConfig chats:Vector last_stored:int qres:Vector pending_updates:Vector updates_state:MadelineProto.Updates_state got_state:flags.1?true channels_state:MadelineProto.Channel_states updates:Vector updates_key:int getting_state:flags.2?true full_chats:MadelineProto.FullChat msg_ids:Vector dialog_params:MadelineProto.DialogParams datacenter:MadelineProto.DataCenter v:int constructors:MadelineProto.Constructors td_constructors:flags.3?MadelineProto.Constructors methods:MadelineProto.Methods td_methods:flags.4?MadelineProto.Methods td_descriptions:flags.5?MadelineProto.Descriptions twoe1984:Serialized twoe2047:Serialized twoe2048:Serialized zero:Serialized one:Serialized two:Serialized three:Serialized four:Serialized = MadelineProto.Main; -MadelineProto.settings = MadelineProto.Settings; -MadelineProto.connection_settings = MadelineProto.Settings; -MadelineProto.channel_states = pts:int pending_pts_updates:Vector sync_loading:Bool MadelineProto.Channel_states; -MadelineProto.update_state = pts:int qts:int seq:int date:int pending_seq_updates:Vector pending_pts_updates:Vector sync_loading:Bool MadelineProto.Update_state; - -MadelineProto.rsa e:Serialized n:Serialized fp:string = MadelineProto.RSA; -MadelineProto.dialogParams flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = MadelineProto.DialogParams; -MadelineProto.dataCenter sockets:Vector curdc:int dclist:Vector settings:MadelineProto.Settings = MadelineProto.DataCenter; -MadelineProto.connection flags:# protocol:string ip:string port:int timeout:int parsed:flags.0?MadelineProto.ParsedUrl temp_auth_key:MadelineProto.AuthKey auth_key:MadelineProto.AuthKey ipv6:flags.1?true incoming_messages:Vector outgoing_messages:Vector new_incoming:Vector new_outgoing:Vector -MadelineProto.descriptions = MadelineProto.Descriptions; -MadelineProto.methods = MadelineProto.Methods; -MadelineProto.constructors = MadelineProto.Constructors; -MadelineProto.parsedUrl = MadelineProto.ParsedUrl; -MadelineProto.authKey server_salt:long id:long auth_key:string = MadelineProto.AuthKey; -MadelineProto.messages flags:# seq_no:flags.0?int content:Object response:int = MadelineProto.Messages; - -pwr.chat flags:# type:string id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string lang_code:flags.3?string username:flags.4?string verified:flags.5?true restricted:flags.6?true restriction_reason:flags.7?string status:flags.8?UserStatus bot_inline_placeholder:flags.9?string about:flags.10?string bot_info:flags.11?BotInfo phone_calls_available:flags.12?true phone_calls_private:flags.13?true common_chats_count:flags.14?int photo:flags.15?string title:flags.16?string participants_count:flags.17?int kicked_count:flags.18?int admin_count:flags.19?int admin:flags.20?true all_members_are_administrators:flags.21?true invite:flags.22?string participants:flags.23?Vector democracy:flags.24?true signatures:flags.25?true can_view_participants:flags.26?true can_set_username:flags.27?true migrated_from_chat_id:flags.28?int migrated_from_max_id:flags.29?int pinned_msg_id:flags.30?int = PWR.Chat; -pwr.participant flags:# user:PWR.Chat inviter:flags.0?PWR.Chat date:int role:string = PWR.Participant; - -//auth.sentCodeMP flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int phone_number:flags.3?string phone_code:flags.4?string = auth.Authorization; -//auth.noPasswordMP new_salt:bytes email_unconfirmed_pattern:string = auth.Authorization; -//auth.passwordMP current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = auth.Authorization; diff --git a/src/danog/MadelineProto/TL_botAPI.tl b/src/danog/MadelineProto/TL_botAPI.tl deleted file mode 100644 index 8c6dfdd0..00000000 --- a/src/danog/MadelineProto/TL_botAPI.tl +++ /dev/null @@ -1,19 +0,0 @@ -bot_thumbnail#0 dc_id:int id:long access_hash:long volume_id:long = File; -bot_profile_photo#1 dc_id:int id:long access_hash:long volume_id:long = File; -bot_photo#2 dc_id:int id:long access_hash:long volume_id:long = File; - -bot_voice#3 dc_id:int id:long access_hash:long = File; -bot_video#4 dc_id:int id:long access_hash:long = File; -bot_document#5 dc_id:int id:long access_hash:long = File; -bot_encrypted#6 dc_id:int id:long access_hash:long = File; -bot_temp#7 dc_id:int id:long access_hash:long = File; -bot_sticker#8 dc_id:int id:long access_hash:long = File; -bot_audio#9 dc_id:int id:long access_hash:long = File; -bot_gif#A dc_id:int id:long access_hash:long = File; -bot_encrypted_thumbnail#B dc_id:int id:long access_hash:long = File; -bot_wallpaper#C dc_id:int id:long access_hash:long = File; -bot_video_note#D dc_id:int id:long access_hash:long = File; -bot_secure_raw#F dc_id:int id:long access_hash:long = File; -bot_secure#10 dc_id:int id:long access_hash:long = File; -bot_background#11 dc_id:int id:long access_hash:long = File; -bot_size#12 dc_id:int id:long access_hash:long = File; diff --git a/src/danog/MadelineProto/TL_calls.tl b/src/danog/MadelineProto/TL_calls.tl deleted file mode 100644 index a0019ee8..00000000 --- a/src/danog/MadelineProto/TL_calls.tl +++ /dev/null @@ -1,3 +0,0 @@ -decryptedDataBlock#dbf948c1 random_id:long random_bytes:string flags:# voice_call_id:flags.2?int128 in_seq_no:flags.4?int out_seq_no:flags.4?int recent_received_mask:flags.5?int proto:flags.3?int extra:flags.1?string raw_data:flags.0?string = DecryptedDataBlock; -simpleDataBlock#cc0d0e76 random_id:long random_bytes:string raw_data:string = DecryptedDataBlock; - diff --git a/src/danog/MadelineProto/TL_mtproto_v1.json b/src/danog/MadelineProto/TL_mtproto_v1.json deleted file mode 100644 index 42920b8d..00000000 --- a/src/danog/MadelineProto/TL_mtproto_v1.json +++ /dev/null @@ -1 +0,0 @@ -{"constructors":[{"id":"481674261","predicate":"vector","params":[],"type":"Vector t"},{"id":"85337187","predicate":"resPQ","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"pq","type":"bytes"},{"name":"server_public_key_fingerprints","type":"Vector"}],"type":"ResPQ"},{"id":"-2083955988","predicate":"p_q_inner_data","params":[{"name":"pq","type":"bytes"},{"name":"p","type":"bytes"},{"name":"q","type":"bytes"},{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"new_nonce","type":"int256"}],"type":"P_Q_inner_data"},{"id":"1013613780","predicate":"p_q_inner_data_temp","params":[{"name":"pq","type":"bytes"},{"name":"p","type":"bytes"},{"name":"q","type":"bytes"},{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"new_nonce","type":"int256"},{"name":"expires_in","type":"int"}],"type":"P_Q_inner_data"},{"id":"2043348061","predicate":"server_DH_params_fail","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"new_nonce_hash","type":"int128"}],"type":"Server_DH_Params"},{"id":"-790100132","predicate":"server_DH_params_ok","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"encrypted_answer","type":"bytes"}],"type":"Server_DH_Params"},{"id":"-1249309254","predicate":"server_DH_inner_data","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"g","type":"int"},{"name":"dh_prime","type":"bytes"},{"name":"g_a","type":"bytes"},{"name":"server_time","type":"int"}],"type":"Server_DH_inner_data"},{"id":"1715713620","predicate":"client_DH_inner_data","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"retry_id","type":"long"},{"name":"g_b","type":"bytes"}],"type":"Client_DH_Inner_Data"},{"id":"1003222836","predicate":"dh_gen_ok","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"new_nonce_hash1","type":"int128"}],"type":"Set_client_DH_params_answer"},{"id":"1188831161","predicate":"dh_gen_retry","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"new_nonce_hash2","type":"int128"}],"type":"Set_client_DH_params_answer"},{"id":"-1499615742","predicate":"dh_gen_fail","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"new_nonce_hash3","type":"int128"}],"type":"Set_client_DH_params_answer"},{"id":"-212046591","predicate":"rpc_result","params":[{"name":"req_msg_id","type":"long"},{"name":"result","type":"Object"}],"type":"RpcResult"},{"id":"558156313","predicate":"rpc_error","params":[{"name":"error_code","type":"int"},{"name":"error_message","type":"string"}],"type":"RpcError"},{"id":"1579864942","predicate":"rpc_answer_unknown","params":[],"type":"RpcDropAnswer"},{"id":"-847714938","predicate":"rpc_answer_dropped_running","params":[],"type":"RpcDropAnswer"},{"id":"-1539647305","predicate":"rpc_answer_dropped","params":[{"name":"msg_id","type":"long"},{"name":"seq_no","type":"int"},{"name":"bytes","type":"int"}],"type":"RpcDropAnswer"},{"id":"155834844","predicate":"future_salt","params":[{"name":"valid_since","type":"int"},{"name":"valid_until","type":"int"},{"name":"salt","type":"long"}],"type":"FutureSalt"},{"id":"-1370486635","predicate":"future_salts","params":[{"name":"req_msg_id","type":"long"},{"name":"now","type":"int"},{"name":"salts","type":"vector"}],"type":"FutureSalts"},{"id":"880243653","predicate":"pong","params":[{"name":"msg_id","type":"long"},{"name":"ping_id","type":"long"}],"type":"Pong"},{"id":"-501201412","predicate":"destroy_session_ok","params":[{"name":"session_id","type":"long"}],"type":"DestroySessionRes"},{"id":"1658015945","predicate":"destroy_session_none","params":[{"name":"session_id","type":"long"}],"type":"DestroySessionRes"},{"id":"-1631450872","predicate":"new_session_created","params":[{"name":"first_msg_id","type":"long"},{"name":"unique_id","type":"long"},{"name":"server_salt","type":"long"}],"type":"NewSession"},{"id":"1945237724","predicate":"msg_container","params":[{"name":"messages","type":"vector<%Message>"}],"type":"MessageContainer"},{"id":"1538843921","predicate":"message","params":[{"name":"msg_id","type":"long"},{"name":"seqno","type":"int"},{"name":"bytes","type":"int"},{"name":"body","type":"Object"}],"type":"Message"},{"id":"-530561358","predicate":"msg_copy","params":[{"name":"orig_message","type":"Message"}],"type":"MessageCopy"},{"id":"812830625","predicate":"gzip_packed","params":[{"name":"packed_data","type":"bytes"}],"type":"Object"},{"id":"1658238041","predicate":"msgs_ack","params":[{"name":"msg_ids","type":"Vector"}],"type":"MsgsAck"},{"id":"-1477445615","predicate":"bad_msg_notification","params":[{"name":"bad_msg_id","type":"long"},{"name":"bad_msg_seqno","type":"int"},{"name":"error_code","type":"int"}],"type":"BadMsgNotification"},{"id":"-307542917","predicate":"bad_server_salt","params":[{"name":"bad_msg_id","type":"long"},{"name":"bad_msg_seqno","type":"int"},{"name":"error_code","type":"int"},{"name":"new_server_salt","type":"long"}],"type":"BadMsgNotification"},{"id":"2105940488","predicate":"msg_resend_req","params":[{"name":"msg_ids","type":"Vector"}],"type":"MsgResendReq"},{"id":"-630588590","predicate":"msgs_state_req","params":[{"name":"msg_ids","type":"Vector"}],"type":"MsgsStateReq"},{"id":"81704317","predicate":"msgs_state_info","params":[{"name":"req_msg_id","type":"long"},{"name":"info","type":"bytes"}],"type":"MsgsStateInfo"},{"id":"-1933520591","predicate":"msgs_all_info","params":[{"name":"msg_ids","type":"Vector"},{"name":"info","type":"bytes"}],"type":"MsgsAllInfo"},{"id":"661470918","predicate":"msg_detailed_info","params":[{"name":"msg_id","type":"long"},{"name":"answer_msg_id","type":"long"},{"name":"bytes","type":"int"},{"name":"status","type":"int"}],"type":"MsgDetailedInfo"},{"id":"-2137147681","predicate":"msg_new_detailed_info","params":[{"name":"answer_msg_id","type":"long"},{"name":"bytes","type":"int"},{"name":"status","type":"int"}],"type":"MsgDetailedInfo"},{"id":"1973679973","predicate":"bind_auth_key_inner","params":[{"name":"nonce","type":"long"},{"name":"temp_auth_key_id","type":"long"},{"name":"perm_auth_key_id","type":"long"},{"name":"temp_session_id","type":"long"},{"name":"expires_at","type":"int"}],"type":"BindAuthKeyInner"}],"methods":[{"id":"1615239032","method":"req_pq","params":[{"name":"nonce","type":"int128"}],"type":"ResPQ"},{"id":"-1099002127","method":"req_pq_multi","params":[{"name":"nonce","type":"int128"}],"type":"ResPQ"},{"id":"-686627650","method":"req_DH_params","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"p","type":"bytes"},{"name":"q","type":"bytes"},{"name":"public_key_fingerprint","type":"long"},{"name":"encrypted_data","type":"bytes"}],"type":"Server_DH_Params"},{"id":"-184262881","method":"set_client_DH_params","params":[{"name":"nonce","type":"int128"},{"name":"server_nonce","type":"int128"},{"name":"encrypted_data","type":"bytes"}],"type":"Set_client_DH_params_answer"},{"id":"1491380032","method":"rpc_drop_answer","params":[{"name":"req_msg_id","type":"long"}],"type":"RpcDropAnswer"},{"id":"-1188971260","method":"get_future_salts","params":[{"name":"num","type":"int"}],"type":"FutureSalts"},{"id":"2059302892","method":"ping","params":[{"name":"ping_id","type":"long"}],"type":"Pong"},{"id":"-213746804","method":"ping_delay_disconnect","params":[{"name":"ping_id","type":"long"},{"name":"disconnect_delay","type":"int"}],"type":"Pong"},{"id":"-414113498","method":"destroy_session","params":[{"name":"session_id","type":"long"}],"type":"DestroySessionRes"},{"id":"-1835453025","method":"http_wait","params":[{"name":"max_delay","type":"int"},{"name":"wait_after","type":"int"},{"name":"max_wait","type":"int"}],"type":"HttpWait"}]} diff --git a/src/danog/MadelineProto/TL_mtproto_v1.tl b/src/danog/MadelineProto/TL_mtproto_v1.tl deleted file mode 100644 index 16e7f39c..00000000 --- a/src/danog/MadelineProto/TL_mtproto_v1.tl +++ /dev/null @@ -1,86 +0,0 @@ -resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -vector {t:Type} # [ t ] = Vector t; - -p_q_inner_data_dc#a9f55f95 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 dc:int = P_Q_inner_data; -p_q_inner_data_temp_dc#56fddf88 pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 dc:int expires_in:int = P_Q_inner_data; - -p_q_inner_data pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; -p_q_inner_data_temp pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 expires_in:int = P_Q_inner_data; - -server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -bind_auth_key_inner#75a3f765 nonce:long temp_auth_key_id:long perm_auth_key_id:long temp_session_id:long expires_at:int = BindAuthKeyInner; - -rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; -rpc_error#2144ca19 error_code:int error_message:string = RpcError; - -rpc_answer_unknown#5e2ad36e = RpcDropAnswer; -rpc_answer_dropped_running#cd78e586 = RpcDropAnswer; -rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer; - -future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt; -future_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts; - -pong#347773c5 msg_id:long ping_id:long = Pong; - -destroy_session_ok#e22045fc session_id:long = DestroySessionRes; -destroy_session_none#62d350c9 session_id:long = DestroySessionRes; - -new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession; - -msg_container#73f1f8dc messages:vector<%Message> = MessageContainer; -message msg_id:long seqno:int bytes:int body:Object = Message; -msg_copy#e06046b2 orig_message:Message = MessageCopy; - -gzip_packed#3072cfa1 packed_data:bytes = Object; - -msgs_ack#62d6b459 msg_ids:Vector = MsgsAck; - -bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification; -bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification; - -msg_resend_ans_req#8610baeb msg_ids:Vector = MsgResendReq; -msg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq; -msgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq; -msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo; -msgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo; -msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo; -msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo; - -rsa_public_key n:string e:string = RSAPublicKey; - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; - ----functions--- - -req_pq_multi#be7e8ef1 nonce:int128 = ResPQ; - -req_pq nonce:int128 = ResPQ; - -req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer; -get_future_salts#b921bd04 num:int = FutureSalts; -ping#7abe77ec ping_id:long = Pong; -ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; -destroy_session#e7512126 session_id:long = DestroySessionRes; - -//test.useGzipPacked = GzipPacked; -//test.useServerDhInnerData = Server_DH_inner_data; -//test.useNewSessionCreated = NewSession; -//test.useMsgsAck = MsgsAck; -//test.useBadMsgNotification = BadMsgNotification; - -//test.useOther key:rsa_public_key p_q_data:P_Q_inner_data dh_data:client_DH_inner_data = RpcError; diff --git a/src/danog/MadelineProto/TL_secret.tl b/src/danog/MadelineProto/TL_secret.tl deleted file mode 100644 index 3ff3f13d..00000000 --- a/src/danog/MadelineProto/TL_secret.tl +++ /dev/null @@ -1,76 +0,0 @@ -===8=== -decryptedMessage#1f814f1f random_id:long random_bytes:bytes message:string media:DecryptedMessageMedia = DecryptedMessage; -decryptedMessageService#aa48327d random_id:long random_bytes:bytes action:DecryptedMessageAction = DecryptedMessage; -decryptedMessageMediaEmpty#89f5c4a = DecryptedMessageMedia; -decryptedMessageMediaPhoto#32798a8c thumb:bytes thumb_w:int thumb_h:int w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia; -decryptedMessageMediaVideo#4cee6ef3 thumb:bytes thumb_w:int thumb_h:int duration:int w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia; -decryptedMessageMediaGeoPoint#35480a59 lat:double long:double = DecryptedMessageMedia; -decryptedMessageMediaContact#588a0a97 phone_number:string first_name:string last_name:string user_id:int = DecryptedMessageMedia; -decryptedMessageActionSetMessageTTL#a1733aec ttl_seconds:int = DecryptedMessageAction; -decryptedMessageMediaDocument#b095434b thumb:bytes thumb_w:int thumb_h:int file_name:string mime_type:string size:int key:bytes iv:bytes = DecryptedMessageMedia; -decryptedMessageMediaAudio#6080758f duration:int size:int key:bytes iv:bytes = DecryptedMessageMedia; -decryptedMessageActionReadMessages#c4f40be random_ids:Vector = DecryptedMessageAction; -decryptedMessageActionDeleteMessages#65614304 random_ids:Vector = DecryptedMessageAction; -decryptedMessageActionScreenshotMessages#8ac1f475 random_ids:Vector = DecryptedMessageAction; -decryptedMessageActionFlushHistory#6719e45c = DecryptedMessageAction; - -===17=== -decryptedMessage#204d3878 random_id:long ttl:int message:string media:DecryptedMessageMedia = DecryptedMessage; -decryptedMessageService#73164160 random_id:long action:DecryptedMessageAction = DecryptedMessage; -decryptedMessageMediaVideo#524a415d thumb:bytes thumb_w:int thumb_h:int duration:int mime_type:string w:int h:int size:int key:bytes iv:bytes = DecryptedMessageMedia; -decryptedMessageMediaAudio#57e0a9cb duration:int mime_type:string size:int key:bytes iv:bytes = DecryptedMessageMedia; -decryptedMessageLayer#1be31789 random_bytes:bytes layer:int in_seq_no:int out_seq_no:int message:DecryptedMessage = DecryptedMessageLayer; -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#92042ff7 = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#e6ac8a6f = SendMessageAction; -sendMessageUploadPhotoAction#990a3c1a = SendMessageAction; -sendMessageUploadDocumentAction#8faee98e = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -decryptedMessageActionResend#511110b0 start_seq_no:int end_seq_no:int = DecryptedMessageAction; -decryptedMessageActionNotifyLayer#f3048883 layer:int = DecryptedMessageAction; -decryptedMessageActionTyping#ccb27641 action:SendMessageAction = DecryptedMessageAction; - -===20=== -decryptedMessageActionRequestKey#f3c9611b exchange_id:long g_a:bytes = DecryptedMessageAction; -decryptedMessageActionAcceptKey#6fe1735b exchange_id:long g_b:bytes key_fingerprint:long = DecryptedMessageAction; -decryptedMessageActionAbortKey#dd05ec6b exchange_id:long = DecryptedMessageAction; -decryptedMessageActionCommitKey#ec2e0b9b exchange_id:long key_fingerprint:long = DecryptedMessageAction; -decryptedMessageActionNoop#a82fdd63 = DecryptedMessageAction; - -===23=== -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#fb0a5727 = DocumentAttribute; -documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#51448e5 duration:int = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; -decryptedMessageMediaExternalDocument#fa95b0dd id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector = DecryptedMessageMedia; - -===45=== -decryptedMessage#36b091de flags:# random_id:long ttl:int message:string media:flags.9?DecryptedMessageMedia entities:flags.7?Vector via_bot_name:flags.11?string reply_to_random_id:flags.3?long = DecryptedMessage; -decryptedMessageMediaPhoto#f1fa8d78 thumb:bytes thumb_w:int thumb_h:int w:int h:int size:int key:bytes iv:bytes caption:string = DecryptedMessageMedia; -decryptedMessageMediaVideo#970c8c0e thumb:bytes thumb_w:int thumb_h:int duration:int mime_type:string w:int h:int size:int key:bytes iv:bytes caption:string = DecryptedMessageMedia; -decryptedMessageMediaDocument#7afe8ae2 thumb:bytes thumb_w:int thumb_h:int mime_type:string size:int key:bytes iv:bytes attributes:Vector caption:string = DecryptedMessageMedia; - -===46=== -decryptedMessageMediaVenue#8a0df56f lat:double long:double title:string address:string provider:string venue_id:string = DecryptedMessageMedia; -documentAttributeAudio#ded218e0 duration:int title:string performer:string = DocumentAttribute; -decryptedMessageMediaWebPage#e50511d8 url:string = DecryptedMessageMedia; - -===55=== -documentAttributeSticker#3a556302 alt:string stickerset:InputStickerSet = DocumentAttribute; - -===66=== -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute; - -===73=== -decryptedMessage#91cc4674 flags:# random_id:long ttl:int message:string media:flags.9?DecryptedMessageMedia entities:flags.7?Vector via_bot_name:flags.11?string reply_to_random_id:flags.3?long grouped_id:flags.17?long = DecryptedMessage; diff --git a/src/danog/MadelineProto/TL_socket.tl b/src/danog/MadelineProto/TL_socket.tl deleted file mode 100644 index e31e46ac..00000000 --- a/src/danog/MadelineProto/TL_socket.tl +++ /dev/null @@ -1,17 +0,0 @@ -dataJSON#7d748d04 data:string = DataJSON; - -socketMessageRequest request_id:int method:vector args:vector<%DataJSON> = SocketMessage; -socketMessageResponse request_id:int data:%DataJSON = SocketMessage; -socketMessageException request_id:int exception:SocketException = SocketMessage; -socketMessageUpdate data:%DataJSON = SocketMessage; -socketMessageLog flags:# thread:flags.0?true process:flags.1?true file:string level:int data:%DataJSON = SocketMessage; -socketMessageRawData stream_id:string data:bytes = SocketMessage; - -socketException message:string code:int trace:%SocketTLTrace = SocketException; -socketRPCErrorException flags:# rpc_message:flags.0?string message:flags.1?string code:int trace:%SocketTLTrace = SocketException; -socketTLException message:string code:int trace:%SocketTLTrace = SocketException; -socketDOMException message:string code:int trace:%SocketTLTrace = SocketException; - -socketTLTrace frames:vector<%SocketTLFrame> = SocketTLTrace; - -socketTLFrame flags:# file:flags.0?string line:flags.1?int function:flags.2?string args:flags.3?string tl_param:flags.4?string = SocketTLFrame; diff --git a/src/danog/MadelineProto/TL_td.tl b/src/danog/MadelineProto/TL_td.tl deleted file mode 100644 index 9dc39155..00000000 --- a/src/danog/MadelineProto/TL_td.tl +++ /dev/null @@ -1,2558 +0,0 @@ -//@description Object of this type may be returned on every function call in case of the error -//@code Error code, maybe changed in the future. If code == 406, error message should not be processed in any way and shouldn't be showed to the user -//@message Error message, may be changed in the future -error code:int message:string = Error; - - -//@description Object of this type returns on successful function call for some functions -ok = Ok; - - -//@class AuthCodeType @description Provides information about the way an authentication code is delivered to the user - -//@description Code is delivered through private Telegram message, which can be viewed in the other client @length Length of the code -authCodeTypeMessage length:int = AuthCodeType; - -//@description Code is delivered by SMS to the specified phone number @length Length of the code -authCodeTypeSms length:int = AuthCodeType; - -//@description Code is delivered by phone call to the specified phone number @length Length of the code -authCodeTypeCall length:int = AuthCodeType; - -//@description Code is delivered by the immediately cancelled call to the specified phone number. Number from which the call was done is the code @pattern Pattern of the phone number from which the call will be done -authCodeTypeFlashCall pattern:string = AuthCodeType; - - -//@class AuthState @description Represents current authorization state of the Client - -//@description TDLib needs user's phone number to authorize -authStateWaitPhoneNumber = AuthState; - -//@description TDLib needs user authentication code to finish authorization @is_registered True, if user is already registered @code_type Describes the way, code was sent to the user @next_code_type Describes the way, next code will be sent to the user, nullable @timeout Timeout in seconds before code should be resent by calling resendAuthCode -authStateWaitCode is_registered:Bool code_type:AuthCodeType next_code_type:AuthCodeType timeout:int = AuthState; - -//@description User is authorized but he needs to enter its password to begin to use application @password_hint Hint on password, can be empty @has_recovery_email Is recovery email set up -//@recovery_email_pattern Pattern of email to which recovery mail was sent, empty before recovery email was sent -authStateWaitPassword password_hint:string has_recovery_email:Bool recovery_email_pattern:string = AuthState; - -//@description User is successfully authorized. TDLib can answer queries -authStateOk = AuthState; - -//@description User is currently logging out -authStateLoggingOut = AuthState; - - -//@description Represents current state of the two-step verification @has_password Is password set up @password_hint Hint on password, can be empty @has_recovery_email Is recovery email set up @unconfirmed_recovery_email_pattern Pattern of email to which confirmation mail was sent -passwordState has_password:Bool password_hint:string has_recovery_email:Bool unconfirmed_recovery_email_pattern:string = PasswordState; - -//@description Contains information available to the user after requesting password recovery @recovery_email_pattern Pattern of email to which recovery mail was sent -passwordRecoveryInfo recovery_email_pattern:string = PasswordRecoveryInfo; - -//@description Contains information about set up recovery email @recovery_email Recovery email -recoveryEmail recovery_email:string = RecoveryEmail; - - -//@description Returns information about availability of temporary password, which should be used for payments @has_password True, if we have temporary password @valid_for Time left before temporary password expires, seconds -temporaryPasswordState has_password:Bool valid_for:int = TemporaryPasswordState; - - -//@description Represents a file -//@id Unique file identifier -//@persistent_id Persistent file identifier, if exists. Can be used across application restarts or even other devices for current logged user. If begins with "http://" or "https://", it is HTTP URL of the file. Currently, TDLib is unable to download files if only they URL is known.-If downloadFile is called on a such file or it is sended to a secret chat TDLib starts file generation process by sending to the client updateFileGenerationStart with HTTP URL in the original_path and "#url#" as conversion string. Client supposed to generate the file by downloading it to the specified location -//@size File size, 0 if unknown -//@is_being_downloaded True, if the file is currently being downloaded -//@local_size Size of locally available part of the file. If size != 0 && local_size == size, full file is available locally -//@is_being_uploaded True, if the file is currently being uploaded -//@remote_size Size of remotely available part of the file. If size != 0 && remote_size == size, the file is available remotely -//@path Local path to the available file part, may be empty -file id:int persistent_id:string size:int is_being_downloaded:Bool local_size:int is_being_uploaded:Bool remote_size:int path:string = File; - -//@class InputFile @description Points to some file - -//@description File defined by its id @id Unique file identifier -inputFileId id:int = InputFile; - -//@description File defined by its persistent id @persistent_id Persistent file identifier -inputFilePersistentId persistent_id:string = InputFile; - -//@description File deifned by local path @path Local path to the file -inputFileLocal path:string = InputFile; - -//@description File generated by the client @original_path Local path to a file from which the file is generated, may be empty if there is no such file @conversion String specifying conversion applied to the original file, should be persistent across application restart @expected_size Expected size of the generated file, 0 if unknown -inputFileGenerated original_path:string conversion:string expected_size:int = InputFile; - - -//@description Photo description @type Thumbnail type (see https://core.telegram.org/constructor/photoSize) @photo Information about photo file @width Photo width @height Photo height -photoSize type:string photo:file width:int height:int = PhotoSize; - -//@description Position on a photo where a mask should be placed @point Part of a face relative to which the mask should be placed. 0 - forehead, 1 - eyes, 2 - mouth, 3 - chin -//@x_shift Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1.0 will place mask just to the left of the default mask position -//@y_shift Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. For example, 1.0 will place the mask just below the default mask position. -//@scale Mask scaling coefficient. For example, 2.0 means double size -maskPosition point:int x_shift:double y_shift:double scale:double = MaskPosition; - - -//@description Represent part of the text which needs to be formatted in some unusual way @offset Offset of the entity in UTF-16 code points @length Length of the entity in UTF-16 code points @type Type of the entity -textEntity offset:int length:int type:TextEntityType = TextEntity; - - -//@description Describes animation file. Animation should be encoded in gif or mp4 format @duration Duration of the animation in seconds as defined by sender @width Width of the animation @height Height of the animation -//@file_name Original name of a file as defined by sender @mime_type MIME type of a file, usually "image/gif" or "video/mp4" @thumb Animation thumb, nullable @animation File with the animation -animation duration:int width:int height:int file_name:string mime_type:string thumb:photoSize animation:file = Animation; - -//@description Describes audio file. Audio is usually in mp3 format @duration Duration of the audio in seconds as defined by sender @title Title of the audio as defined by sender @performer Performer of the audio as defined by sender -//@file_name Original name of a file as defined by sender @mime_type MIME type of a file as defined by sender @album_cover_thumb Thumb of the album's cover as defined by sender. Full size thumb should be extracted from the downloaded file, nullable @audio File with the audio -audio duration:int title:string performer:string file_name:string mime_type:string album_cover_thumb:photoSize audio:file = Audio; - -//@description Describes document of any type @file_name Original name of a file as defined by sender @mime_type MIME type of file as defined by sender -//@thumb Document thumb as defined by sender, nullable @document File with document -document file_name:string mime_type:string thumb:photoSize document:file = Document; - -//@description Describes photo @id Photo identifier, 0 for deleted photo @has_stickers True, if some stickers was added to the photo @sizes Available variants of photo of different sizes -photo id:int64 has_stickers:Bool sizes:vector = Photo; - -//@description Describes sticker @set_id Identifier of sticker set to which the sticker belongs or 0 if none @width Sticker width as defined by sender @height Sticker height as defined by sender -//@emoji Emoji corresponding to the sticker @is_mask True, if the sticker is a mask @mask_position Position where the mask should be placed, nullable @thumb Sticker thumb in webp or jpeg format, nullable @sticker File with sticker -sticker set_id:int64 width:int height:int emoji:string is_mask:Bool mask_position:maskPosition thumb:photoSize sticker:file = Sticker; - -//@description Describes video file @duration Duration of the video in seconds as defined by sender @width Video width as defined by sender @height Video height as defined by sender -//@file_name Original name of a file as defined by sender @mime_type MIME type of a file as defined by sender @has_stickers True, if some stickers was added to the photo @thumb Video thumb as defined by sender, nullable @video File with the video -video duration:int width:int height:int file_name:string mime_type:string has_stickers:Bool thumb:photoSize video:file = Video; - -//@description Describes video note. Video must have equal width and height, cropped to circle and stored in mpeg4 format @duration Duration of the video in seconds as defined by sender @length Video width and height as defined by sender @thumb Video thumb as defined by sender, nullable @video File with the video -videoNote duration:int length:int thumb:photoSize video:file = VideoNote; - -//@description Describes voice note. Voice must be encoded with Opus codec and must be stored inside Ogg container @duration Duration of the voice record in seconds as defined by sender -//@waveform Waveform representation of the voice in 5-bit format @mime_type MIME type of a file as defined by sender @voice File with the voice record -voice duration:int waveform:bytes mime_type:string voice:file = Voice; - -//@description Describes user contact @phone_number User's phone number @first_name User first name, 1-255 characters @last_name User last name @user_id User identifier if known, 0 otherwise -contact phone_number:string first_name:string last_name:string user_id:int = Contact; - -//@description Describes location on Earth @latitude Latitude of location in degrees as defined by sender @longitude Longitude of location in degrees as defined by sender -location latitude:double longitude:double = Location; - -//@description Describes venue @location Venue location as defined by sender @title Venue name as defined by sender @address Venue address as defined by sender @provider Provider of venue database as defined by sender. Only "foursquare" need to be supported currently -//@id Identifier of the venue in provider database as defined by sender -venue location:location title:string address:string provider:string id:string = Venue; - -//@description Describes a game @id Game id @short_name Game short name, to share a game use a URL https://t.me/{bot_username}?game={game_short_name} @title Game title @text Game text, usually containing game scoreboards -//@text_entities Entities contained in the text @param_description Game description @photo Game photo @animation Game animation, nullable -game id:int64 short_name:string title:string text:string text_entities:vector description:string photo:photo animation:animation = Game; - - -//@description Describes user profile photo @id Photo identifier, 0 for empty photo. Can be used to find photo in list of userProfilePhotos -//@small Small (160x160) user profile photo @big Big (640x640) user profile photo -profilePhoto id:int64 small:file big:file = ProfilePhoto; - -//@description Describes chat photo @small Small (160x160) chat photo @big Big (640x640) chat photo -chatPhoto small:file big:file = ChatPhoto; - - -//@class LinkState @description Represents ordered relationship between two users - -//@description Other user's phone number doesn't known -linkStateNone = LinkState; - -//@description Other user's phone number is known but user not in contacts list -linkStateKnowsPhoneNumber = LinkState; - -//@description Other user is in contacts list, particularly its phone number is known -linkStateContact = LinkState; - - -//@class UserType @description Allows to distinguish different kinds of users: general users, deleted users and bots - -//@description General user -userTypeGeneral = UserType; - -//@description Deleted user or deleted bot. There is no any information about it except user_id. None of active action can be performed with deleted user -userTypeDeleted = UserType; - -//@description Bot (see https://core.telegram.org/bots) @can_join_group_chats If true, bot can be invited to group and supergroup chats -//@can_read_all_group_chat_messages If true, bot can read all group or supergroup chat messages, not only addressed to him. In private chats bot always can read all messages -//@is_inline True, if bot supports inline queries @inline_query_placeholder Placeholder for inline query @need_location If true, user location should be sent with every inline query to this bot -userTypeBot can_join_group_chats:Bool can_read_all_group_chat_messages:Bool is_inline:Bool inline_query_placeholder:string need_location:Bool = UserType; - -//@description Currently there is no any information about the user except user_id. It can happens very-very rarely. None of active action can be performed with unknown user -userTypeUnknown = UserType; - - -//@description Represents command supported by bot @command Text of the bot command @param_description Description of the bot command -botCommand command:string description:string = BotCommand; - -//@description Provides information about bot and command supported by him @param_description Big description shown in user info page @commands List of commands cupported by bot -botInfo description:string commands:vector = BotInfo; - - -//@description Represents user @id User identifier @first_name User first name @last_name User last name @username User username -//@phone_number User's phone number @status User's online status @profile_photo User profile photo, nullable -//@my_link Relationships from me to other user @foreign_link Relationships from other user to me @is_verified True, if user is verified @restriction_reason If non-empty, contains the reason, why access to this user must be restricted. Format of the string is "{type}: {description}". -{type} contains type of the restriction and at least one of the suffixes "-all", "-ios", "-android", "-wp", which describes platforms on which access should be restricted. For example, "terms-ios-android". {description} contains human-readable description of the restriction, which can be showed to the user -//@have_access If false, the user is inaccessible and the only known information about it is inside this class. It can't be passed to any method except GetUser. Currently it can be false only for inaccessible authors of the channel posts @type Type of the user @language_code Bots only. IETF language tag of users language -user id:int first_name:string last_name:string username:string phone_number:string status:UserStatus profile_photo:profilePhoto my_link:LinkState foreign_link:LinkState is_verified:Bool restriction_reason:string have_access:Bool type:UserType language_code:string = User; - -//@description Gives full information about a user (except full list of profile photos) @is_blocked Is user blacklisted by the current user @can_be_called True, if the user can be called @has_private_calls True, if the user can't be called only because of his privacy settings -//@about Short user bio or bot share text @common_chat_count Number of common chats between the user and current user, 0 for the current user @bot_info Information about bot if user is a bot, nullable -userFull is_blocked:Bool can_be_called:Bool has_private_calls:Bool about:string common_chat_count:int bot_info:botInfo = UserFull; - -//@description Contains part of the list of user photos @total_count Total number of user profile photos @photos List of photos -userProfilePhotos total_count:int photos:vector = UserProfilePhotos; - -//@description Represents list of users @total_count Approximate total count of found users @user_ids List of user identifiers -users total_count:int user_ids:vector = Users; - - -//@class ChatMemberStatus @description Provides information about status of a member in the chat - -//@description User is creator of the chat which has all administrator priviledges -chatMemberStatusCreator = ChatMemberStatus; - -//@description User is a chat member with some additional priviledges. In groups, administrators can edit and delete other messages, add new members and ban unpriviledged members -//@can_be_edited True, if current user has rights to edit administrator privileges of that user -//@can_change_info True, if the administrator can change chat title, photo and other settings -//@can_post_messages True, if the administrator can create channel posts, broadcast channels only -//@can_edit_messages True, if the administrator can edit messages of other users, broadcast channels only -//@can_delete_messages True, if the administrator can delete messages of other users -//@can_invite_users True, if the administrator can invite new users to the chat -//@can_restrict_members True, if the administrator can restrict, ban or unban chat members -//@can_pin_messages True, if the administrator can pin messages, supergroup channels only -//@can_promote_members True, if the administrator can add new administrators with a subset of his own privileges or demote administrators directly or indirectly promoted by him -chatMemberStatusAdministrator can_be_edited:Bool can_change_info:Bool can_post_messages:Bool can_edit_messages:Bool can_delete_messages:Bool can_invite_users:Bool can_restrict_members:Bool can_pin_messages:Bool can_promote_members:Bool = ChatMemberStatus; - -//@description User is a member of the chat, but have no any additional privileges or restrictions -chatMemberStatusMember = ChatMemberStatus; - -//@description User has some additional restrictions in the chat. Unsupported in group chats and broadcast channels -//@is_member True, if user is chat member -//@restricted_until_date Date when the user will be unrestricted, 0 if never. Unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time it considered to be restricted forever -//@can_send_messages True, if the user can send text messages, contacts, locations and venues -//@can_send_media_messages True, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages -//@can_send_other_messages True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages -//@can_add_web_page_previews True, if user may add web page preview to his messages, implies can_send_messages -chatMemberStatusRestricted is_member:Bool restricted_until_date:int can_send_messages:Bool can_send_media_messages:Bool can_send_other_messages:Bool can_add_web_page_previews:Bool = ChatMemberStatus; - -//@description User is not a chat member -chatMemberStatusLeft = ChatMemberStatus; - -//@description User was banned (and obviously is not a chat member) and can't return to the chat or view messages -//@banned_until_date Date when the user will be unbanned, 0 if never. Unix time. If user is banned for more than 366 days or less than 30 seconds from the current time it considered to be banned forever -chatMemberStatusBanned banned_until_date:int = ChatMemberStatus; - - -//@description User with information about its chat joining/leaving @user_id User identifier of the chat member @inviter_user_id Identifier of a user invited/promoted/banned this member in the chat, 0 if unknown -//@join_date Date the user has joined a chat, unix time @status Status of the member in the chat @bot_info Information about bot if user is a bot, nullable. Can be null even for bot if bot is not a chat member -chatMember user_id:int inviter_user_id:int join_date:int status:ChatMemberStatus bot_info:botInfo = ChatMember; - -//@description Contains list of chat members @total_count Approximate total count of found chat members @members List of members -chatMembers total_count:int members:vector = ChatMembers; - - -//@class ChannelMembersFilter @description Specifies kind of chat users to return in getChannelMembers - -//@description Return recently active users in reverse chronological order -channelMembersFilterRecent = ChannelMembersFilter; - -//@description Return creator and administrators -channelMembersFilterAdministrators = ChannelMembersFilter; - -//@description Searches for channel members using specified query @query Query to search for -channelMembersFilterSearch query:string = ChannelMembersFilter; - -//@description Return restricted channel members, administrators only @query Query to search for -channelMembersFilterRestricted query:string = ChannelMembersFilter; - -//@description Return banned from the channel users, administrators only @query Query to search for -channelMembersFilterBanned query:string = ChannelMembersFilter; - -//@description Return bot members of the channel -channelMembersFilterBots = ChannelMembersFilter; - - -//@description Represents a group of zero or more other users @id Group identifier -//@member_count Group member count -//@status Status of the current user in the group -//@everyone_is_administrator True, if all members granted administrator rights in the group -//@is_active True, if group is active -//@migrated_to_channel_id Identifier of channel (supergroup) to which this group was migrated or 0 if none -group id:int member_count:int status:ChatMemberStatus everyone_is_administrator:Bool is_active:Bool migrated_to_channel_id:int = Group; - -//@description Gives full information about a group @creator_user_id User identifier of the group creator, 0 if unknown @members Group members @invite_link Invite link for this group, available only for group creator and only after it is generated at least once -groupFull creator_user_id:int members:vector invite_link:string = GroupFull; - - -//@description Represents a channel with zero or more subscribers. There two different kinds of channels: supergroups and broadcast channels -//@id Channel identifier -//@username Channel username, empty for private channels -//@date Date when current user has joined the channel or date when channel was created, if user is not a member. Unix time -//@status Status of the current user in the channel -//@anyone_can_invite True, if any member of the supergroup can invite other members. If the channel is not a supergroup, the field is meaningless -//@sign_messages True, if messages sent to the channel should content information about the sender. If the channel is a supergroup, the field is meaningless -//@is_supergroup True, if channel is a supergroup and is not a broadcast -//@is_verified True, if the channel is verified -//@restriction_reason If non-empty, contains the reason, why access to this channel must be restricted. Format of the string is "{type}: {description}". {type} contains type of the restriction and at least one of the suffixes "-all", "-ios", "-android", "-wp", which describes platforms on which access should be restricted. For example, "terms-ios-android". {description} contains human-readable description of the restriction, which can be showed to the user -channel id:int username:string date:int status:ChatMemberStatus anyone_can_invite:Bool sign_messages:Bool is_supergroup:Bool is_verified:Bool restriction_reason:string = Channel; - -//@description Gives full information about a channel -//@param_description Channel description -//@member_count Channel member count, 0 if unknown -//@administrator_count Number of privileged users in the channel, 0 if unknown -//@restricted_count Number of restricted users in the channel, 0 if unknown -//@banned_count Number of users banned from the channel, 0 if unknown -//@can_get_members True, if members of the channel can be retrieved -//@can_set_username True, if the channel can be made public -//@can_set_sticker_set True, if the channel sticker set can be changed -//@sticker_set_id Identifier of channel sticker set, or 0 if none -//@invite_link Invite link for this channel -//@pinned_message_id Identifier of the pinned message in the channel chat, or 0 if none -//@migrated_from_group_id Identifier of the group, this supergroup migrated from, or 0 if none -//@migrated_from_max_message_id Identifier of last message in the group chat migrated from, or 0 if none -channelFull description:string member_count:int administrator_count:int restricted_count:int banned_count:int can_get_members:Bool can_set_username:Bool can_set_sticker_set:Bool sticker_set_id:int64 invite_link:string pinned_message_id:int53 migrated_from_group_id:int migrated_from_max_message_id:int53 = ChannelFull; - - -//@description Represents a secret chat -//@id Secret chat identifier -//@user_id Identifier of the interlocutor -//@state State of the secret chat, 0 - yet not created, 1 - active, 2 - closed -//@is_outbound True if chat was created by the current logged in user, false otherwise -//@ttl Current message TTL setting for the chat in seconds -//@key_hash Hash of the current used key for comparison with the hash of the interlocutor's key. String of 36 bytes, which should be used to make a 12x12 square image with a color depth of 4. First 16 bytes should be used to make a central 8 * 8 square, left 20 bytes should be used to construct a border of width 2 around that square. Alternatively first 32 bytes of the hash can be converted to hex and printed as 32 2-digit hex numbers -//@layer Secret chat layer, determining features supported by other client. Video notes are supported if layer >= 66 -secretChat id:int user_id:int state:int is_outbound:Bool ttl:int key_hash:bytes layer:int = SecretChat; - - -//@description Contains chat invite link @invite_link Chat invite link -chatInviteLink invite_link:string = ChatInviteLink; - -//@description Contains information about chat invite link @chat_id Chat identifier of the invite link or 0 if user is not a member of this chat @title Title of the chat @photo Chat photo, nullable @member_count Total member count @member_user_ids User identifiers of some chat members that may be known to the current user -//@is_group True, if the chat is a group chat @is_channel True, if the chat is a channel chat @is_public_channel True, if the chat is a channel chat with set up username @is_supergroup_channel True, if the chat is a supergroup channel chat -chatInviteLinkInfo chat_id:int53 title:string photo:chatPhoto member_count:int member_user_ids:vector is_group:Bool is_channel:Bool is_public_channel:Bool is_supergroup_channel:Bool = ChatInviteLinkInfo; - - -//@class MessageForwardInfo @description Contains information about initial sender of forwarded message - -//@description Message is originally written by known user @sender_user_id Identifier of a user, who originally sent this message @date Date when message was originally sent -messageForwardedFromUser sender_user_id:int date:int = MessageForwardInfo; - -//@description Message is orifinally a channel post @chat_id Identifier of a chat from which message is forwarded @author_signature Post author signature -//@date Date when message was originally sent @message_id Message identifier of the message from which the message is forwarded, 0 if unknown -messageForwardedPost chat_id:int53 author_signature:string date:int message_id:int53 = MessageForwardInfo; - - -//@class MessageSendState @description Contains information about sending state of the message - -//@description Message is incoming -messageIsIncoming = MessageSendState; - -//@description Message is outgoing but is yet not delivered to the server -messageIsBeingSent = MessageSendState; - -//@description Message was synchronized with the server -messageIsSuccessfullySent = MessageSendState; - -//@description Message is failed to send -messageIsFailedToSend = MessageSendState; - - -//@description Describes message -//@id Unique message identifier -//@sender_user_id Identifier of the user who sent the message, 0 if unknown. It is unknown for channel posts -//@chat_id Chat identifier -//@send_state Information about sending state of the message -//@can_be_edited True, if message can be edited -//@can_be_forwarded True, if message can be forwarded -//@can_be_deleted_only_for_self True, if message can be deleted only for self, other users will continue to see it -//@can_be_deleted_for_everyone True, if message can be deleted for everyone -//@is_post True, if message is channel post. All messages to broadcast channels are posts, all other messages are not posts -//@contains_unread_mention True, if message contains unread mention of the current user -//@date Date when message was sent, unix time -//@edit_date Date when message was edited last time, unix time -//@forward_info Information about initial message sender, nullable -//@reply_to_message_id If non-zero, identifier of the message this message replies to, can be identifier of deleted message -//@ttl Message TTL in seconds, 0 if none. TDLib will send updateDeleteMessages or updateMessageContent when TTL expires -//@ttl_expires_in Time left for message TTL to expire in seconds -//@via_bot_user_id If non-zero, user identifier of the bot this message is sent via -//@author_signature For channel posts, optional author signature -//@views Number of times this message was viewed -//@content Content of the message -//@reply_markup Reply markup for the message, nullable -message id:int53 sender_user_id:int chat_id:int53 send_state:MessageSendState can_be_edited:Bool can_be_forwarded:Bool can_be_deleted_only_for_self:Bool can_be_deleted_for_everyone:Bool is_post:Bool contains_unread_mention:Bool date:int edit_date:int forward_info:MessageForwardInfo reply_to_message_id:int53 ttl:int ttl_expires_in:double via_bot_user_id:int author_signature:string views:int content:MessageContent reply_markup:ReplyMarkup = Message; - -//@description Contains list of messages @total_count Approximate total count of found messages @messages List of messages -messages total_count:int messages:vector = Messages; - -//@description Contains list of found by search messages @messages List of messages @next_from_search_id Value to pass as from_search_id to get more results -foundMessages messages:vector next_from_search_id:int64 = FoundMessages; - - -//@class NotificationSettingsScope @description Describes kinds of chat for which notification settings are applied - -//@description Notification settings applied to particular chat @chat_id Chat identifier -notificationSettingsScopeChat chat_id:int53 = NotificationSettingsScope; - -//@description Notification settings applied to all private chats -notificationSettingsScopePrivateChats = NotificationSettingsScope; - -//@description Notification settings applied to all group and broadcast channel chats (supergroup channels have no common settings) -notificationSettingsScopeGroupChats = NotificationSettingsScope; - -//@description Notification settings applied to all chats -notificationSettingsScopeAllChats = NotificationSettingsScope; - - -//@description Contains information about notification settings for chat or chats @mute_for Time left before notifications will be unmuted, seconds @sound Audio file name for notifications, iPhone apps only @show_preview Display message text/media in notification -notificationSettings mute_for:int sound:string show_preview:Bool = NotificationSettings; - - -//@description Contains information about draft of a message @reply_to_message_id Identifier of a message to reply to or 0 @input_message_text Content of a draft message, always should be of a type inputMessageText -draftMessage reply_to_message_id:int53 input_message_text:InputMessageContent = DraftMessage; - - -//@class ChatType @description Describes type of a chat - -//@description Ordinary chat with a user @user_id User identifier -chatTypePrivate user_id:int = ChatType; - -//@description Chat with zero or more other users @group_id Group identifier -chatTypeGroup group_id:int = ChatType; - -//@description Chat with unlimited number of members @channel_id Channel identifier @is_supergroup True, if the channel is a supergroup and is not a broadcast -chatTypeChannel channel_id:int is_supergroup:Bool = ChatType; - -//@description Secret chat with a user @secret_chat_id Secret chat identifier @user_id User identifier of the peer -chatTypeSecret secret_chat_id:int user_id:int = ChatType; - - -//@description Chat (private chat or group chat or channel chat) -//@id Chat unique identifier -//@type Information about type of the chat -//@title Chat title -//@photo Chat photo, nullable -//@top_message Last message in the chat, nullable -//@order Parameter by descending of which chats are sorted in the chat list. If order of two chats is equal, then they need to be sorted by id also in descending order. If order == 0, position of the chat in the list is undetermined -//@is_pinned True, if the chat is pinned -//@unread_count Count of unread messages in the chat -//@last_read_inbox_message_id Identifier of last read incoming message -//@last_read_outbox_message_id Identifier of last read outgoing message -//@unread_mention_count Count of unread messages with mention/reply in the chat -//@notification_settings Notification settings for this chat -//@reply_markup_message_id Identifier of the message from which reply markup need to be used or 0 if there is no default custom reply markup in the chat -//@draft_message Draft of a message in the chat, nullable. parse_mode in input_message_text always will be null -//@client_data Client specified data, associated with the chat. For example, chat position or local chat notification settings may be stored here. Persistent if message db is used -chat id:int53 type:ChatType title:string photo:chatPhoto top_message:message order:int64 is_pinned:Bool unread_count:int last_read_inbox_message_id:int53 last_read_outbox_message_id:int53 unread_mention_count:int notification_settings:notificationSettings reply_markup_message_id:int53 draft_message:draftMessage client_data:string = Chat; - -//@description Represents list of chats @chat_ids List of chat identifiers -chats chat_ids:vector = Chats; - - -//@class KeyboardButtonType @description Describes type of the keyboard button - -//@description Simple button with a text, which should be sent when the button is pressed -keyboardButtonTypeText = KeyboardButtonType; - -//@description A button which sends user's phone number when pressed, available only in private chats -keyboardButtonTypeRequestPhoneNumber = KeyboardButtonType; - -//@description A button which sends user location when pressed, available only in private chats -keyboardButtonTypeRequestLocation = KeyboardButtonType; - - -//@description Represents one button of the bot keyboard @text Text of the button @type Type of the button -keyboardButton text:string type:KeyboardButtonType = KeyboardButton; - - -//@class InlineKeyboardButtonType @description Describes type of the inline keyboard button - -//@description A button which opens the specified URL @url URL to open -inlineKeyboardButtonTypeUrl url:string = InlineKeyboardButtonType; - -//@description A button which sends to the bot special callback query @data Data to be sent to the bot through a callack query -inlineKeyboardButtonTypeCallback data:bytes = InlineKeyboardButtonType; - -//@description A button with a game which sends to the bot special callback query, must be in the first column and row of the keyboard, can be attached only to a message with content of the type messageGame -inlineKeyboardButtonTypeCallbackGame = InlineKeyboardButtonType; - -//@description A button which forces inline query to the bot to be substitued in the input field @query Inline query to be sent to the bot @in_current_chat True, if the inline query should be sent from the current chat -inlineKeyboardButtonTypeSwitchInline query:string in_current_chat:Bool = InlineKeyboardButtonType; - -//@description A button for buying, must be in the first column and row of the keyboard, can be attached only to a message with content of the type messageInvoice -inlineKeyboardButtonTypeBuy = InlineKeyboardButtonType; - - -//@description Represents one button of the inline keyboard @text Text of the button @type Type of the button -inlineKeyboardButton text:string type:InlineKeyboardButtonType = InlineKeyboardButton; - - -//@class ReplyMarkup @description Contains description of custom keyboard and actions with it for fast reply to bots - -//@description Instruct clients to remove keyboard after receiving this message. This kind of keyboard can't be received. Instead UpdateChatReplyMarkup with message_id == 0 will be send -//@personal Keyboard is removed only for mentioned users or replied to user -replyMarkupRemoveKeyboard personal:Bool = ReplyMarkup; - -//@description Instruct clients to force reply to this message @personal Forced reply is used automatically only for mentioned users or replied to chat user, for incoming messages it is true if and only if forced reply needs to be automatically showed to the current user -replyMarkupForceReply personal:Bool = ReplyMarkup; - -//@description Contains custom keyboard layout for fast reply to bot -//@rows List of rows of bot keyboard buttons -//@resize_keyboard Do clients need to resize keyboard vertically -//@one_time Do clients need to hide keyboard after use -//@personal Keyboard is showed automatically only for mentioned users or replied to user, for incoming messages it is true if and only if keyboard needs to be automatically showed to current user -replyMarkupShowKeyboard rows:vector> resize_keyboard:Bool one_time:Bool personal:Bool = ReplyMarkup; - -//@description Contains inline keyboard layout -//@rows List of rows of inline keyboard buttons -replyMarkupInlineKeyboard rows:vector> = ReplyMarkup; - - -//@class RichText @description Describes a text inside web page instant view - -//@description Plain text @text The text -richTextPlain text:string = RichText; - -//@description Bold rich text @text The text -richTextBold text:RichText = RichText; - -//@description Italicized rich text @text The text -richTextItalic text:RichText = RichText; - -//@description Underlined rich text @text The text -richTextUnderline text:RichText = RichText; - -//@description Striked through rich text @text The text -richTextStrikethrough text:RichText = RichText; - -//@description Fixed width rich text @text The text -richTextFixed text:RichText = RichText; - -//@description Rich text URL link @text The text @url The URL -richTextUrl text:RichText url:string = RichText; - -//@description Rich text email link @text The text @email The email -richTextEmail text:RichText email:string = RichText; - -//@description Concatenation of rich texts @texts The texts -richTextConcatenation texts:vector = RichText; - - -//@class PageBlock @description Describes a block of web page instant view - -//@description Title of a page @title The title -pageBlockTitle title:RichText = PageBlock; - -//@description Subtitle of a page @subtitle The subtitle -pageBlockSubtitle subtitle:RichText = PageBlock; - -//@description Author and publish date of a page @author The author @publish_date Date of article publish, unix time. 0 if unknown -pageBlockAuthorDate author:RichText publish_date:int = PageBlock; - -//@description A header @header The header -pageBlockHeader header:RichText = PageBlock; - -//@description A subheader @subheader The subheader -pageBlockSubheader subheader:RichText = PageBlock; - -//@description A text paragraph @text Paragraph text -pageBlockParagraph text:RichText = PageBlock; - -//@description Preformatted text paragraph @text Paragraph text @language Programming language for which the text should be formatted -pageBlockPreformatted text:RichText language:string = PageBlock; - -//@description Footer of a page @footer The footer -pageBlockFooter footer:RichText = PageBlock; - -//@description An empty block separating parts of a page -pageBlockDivider = PageBlock; - -//@description Invisible anchor on a page which can be used in a URL to open a page from the specified anchor @name Name of the anchor -pageBlockAnchor name:string = PageBlock; - -//@description List of texts @items Texts @is_ordered True, if items should be marked with numbers -pageBlockList items:vector is_ordered:Bool = PageBlock; - -//@description Block quote @text Quote text @caption Quote caption -pageBlockBlockQuote text:RichText caption:RichText = PageBlock; - -//@description Pull quote @text Quote text @caption Quote caption -pageBlockPullQuote text:RichText caption:RichText = PageBlock; - -//@description An animation @animation The animation, nullable @caption Animation caption @need_autoplay True, if the animation should be autoplayed -pageBlockAnimation animation:animation caption:RichText need_autoplay:Bool = PageBlock; - -//@description An audio @audio The audio, nullable @caption Audio caption -pageBlockAudio audio:audio caption:RichText = PageBlock; - -//@description A photo @photo The photo, nullable @caption Photo caption -pageBlockPhoto photo:photo caption:RichText = PageBlock; - -//@description A video @video The video, nullable @caption Video caption @need_autoplay True, if the video should be autoplayed @is_looped True, if the video is looped -pageBlockVideo video:video caption:RichText need_autoplay:Bool is_looped:Bool = PageBlock; - -//@description Page cover @cover The cover -pageBlockCover cover:PageBlock = PageBlock; - -//@description Embedded web page @url Web page URL, if available @html HTML-markup of the embedded page @poster_photo Poster photo if available, nullable @width Block width @height Block height @caption Block caption @is_full_width True, if the block should be full width @allow_scrolling True, if scrolling should be allowed -pageBlockEmbedded url:string html:string poster_photo:photo width:int height:int caption:RichText is_full_width:Bool allow_scrolling:Bool = PageBlock; - -//@description Embedded post @url Web page URL @author Post author @author_photo Post author photo @date Post date, unix time. 0 if unknown @page_blocks Post content @caption Post caption -pageBlockEmbeddedPost url:string author:string author_photo:photo date:int page_blocks:vector caption:RichText = PageBlock; - -//@description A collage @page_blocks Collage item contents @caption Block caption -pageBlockCollage page_blocks:vector caption:RichText = PageBlock; - -//@description A slideshow @page_blocks Slideshow item contents @caption Block caption -pageBlockSlideshow page_blocks:vector caption:RichText = PageBlock; - -//@description A link to a chat @title Chat title @photo Chat photo, nullable @username Chat username by which all other information about the chat should be resolved -pageBlockChatLink title:string photo:chatPhoto username:string = PageBlock; - - -//@description Describes instant view of a web page @page_blocks Content of the web page @is_full True, if instant view contains full page. Network request may be needed to get full web page instant view -webPageInstantView page_blocks:vector is_full:Bool = WebPageInstantView; - - -//@description Describes web page preview @url Original URL of link @display_url URL to display -//@type Type of web page: article, photo, audio, video, document, profile, app or something other -//@site_name Short name of the site (i.e. Google Docs or App Store) @title Title of the content @param_description Description of the content -//@photo Image representing the content, nullable -//@embed_url Url to show embedded preview -//@embed_type MIME type of embedded preview, i.e. text/html or video/mp4 -//@embed_width Width of embedded preview -//@embed_height Height of embedded preview -//@duration Duration of the content in seconds -//@author Author of the content -//@animation Preview as an Animation if available, nullable -//@audio Preview as an Audio if available, nullable -//@document Preview as a Document if available (currently only for small pdf files and zip archives), nullable -//@sticker Preview as a Sticker for small .webp files if available, nullable -//@video Preview as a Video if available, nullable -//@video_note Preview as a VideoNote if available, nullable -//@voice Preview as a Voice if available, nullable -//@has_instant_view True if web page has instant view -webPage url:string display_url:string type:string site_name:string title:string description:string photo:photo embed_url:string embed_type:string embed_width:int embed_height:int duration:int author:string animation:animation audio:audio document:document sticker:sticker video:video video_note:videoNote voice:voice has_instant_view:Bool = WebPage; - - -//@description Goods price portion @label Portion label @amount Currency amount in minimal quantity of the currency -labeledPrice label:string amount:int53 = LabeledPrice; - -//@description Goods invoice @currency ISO 4217 currency code @prices List of objects used to calculate total price @is_test True, if payment is test @need_name True, if user's name is needed for payment @need_phone_number True, if user's phone number is needed for payment @need_email True, if user's email is needed for payment -//@need_shipping_address True, if user's shipping address is needed for payment @is_flexible True, if total price depends on shipping method -invoice currency:string prices:vector is_test:Bool need_name:Bool need_phone_number:Bool need_email:Bool need_shipping_address:Bool is_flexible:Bool = Invoice; - -//@description Describes shipping address @country_code Two letter ISO 3166-1 alpha-2 country code @state State if applicable @city City @street_line1 First line for the address @street_line2 Second line for the address @post_code Address post code -shippingAddress country_code:string state:string city:string street_line1:string street_line2:string post_code:string = ShippingAddress; - -//@description Order information @name User name @phone_number User's phone number @email User email @shipping_address User shipping address, nullable -orderInfo name:string phone_number:string email:string shipping_address:shippingAddress = OrderInfo; - -//@description One shipping option @id Shipping option identifier @title Option title @prices List of objects used to calculate total shipping price -shippingOption id:string title:string prices:vector = ShippingOption; - -//@description Information about saved card credentials @id Unique identifier of the saved credentials @title Title of the saved credentials -savedCredentials id:string title:string = SavedCredentials; - -//@class InputCredentials @description Contains information about payment method chosen by user - -//@description User chooses previosly saved payment credentials. To use previously saved credentials user should have valid temporary password @saved_credentials_id Identifier of saved credentials -inputCredentialsSaved saved_credentials_id:string = InputCredentials; - -//@description User enters new credentials on payment provider web site @data JSON-encoded data with credentials identifier from the payment provider @allow_save True, if credentials identifier can be saved server-side -inputCredentialsNew data:string allow_save:Bool = InputCredentials; - -//@description Stripe payments provider @publishable_key Stripe API publishable key @need_country True, if user country should be entered @need_zip True, if user zip code should be entered @need_cardholder_name True, if cardholder name should be entered -paymentsProviderStripe publishable_key:string need_country:Bool need_zip:Bool need_cardholder_name:Bool = PaymentsProviderStripe; - -//@description Information about invoice payment form @invoice Full information about the invoice @url Payment form URL @payments_provider Information about payment provider if available, to support it natively without opening the URL, nullable -//@saved_order_info Saved server-side order information, nullable @saved_credentials Information about saved card credentials, nullable @can_save_credentials True, if the user can choose to save credentials @need_password True, if the user will be able to save credentials if he set up a password -paymentForm invoice:invoice url:string payments_provider:paymentsProviderStripe saved_order_info:orderInfo saved_credentials:savedCredentials can_save_credentials:Bool need_password:Bool = PaymentForm; - -//@description Contains temporary identifier of validated order information stored for an hour and available shipping options @order_info_id Temporary identifier of order information @shipping_options Available shipping options -validatedOrderInfo order_info_id:string shipping_options:vector = ValidatedOrderInfo; - -//@description Contains result of a payment query @success True, if payment request was successful. If false, verification_url will be not empty @verification_url Url for additional payments credentials verification -paymentResult success:Bool verification_url:string = PaymentResult; - -//@description Contains information about successful payment @date Payment date, unix time @payments_provider_user_id User identifier of payments provider bot @invoice Information about the invoice -//@order_info Order information, nullable @shipping_option Chosen shipping option, nullable @credentials_title Title of the saved credentials -paymentReceipt date:int payments_provider_user_id:int invoice:invoice order_info:orderInfo shipping_option:shippingOption credentials_title:string = PaymentReceipt; - - -//@class MessageContent @description Content of a message - -//@description Text message @text Text of the message @entities Entities contained in the text @web_page Preview of a web page mentioned in the text, nullable -messageText text:string entities:vector web_page:webPage = MessageContent; - -//@description Animation message @animation Message content @caption Animation caption -messageAnimation animation:animation caption:string = MessageContent; - -//@description Audio message @audio Message content @caption Audio caption -messageAudio audio:audio caption:string = MessageContent; - -//@description Document message @document Message content @caption Document caption -messageDocument document:document caption:string = MessageContent; - -//@description Photo message @photo Message content @caption Photo caption -messagePhoto photo:photo caption:string = MessageContent; - -//@description Photo message expired by TTL -messageExpiredPhoto = MessageContent; - -//@description Sticker message @sticker Message content -messageSticker sticker:sticker = MessageContent; - -//@description Video message @video Message content @caption Video caption -messageVideo video:video caption:string = MessageContent; - -//@description Video message expired by TTL -messageExpiredVideo = MessageContent; - -//@description Video note message @video_note Message content @is_viewed True, if the video note message was viewed -messageVideoNote video_note:videoNote is_viewed:Bool = MessageContent; - -//@description Voice message @voice Message content @caption Voice caption @is_listened True, if the voice message was listened to -messageVoice voice:voice caption:string is_listened:Bool = MessageContent; - -//@description Message with location @location Message content -messageLocation location:location = MessageContent; - -//@description Message with information about venue @venue Message content -messageVenue venue:venue = MessageContent; - -//@description User contact message @contact Message content -messageContact contact:contact = MessageContent; - -//@description Message with a game @game The game -messageGame game:game = MessageContent; - -//@description Message with an invoice from a bot @title Goods title @param_description Goods description @photo Goods photo, nullable @currency Currency for goods price @total_amount Goods total price in minimal quantity of the currency -//@start_parameter Unique invoice bot start_parameter. To share an invoice use a URL https://t.me/{bot_username}?start={start_parameter} @is_test True, if invoice is test -//@need_shipping_address True, if shipping address should be specified @receipt_message_id Identifier of message with receipt after the goods are paid -messageInvoice title:string description:string photo:photo currency:string total_amount:int53 start_parameter:string is_test:Bool need_shipping_address:Bool receipt_message_id:int53 = MessageContent; - -//@description Message with an information about ended call @discard_reason Call discard reason @duration Call duration in seconds -messageCall discard_reason:CallDiscardReason duration:int = MessageContent; - -//@description New group chat created @title Title of created group chat @member_user_ids User identifiers of members of created group chat -messageGroupChatCreate title:string member_user_ids:vector = MessageContent; - -//@description New channel chat created @title Title of created channel chat -messageChannelChatCreate title:string = MessageContent; - -//@description Chat title changed @title New chat title -messageChatChangeTitle title:string = MessageContent; - -//@description Chat photo changed @photo New chat photo -messageChatChangePhoto photo:photo = MessageContent; - -//@description Chat photo deleted -messageChatDeletePhoto = MessageContent; - -//@description Chat members added @member_user_ids User identifiers of new chat members -messageChatAddMembers member_user_ids:vector = MessageContent; - -//@description Chat member joined by invite link -messageChatJoinByLink = MessageContent; - -//@description Chat member deleted @user_id User identifier of deleted chat memeber -messageChatDeleteMember user_id:int = MessageContent; - -//@description Group chat is migrated to supergroup channel and deactivated @channel_id Identifier of the channel it is migrated to -messageChatMigrateTo channel_id:int = MessageContent; - -//@description Supergroup channel is created from group chat @title Title of created channel chat @group_id Identifier of the group it is migrated from -messageChatMigrateFrom title:string group_id:int = MessageContent; - -//@description Some message was pinned @message_id Identifier of the pinned message, can be identifier of the deleted message -messagePinMessage message_id:int53 = MessageContent; - -//@description Screenshot of messages in the chat was taken -messageScreenshotTaken = MessageContent; - -//@description Messages ttl setting in secret chat has changed @ttl New ttl -messageChatSetTtl ttl:int = MessageContent; - -//@description New high score was achieved in a game @game_message_id Identifier of the message with the game, can be identifier of the deleted message @game_id Identifier of the game, may be different from the games presented in the message with the game @score New score -messageGameScore game_message_id:int53 game_id:int64 score:int = MessageContent; - -//@description Payment completed @currency Currency for goods price @total_amount Goods total price in minimal quantity of the currency -messagePaymentSuccessful currency:string total_amount:int53 = MessageContent; - -//@description Bots only. Payment completed @currency Currency for goods price @total_amount Goods total price in minimal quantity of the currency @invoice_payload Invoice payload @shipping_option_id Identifier of a choosed by user shipping option, may be empty if not applicable @order_info Information about the order, nullable -//@telegram_payment_charge_id Telegram payment identifier @provider_payment_charge_id Provider payment identifier -messagePaymentSuccessfulBot currency:string total_amount:int53 invoice_payload:bytes shipping_option_id:string order_info:orderInfo telegram_payment_charge_id:string provider_payment_charge_id:string = MessageContent; - -//@description Contact has registered -messageContactRegistered = MessageContent; - -//@description Unsupported message content -messageUnsupported = MessageContent; - - -//@class TextEntityType @description Represent part of the text which needs to be formatted in some unusual way - -//@description Mention of the user by his username -textEntityTypeMention = TextEntityType; - -//@description Hashtag beginning with # -textEntityTypeHashtag = TextEntityType; - -//@description Bot command beginning with /. It shouldn't be highlighted if there is no bots in the chat -textEntityTypeBotCommand = TextEntityType; - -//@description Url beginning with http -textEntityTypeUrl = TextEntityType; - -//@description Email -textEntityTypeEmail = TextEntityType; - -//@description Bold text -textEntityTypeBold = TextEntityType; - -//@description Italic text -textEntityTypeItalic = TextEntityType; - -//@description Text needs to be formatted as inside of code HTML tag -textEntityTypeCode = TextEntityType; - -//@description Text needs to be formatted as inside of pre HTML tag -textEntityTypePre = TextEntityType; - -//@description Text needs to be formatted as inside of pre and code HTML tags @language Language of code as defined by sender -textEntityTypePreCode language:string = TextEntityType; - -//@description Text description showed instead of the url @url Url to be opened after link will be clicked -textEntityTypeTextUrl url:string = TextEntityType; - -//@description Mention of the user by some text @user_id Identifier of the mentioned user -textEntityTypeMentionName user_id:int = TextEntityType; - - -//@class TextParseMode @description Describes a way text should be parsed for MessageEntities, by default text is treated as is - -//@description Text should be parsed in markdown-style way -textParseModeMarkdown = TextParseMode; - -//@description Text should be parsed in the HTML-style way -textParseModeHTML = TextParseMode; - - -//@description Contains a list ot text entities @entities The entities -textEntities entities:vector = TextEntities; - - -//@description Thumb to send along with a file, should be in jpeg format or webp format for stickers and less than 200KB in size @thumb Thumb file to send, sending thumbs by file_id is currently not supported -//@width Thumb width, usually shouldn't excceed 90. Use 0 if unknown @height Thumb height, usually shouldn't excceed 90. Use 0 if unknown -inputThumb thumb:InputFile width:int height:int = InputThumb; - - -//@class InputMessageContent @description Content of a message to send - -//@description Text message @text Text to send @disable_web_page_preview Pass true to disable rich preview for link in the message text @clear_draft Pass true if chat draft message should be deleted -//@entities Bold, Italic, Code, Pre, PreCode and TextUrl entities contained in the text. Non-bot users can't use TextUrl entities. Can't be used with non-null parse_mode @parse_mode Text parse mode, nullable. Can't be used along with enitities -inputMessageText text:string disable_web_page_preview:Bool clear_draft:Bool entities:vector parse_mode:TextParseMode = InputMessageContent; - -//@description Animation message @animation Animation file to send @thumb Animation thumb, if available @duration Duration of the animation in seconds @width Width of the animation, may be replaced by the server @height Height of the animation, may be replaced by the server @caption Animation caption, 0-200 characters -inputMessageAnimation animation:InputFile thumb:inputThumb duration:int width:int height:int caption:string = InputMessageContent; - -//@description Audio message @audio Audio file to send @album_cover_thumb Thumb of the album's cover, if available @duration Duration of the audio in seconds, may be replaced by the server @title Title of the audio, 0-64 characters, may be replaced by the server -//@performer Performer of the audio, 0-64 characters, may be replaced by the server @caption Audio caption, 0-200 characters -inputMessageAudio audio:InputFile album_cover_thumb:inputThumb duration:int title:string performer:string caption:string = InputMessageContent; - -//@description Document message @document Document to send @thumb Document thumb, if available @caption Document caption, 0-200 characters -inputMessageDocument document:InputFile thumb:inputThumb caption:string = InputMessageContent; - -//@description Photo message @photo Photo to send @thumb Photo thumb to send, is sent to the other party in secret chats only @added_sticker_file_ids File identifiers of stickers added onto the photo @width Photo width @height Photo height @caption Photo caption, 0-200 characters -//@ttl Photo TTL in seconds, 0-60. Non-zero TTL can be only specified in private chats -inputMessagePhoto photo:InputFile thumb:inputThumb added_sticker_file_ids:vector width:int height:int caption:string ttl:int = InputMessageContent; - -//@description Sticker message @sticker Sticker to send @thumb Sticker thumb, if available @width Sticker width @height Sticker height -inputMessageSticker sticker:InputFile thumb:inputThumb width:int height:int = InputMessageContent; - -//@description Video message @video Video to send @thumb Video thumb, if available @added_sticker_file_ids File identifiers of stickers added onto the video @duration Duration of the video in seconds @width Video width @height Video height @caption Video caption, 0-200 characters -//@ttl Video TTL in seconds, 0-60. Non-zero TTL can be only specified in private chats -inputMessageVideo video:InputFile thumb:inputThumb added_sticker_file_ids:vector duration:int width:int height:int caption:string ttl:int = InputMessageContent; - -//@description Video note message @video_note Video note to send @thumb Video thumb, if available @duration Duration of the video in seconds @length Video width and height, should be positive and not greater than 640 -inputMessageVideoNote video_note:InputFile thumb:inputThumb duration:int length:int = InputMessageContent; - -//@description Voice message @voice Voice file to send @duration Duration of the voice in seconds @waveform Waveform representation of the voice in 5-bit format @caption Voice caption, 0-200 characters -inputMessageVoice voice:InputFile duration:int waveform:bytes caption:string = InputMessageContent; - -//@description Message with location @location Location to send -inputMessageLocation location:location = InputMessageContent; - -//@description Message with information about venue @venue Venue to send -inputMessageVenue venue:venue = InputMessageContent; - -//@description User contact message @contact Contact to send -inputMessageContact contact:contact = InputMessageContent; - -//@description Message with a game, can't be used in broadcast channels and secret chats @bot_user_id User identifier of a bot owned the game @game_short_name Game short name -inputMessageGame bot_user_id:int game_short_name:string = InputMessageContent; - -//@description Message with an invoice, can be used only by bots and in private chats only @invoice The invoice @title Product title, 1-32 characters @param_description Product description, 0-255 characters @photo_url Goods photo URL, optional @photo_size Goods photo size @photo_width Goods photo width @photo_height Goods photo height -//@payload Invoice payload @provider_token Payments provider token @start_parameter Unique invoice bot start_parameter for generation of this invoice -inputMessageInvoice invoice:invoice title:string description:string photo_url:string photo_size:int photo_width:int photo_height:int payload:bytes provider_token:string start_parameter:string = InputMessageContent; - -//@description Forwarded message @from_chat_id Chat identifier of the message to forward @message_id Identifier of the message to forward @in_game_share Pass true to share a game message within a launched game, for Game messages only -inputMessageForwarded from_chat_id:int53 message_id:int53 in_game_share:Bool = InputMessageContent; - - -//@class SearchMessagesFilter @description Represents filter for content of searched messages - -//@description Return all found messages -searchMessagesFilterEmpty = SearchMessagesFilter; - -//@description Return only animation messages -searchMessagesFilterAnimation = SearchMessagesFilter; - -//@description Return only audio messages -searchMessagesFilterAudio = SearchMessagesFilter; - -//@description Return only document messages -searchMessagesFilterDocument = SearchMessagesFilter; - -//@description Return only photo messages -searchMessagesFilterPhoto = SearchMessagesFilter; - -//@description Return only video messages -searchMessagesFilterVideo = SearchMessagesFilter; - -//@description Return only voice messages -searchMessagesFilterVoice = SearchMessagesFilter; - -//@description Return only photo and video messages -searchMessagesFilterPhotoAndVideo = SearchMessagesFilter; - -//@description Return only messages containing url -searchMessagesFilterUrl = SearchMessagesFilter; - -//@description Return only messages containing chat photos -searchMessagesFilterChatPhoto = SearchMessagesFilter; - -//@description Return only call messages -searchMessagesFilterCall = SearchMessagesFilter; - -//@description Return only incoming call messages with missed/declined discard reason -searchMessagesFilterMissedCall = SearchMessagesFilter; - -//@description Return only video note messages -searchMessagesFilterVideoNote = SearchMessagesFilter; - -//@description Return only voice and video note messages -searchMessagesFilterVoiceAndVideoNote = SearchMessagesFilter; - -//@description Return only messages with mentions of current logged in user or which are replies to his messages -searchMessagesFilterMention = SearchMessagesFilter; - -//@description Return only messages with unread mentions of current logged in user or which are replies to his messages. When this filter is used result can't be additionally filtered by a query or a sender user -searchMessagesFilterUnreadMention = SearchMessagesFilter; - - -//@class ChatAction @description Describes different types of activity in a chat - -//@description User typing a message -chatActionTyping = ChatAction; -//@description User records a video -chatActionRecordingVideo = ChatAction; -//@description User uploads a video @progress Upload progress in percents -chatActionUploadingVideo progress:int = ChatAction; -//@description User records voice message -chatActionRecordingVoice = ChatAction; -//@description User uploads voice message @progress Upload progress in percents -chatActionUploadingVoice progress:int = ChatAction; -//@description User uploads a photo @progress Upload progress in percents -chatActionUploadingPhoto progress:int = ChatAction; -//@description User uploads a document @progress Upload progress in percents -chatActionUploadingDocument progress:int = ChatAction; -//@description User chooses location or venue to send -chatActionChoosingLocation = ChatAction; -//@description User chooses contact to send -chatActionChoosingContact = ChatAction; -//@description User starts to play a game -chatActionStartPlayingGame = ChatAction; -//@description User records video note -chatActionRecordingVideoNote = ChatAction; -//@description User uploads a video note @progress Upload progress in percents -chatActionUploadingVideoNote progress:int = ChatAction; -//@description User cancels previous action -chatActionCancel = ChatAction; - - -//@class UserStatus @description Describes last time user was online - -//@description User status was newer changed -userStatusEmpty = UserStatus; - -//@description User is online @expires Unix time when user's online status will expire -userStatusOnline expires:int = UserStatus; - -//@description User is offline @was_online Unix time user was online last time -userStatusOffline was_online:int = UserStatus; - -//@description User was online recently -userStatusRecently = UserStatus; - -//@description User is offline, but was online last week -userStatusLastWeek = UserStatus; - -//@description User is offline, but was online last month -userStatusLastMonth = UserStatus; - - -//@description Represents list of stickers @stickers Stickers -stickers stickers:vector = Stickers; - -//@description Represents list of all emojis corresponding to a sticker in a sticker set. The list is only for informational purposes because sticker is always sent with a fixed emoji from the corresponding Sticker object @emojis List of emojis -stickerEmojis emojis:vector = StickerEmojis; - -//@description Represents sticker set @id Sticker set identifier @title Title of the sticker set @name Name of the sticker set @is_installed True if sticker set is installed by logged in user -//@is_archived True if sticker set is archived. A sticker set can't be installed and archived simultaneously @is_official True if sticker set is official @is_masks True if stickers in the set are masks -//@is_viewed True for viewed trending sticker set @stickers List of stickers in this set @emojis Lists of emojis corresponding to the stickers in the same order -stickerSet id:int64 title:string name:string is_installed:Bool is_archived:Bool is_official:Bool is_masks:Bool is_viewed:Bool stickers:vector emojis:vector = StickerSet; - -//@description Represents short information about sticker set @id Sticker set identifier @title Title of the sticker set @name Name of the sticker set @is_installed True if sticker set is installed by logged in user -//@is_archived True if sticker set is archived. A sticker set can't be installed and archived simultaneously @is_official True if sticker set is official @is_masks True if stickers in the set are masks -//@is_viewed True for viewed trending sticker set @size Total number of stickers in the set @covers Up to 5 first stickers from the set depending on the context. If client needs more stickers it should request full sticker set -stickerSetInfo id:int64 title:string name:string is_installed:Bool is_archived:Bool is_official:Bool is_masks:Bool is_viewed:Bool size:int covers:vector = StickerSetInfo; - -//@description Represents list of sticker sets @total_count Approximate total count of found sticker sets @sets List of sticker sets -stickerSets total_count:int sets:vector = StickerSets; - - -//@class CallDiscardReason @description Describes reason a call was discarded - -//@description Call wasn't discarded or the reason is unknown -callDiscardReasonEmpty = CallDiscardReason; - -//@description Call has ended before conversation begins. It was cancelled by the caller or was missed by the callee -callDiscardReasonMissed = CallDiscardReason; - -//@description Call has ended before conversation begins. It was declined by the callee -callDiscardReasonDeclined = CallDiscardReason; - -//@description Call has ended during conversation because users was disconnected -callDiscardReasonDisconnected = CallDiscardReason; - -//@description Call was hung up by the caller or by the callee -callDiscardReasonHungUp = CallDiscardReason; - - -//@description Specifies supported call protocols @udp_p2p True, if UDP peer to peer connections are supported @udp_reflector True, if connection through UDP reflectors are supported @min_layer Minimum supported layer, use 65 @max_layer Maximum supported layer, use 65 -callProtocol udp_p2p:Bool udp_reflector:Bool min_layer:int max_layer:int = CallProtocol; - -//@description Describes address of UDP reflectors @id Reflector identifier @ip IPv4 reflector address @ipv6 IPv6 reflector address @port Reflector port @peer_tag Connection peer tag -callConnection id:int64 ip:string ipv6:string port:int peer_tag:bytes = CallConnection; - - -//@description Contains call identifier @id Call identifier -callId id:int = CallId; - - -//@class CallState @description Describes current call state - -//@description Call is pending for acception by a user @is_created True, if the call is already created by the server @is_received True, if the call is already received by the other party -callStatePending is_created:Bool is_received:Bool = CallState; - -//@description Call is answered and encryption keys are exchanged -callStateExchangingKeys = CallState; - -//@description Call is ready to use @protocol Call protocols supported by the peer @connections Available UDP reflectors @config JSON-encoded call config @encryption_key Call encryption key @emojis Encryption key emojis fingerprint -callStateReady protocol:callProtocol connections:vector config:string encryption_key:bytes emojis:vector = CallState; - -//@description Call is hanging up after discardCall is called -callStateHangingUp = CallState; - -//@description Call has ended successfully @reason A reason, why call has ended @need_rating If true, call rating should be sent to the server @need_debug If true, call debug should be sent to the server -callStateDiscarded reason:CallDiscardReason need_rating:Bool need_debug:Bool = CallState; - -//@description Call has ended with an error @error The error. Error with the code 4005000 returned if an outgoing call is missed because of expired timeout -callStateError error:error = CallState; - - -//@description Describes a call @id Call identifier, not persistent @user_id Peer user identifier @is_outgoing True, if the call is outgoing @state Call state -call id:int user_id:int is_outgoing:Bool state:CallState = Call; - - -//@description Represents list of animations @animations Animations -animations animations:vector = Animations; - - -//@description Represent result for ImportContacts request @user_ids User identifiers of imported contacts in the same order as they was specified in the request. 0 if contact is not yet registered -//@importer_count Number of users which imported corresponding contact. 0 for already registered users or if unavailable -importedContacts user_ids:vector importer_count:vector = ImportedContacts; - - -//@class InputInlineQueryResult @description Represents one result of the inline query received from the bot - -//@description Represents link to an animated gif @id Unique identifier of this result @title Title of the result @thumb_url Url of the static result thumb (jpeg or gif), if exists -//@gif_url Url of the gif-file (file size must not exceed 1MB) @gif_duration Duration of the gif in seconds @gif_width Width of the gif @gif_height Height of the gif -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessageAnimation or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultAnimatedGif id:string title:string thumb_url:string gif_url:string gif_duration:int gif_width:int gif_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to an animated (i.e. without sound) H.264/MPEG-4 AVC video @id Unique identifier of this result @title Title of the result @thumb_url Url of the static result thumb (jpeg or gif), if exists -//@mpeg4_url Url of the mp4-file (file size must not exceed 1MB) @mpeg4_duration Duration of the video in seconds @mpeg4_width Width of the video @mpeg4_height Height of the video -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessageAnimation or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultAnimatedMpeg4 id:string title:string thumb_url:string mpeg4_url:string mpeg4_duration:int mpeg4_width:int mpeg4_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to an article or web page @id Unique identifier of this result @url Url of the result, if exists @hide_url True, if url must be not shown @title Title of the result -//@param_description Short description of the result @thumb_url Url of the result thumb, if exists @thumb_width Thumb width, if known @thumb_height Thumb height, if known -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultArticle id:string url:string hide_url:Bool title:string description:string thumb_url:string thumb_width:int thumb_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to a mp3 audio file @id Unique identifier of this result @title Title of the audio @performer Performer of the audio -//@audio_url Url of the audio file @audio_duration Audio duration in seconds -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessageAudio or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultAudio id:string title:string performer:string audio_url:string audio_duration:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents user contact @id Unique identifier of this result @contact User contact @thumb_url Url of the result thumb, if exists @thumb_width Thumb width, if known @thumb_height Thumb height, if known -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultContact id:string contact:contact thumb_url:string thumb_width:int thumb_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to a file @id Unique identifier of this result @title Title of the result @param_description Short description of the result, if known @document_url Url of the file @mime_type MIME type of the file content, only “application/pdf” and “application/zip” are allowed now -//@thumb_url Url of the file thumb, if exists @thumb_width Width of the thumb @thumb_height Height of the thumb -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessageDocument or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultDocument id:string title:string description:string document_url:string mime_type:string thumb_url:string thumb_width:int thumb_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents a game @id Unique identifier of this result @game_short_name Game short name @reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -inputInlineQueryResultGame id:string game_short_name:string reply_markup:ReplyMarkup = InputInlineQueryResult; - -//@description Represents a point on the map @id Unique identifier of this result @location Result @title Title of the result @thumb_url Url of the result thumb, if exists @thumb_width Thumb width, if known @thumb_height Thumb height, if known -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultLocation id:string location:location title:string thumb_url:string thumb_width:int thumb_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to a jpeg photo @id Unique identifier of this result @title Title of the result, if known @param_description Short description of the result, if known @thumb_url Url of the photo thumb, if exists -//@photo_url Url of the jpeg photo (photo must not exceed 5MB) @photo_width Width of the photo @photo_height Height of the photo -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessagePhoto or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultPhoto id:string title:string description:string thumb_url:string photo_url:string photo_width:int photo_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to a webp sticker @id Unique identifier of this result @thumb_url Url of the sticker thumb, if exists -//@sticker_url Url of the webp sticker (file with a sticker must not exceed 5MB) @sticker_width Width of the sticker @sticker_height Height of the sticker -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessageSticker or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultSticker id:string thumb_url:string sticker_url:string sticker_width:int sticker_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents information about a venue @id Unique identifier of this result @venue Result @thumb_url Url of the result thumb, if exists @thumb_width Thumb width, if known @thumb_height Thumb height, if known -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultVenue id:string venue:venue thumb_url:string thumb_width:int thumb_height:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to a page containing an embedded video player or a video file @id Unique identifier of this result @title Title of the result @param_description Short description of the result, if known -//@thumb_url Url of the video thumb (jpeg), if exists @video_url Url of the embedded video player or video file @mime_type MIME type of the content of video url, only "text/html" or "video/mp4" are allowed now -//@video_width Video width @video_height Video height @video_duration Video duration in seconds -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessageVideo or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultVideo id:string title:string description:string thumb_url:string video_url:string mime_type:string video_width:int video_height:int video_duration:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - -//@description Represents link to a opus encoded audio file in ogg container @id Unique identifier of this result @title Title of the voice file -//@voice_url Url of the voice file @voice_duration Voice duration in seconds -//@reply_markup Message reply markup, should be of type replyMarkupInlineKeyboard or null -//@input_message_content Content of the message to be sent, should be of type inputMessageText or inputMessageVoice or InputMessageLocation or InputMessageVenue or InputMessageContact -inputInlineQueryResultVoice id:string title:string voice_url:string voice_duration:int reply_markup:ReplyMarkup input_message_content:InputMessageContent = InputInlineQueryResult; - - -//@class InlineQueryResult @description Represents one result of the inline query - -//@description Represents link to an article or web page @id Unique identifier of this result @url Url of the result, if exists @hide_url True, if url must be not shown @title Title of the result -//@param_description Short description of the result @thumb Result thumb, nullable -inlineQueryResultArticle id:string url:string hide_url:Bool title:string description:string thumb:photoSize = InlineQueryResult; - -//@description Represents user contact @id Unique identifier of this result @contact User contact @thumb Result thumb, nullable -inlineQueryResultContact id:string contact:contact thumb:photoSize = InlineQueryResult; - -//@description Represents a point on the map @id Unique identifier of this result @location The result @title Title of the result @thumb Result thumb, nullable -inlineQueryResultLocation id:string location:location title:string thumb:photoSize = InlineQueryResult; - -//@description Represents information about a venue @id Unique identifier of this result @venue The result @thumb Result thumb, nullable -inlineQueryResultVenue id:string venue:venue thumb:photoSize = InlineQueryResult; - -//@description Represents information about a game @id Unique identifier of this result @game The result -inlineQueryResultGame id:string game:game = InlineQueryResult; - -//@description Represents an animation cached on the telegram server @id Unique identifier of this result @animation The animation @title Animation title -inlineQueryResultAnimation id:string animation:animation title:string = InlineQueryResult; - -//@description Represents an audio cached on the telegram server @id Unique identifier of this result @audio The audio -inlineQueryResultAudio id:string audio:audio = InlineQueryResult; - -//@description Represents a document cached on the telegram server @id Unique identifier of this result @document The document @title Document title @param_description Document description -inlineQueryResultDocument id:string document:document title:string description:string = InlineQueryResult; - -//@description Represents a photo cached on the telegram server @id Unique identifier of this result @photo The photo @title Title of the result, if known @param_description Short description of the result, if known -inlineQueryResultPhoto id:string photo:photo title:string description:string = InlineQueryResult; - -//@description Represents a sticker cached on the telegram server @id Unique identifier of this result @sticker The sticker -inlineQueryResultSticker id:string sticker:sticker = InlineQueryResult; - -//@description Represents a video cached on the telegram server @id Unique identifier of this result @video The video @title Title of the video @param_description Description of the video -inlineQueryResultVideo id:string video:video title:string description:string = InlineQueryResult; - -//@description Represents a voice cached on the telegram server @id Unique identifier of this result @voice The voice @title Title of the voice file -inlineQueryResultVoice id:string voice:voice title:string = InlineQueryResult; - - -//@description Represents results of the inline query. Use sendInlineQueryResultMessage to send the result of the query @inline_query_id Unique identifier of the inline query @next_offset Offset for the next request. If it is empty, there is no more results @results Results of the query -//@switch_pm_text If non-empty, this text should be shown on the button, which opens private chat with the bot and sends bot start message with parameter switch_pm_parameter @switch_pm_parameter Parameter for the bot start message -inlineQueryResults inline_query_id:int64 next_offset:string results:vector switch_pm_text:string switch_pm_parameter:string = InlineQueryResults; - - -//@class CallbackQueryPayload @description Represents payload of a callback query - -//@description Payload from a general callback button @data Data that was attached to the callback button -callbackQueryPayloadData data:bytes = CallbackQueryPayload; - -//@description Payload from a game callback button @game_short_name Short name of the game that was attached to the callback button -callbackQueryPayloadGame game_short_name:string = CallbackQueryPayload; - - -//@description Contains answer of a bot to a callback query @text Text of the answer @show_alert If true, an alert should be shown to the user instead of a toast @url URL to be open -callbackQueryAnswer text:string show_alert:Bool url:string = CallbackQueryAnswer; - - -//@description Contains result of a custom request @result JSON-serialized result -customRequestResult result:string = CustomRequestResult; - - -//@description Contains one row of the game high scores table @position Position in the high score table @user_id User identifier @score User score -gameHighScore position:int user_id:int score:int = GameHighScore; - -//@description Contains list of game high scores @scores List of game high scores -gameHighScores scores:vector = GameHighScores; - - -//@class ChatEventAction @description Represents a chat event - -//@description A message was edited @old_message Message before edit @new_message Message after edit -chatEventMessageEdited old_message:message new_message:message = ChatEventAction; - -//@description A message was deleted @message Deleted message -chatEventMessageDeleted message:message = ChatEventAction; - -//@description A message was pinned @message Pinned message -chatEventMessagePinned message:message = ChatEventAction; - -//@description A message was unpinned -chatEventMessageUnpinned = ChatEventAction; - -//@description New chat member joined -chatEventMemberJoined = ChatEventAction; - -//@description A chat member left -chatEventMemberLeft = ChatEventAction; - -//@description New chat member invited @user_id New chat member user identifier @status New chat member status -chatEventMemberInvited user_id:int status:ChatMemberStatus = ChatEventAction; - -//@description A chat member promoted to/demoted from administrators @user_id Chat member user identifier @old_status Old chat member status @new_status New chat member status -chatEventMemberPromoted user_id:int old_status:ChatMemberStatus new_status:ChatMemberStatus = ChatEventAction; - -//@description A chat member restricted/unrestircted or banned/unbanned @user_id Chat member user identifier @old_status Old chat member status @new_status New chat member status -chatEventMemberRestricted user_id:int old_status:ChatMemberStatus new_status:ChatMemberStatus = ChatEventAction; - -//@description Chat title was changed @old_title Old title value @new_title New title value -chatEventTitleChanged old_title:string new_title:string = ChatEventAction; - -//@description Chat description was changed @old_description Old description value @new_description New description value -chatEventDescriptionChanged old_description:string new_description:string = ChatEventAction; - -//@description Chat username was changed @old_username Old username value @new_username New username value -chatEventUsernameChanged old_username:string new_username:string = ChatEventAction; - -//@description Chat photo was changed @old_photo Old photo value, nullable @new_photo New photo value, nullable -chatEventPhotoChanged old_photo:chatPhoto new_photo:chatPhoto = ChatEventAction; - -//@description Supergroup channel chat anyone_can_invite setting was toggled @anyone_can_invite New value of anyone_can_invite -chatEventInvitesToggled anyone_can_invite:Bool = ChatEventAction; - -//@description Broadcast channel chat sign_messages setting was toggled @sign_messages New value of sign_messages -chatEventSignMessagesToggled sign_messages:Bool = ChatEventAction; - -//@description Supergroup sticker set was changed @old_sticker_set_id Old identifier of chat sticker set, 0 if none @new_sticker_set_id New identifier of chat sticker set, 0 if none -chatEventStickerSetChanged old_sticker_set_id:int64 new_sticker_set_id:int64 = ChatEventAction; - -//@description Represents a chat event @id Chat event identifier @date Date of the event, unix time @user_id Identifier of a user who made the action @action Action done by the user -chatEvent id:int64 date:int user_id:int action:ChatEventAction = ChatEvent; - -//@description Contains list of chat events @events The events -chatEvents events:vector = ChatEvents; - -//@description Represents a set of filters used to obtain a chat event log -//@message_edits True, if message edits should be returned -//@message_deletions True, if message deletions should be returned -//@message_pins True, if message pins should be returned -//@member_joins True, if chat member joins should be returned -//@member_leaves True, if chat member leaves should be returned -//@member_invites True, if chat member invites should be returned -//@member_promotions True, if chat member promotions/demotions should be returned -//@member_restrictions True, if chat member restrictions/unrestrictions including bans/unbans should be returned -//@info_changes True, if changes of chat information should be returned -//@setting_changes True, if changes of chat settings should be returned -chatEventLogFilters message_edits:Bool message_deletions:Bool message_pins:Bool member_joins:Bool member_leaves:Bool member_invites:Bool member_promotions:Bool member_restrictions:Bool info_changes:Bool setting_changes:Bool = ChatEventLogFilters; - - -//@class DeviceToken @description Represents a token for push notifications - -//@description Token for APNS @token The token, may be empty to unregister device -deviceTokenApns token:string = DeviceToken; - -//@description Token for GCM @token The token, may be empty to unregister device -deviceTokenGcm token:string = DeviceToken; - -//@description Token for MPNS @token The token, may be empty to unregister device -deviceTokenMpns token:string = DeviceToken; - -//@description Token for simple push @token The token, may be empty to unregister device -deviceTokenSimplePush token:string = DeviceToken; - -//@description Token for Ubuntu Push Service @token The token, may be empty to unregister device -deviceTokenUbuntuPhone token:string = DeviceToken; - -//@description Token for Blackberry Push Service @token The token, may be empty to unregister device -deviceTokenBlackberry token:string = DeviceToken; - - -//@description Contains information about one wallpaper @id Unique persistent wallpaper identifier @sizes Available variants of wallpaper of different sizes. These photos can be only downloaded and can't be sent in a message @color Main color of wallpaper in RGB24, should be treated as background color if no photos are specified -wallpaper id:int sizes:vector color:int = Wallpaper; - -//@description Contains list of wallpapers @wallpapers List of wallpapers -wallpapers wallpapers:vector = Wallpapers; - - -//@description Contatins list of hashtags @hashtags List of hashtags -hashtags hashtags:vector = Hashtags; - - -//@class OptionValue @description Represents value of an option - -//@description Boolean option @value Value of an option -optionValueBoolean value:Bool = OptionValue; - -//@description Unknown option or option having default value -optionValueEmpty = OptionValue; - -//@description Integer option @value Value of an option -optionValueInteger value:int = OptionValue; - -//@description String option @value Value of an option -optionValueString value:string = OptionValue; - - -//@class PrivacyRule @description Represents one rule for managing privacy settings - -//@description Rule to allow all users -privacyRuleAllowAll = PrivacyRule; - -//@description Rule to allow all user contacts -privacyRuleAllowContacts = PrivacyRule; - -//@description Rule to allow specified users @user_ids User identifiers -privacyRuleAllowUsers user_ids:vector = PrivacyRule; - -//@description Rule to disallow all users -privacyRuleDisallowAll = PrivacyRule; - -//@description Rule to disallow all user contacts -privacyRuleDisallowContacts = PrivacyRule; - -//@description Rule to disallow all specified users @user_ids User identifiers -privacyRuleDisallowUsers user_ids:vector = PrivacyRule; - -//@description List of privacy rules. Rules are matched in the specified order. First matched rule defines privacy setting for a given user. If no rule matches action is not allowed @rules List of rules -privacyRules rules:vector = PrivacyRules; - -//@class PrivacyKey @description Describes available privacy settings - -//@description Privacy key for managing visibility of the user status -privacyKeyUserStatus = PrivacyKey; - -//@description Privacy key for managing ability of invitation of the user to chats -privacyKeyChatInvite = PrivacyKey; - -//@description Privacy key for managing ability to call the user -privacyKeyCall = PrivacyKey; - - -//@description Contains information about period of inactivity, after which the account of currently logged in user will be automatically deleted @days Number of days of inactivity before account deletion, should be from 30 and up to 366 -accountTtl days:int = AccountTtl; - - -//@description Contains information about one session in some application used by the user @id Session identifier @is_current True, if it is current session @app_id Application identifier, provided by the application @app_name Name of the application, provided by the application -//@app_version Version of the application, provided by the application @is_official_app True, if the application is an official application or uses the app_id of some official application @device_model Model of a device application is runned on, provided by the application @platform Operating system application is runned on, provided by the application -//@system_version Version of operating system application is runned on, provided by the application @log_in_date Date the user has logged in, unix time @last_active_date Date the session was used last time, unix time @ip An ip address from which session was created in a human-readable format -//@country Two-letter country code from which session was created based on the ip @region Region code from which session was created based on the ip -session id:int64 is_current:Bool app_id:int app_name:string app_version:string is_official_app:Bool device_model:string platform:string system_version:string log_in_date:int last_active_date:int ip:string country:string region:string = Session; - -//@description Contains list of sessions @sessions List of sessions -sessions sessions:vector = Sessions; - - -//@description Contains information about chat report spam state @can_report_spam If true, prompt with "Report spam" action should be shown to the user -chatReportSpamState can_report_spam:Bool = ChatReportSpamState; - -//@class ChatReportReason @description Describes a reason, why a chat is reported - -//@description The chat contains spam messages -chatReportReasonSpam = ChatReportReason; - -//@description The chat contains violent messages -chatReportReasonViolence = ChatReportReason; - -//@description The chat contains pornography messages -chatReportReasonPornography = ChatReportReason; - -//@description Other reason provided by the user @text Report text -chatReportReasonOther text:string = ChatReportReason; - - -//@description Contains public HTTPS link to a message in a public channel @url The link -publicMessageLink url:string = PublicMessageLink; - - -//@class FileType @description Represents type of a file - -//@description Data is not a file -fileTypeNone = FileType; - -//@description File is an animation -fileTypeAnimation = FileType; - -//@description File is an audio -fileTypeAudio = FileType; - -//@description File is a document -fileTypeDocument = FileType; - -//@description File is a photo -fileTypePhoto = FileType; - -//@description File is a profile photo -fileTypeProfilePhoto = FileType; - -//@description File sent to a secret chat -fileTypeSecret = FileType; - -//@description File is a sticker -fileTypeSticker = FileType; - -//@description File is a thumbnail of another file -fileTypeThumb = FileType; - -//@description File type is yet unknown -fileTypeUnknown = FileType; - -//@description File is a video -fileTypeVideo = FileType; - -//@description File is a video note -fileTypeVideoNote = FileType; - -//@description File is a voice audio -fileTypeVoice = FileType; - -//@description File is a wallpaper -fileTypeWallpaper = FileType; - -//@description File is a thumbnail of a file from a secret chat -fileTypeSecretThumb = FileType; - - -//@description Contains storage usage statistics for the specific file type @file_type The file type @size Total size of files @count Total number of files -storageStatisticsByFileType file_type:FileType size:int53 count:int = StorageStatisticsByFileType; - -//@description Contains storage usage statistics for the specific chat @chat_id Chat identifier, 0 if none @size Total size of files @count Total number of files @by_file_type Statistics splitted by file types -storageStatisticsByChat chat_id:int53 size:int53 count:int by_file_type:vector = StorageStatisticsByChat; - -//@description Contains exact storage usage statistics splitted by chats and file types @size Total size of files @count Total number of files @by_chat Statistics splitted by chats -storageStatistics size:int53 count:int by_chat:vector = StorageStatistics; - -//@description Contains approximate storage usage statistics, not containing files of Unknown type @files_size Approximate total size of files @files_count Approximate number of files @database_size Size of database -storageStatisticsFast files_size:int53 files_count:int database_size:int53 = StorageStatisticsFast; - - -//@class NetworkType @description Represents type of a network - -//@description Network is not available -networkTypeNone = NetworkType; - -//@description Mobile network -networkTypeMobile = NetworkType; - -//@description Mobile roaming network -networkTypeMobileRoaming = NetworkType; - -//@description Wi-Fi network -networkTypeWiFi = NetworkType; - -//@description Other network type, for example, Ethernet network -networkTypeOther = NetworkType; - - -//@class NetworkStatisticsEntry @description Contains statistics about network usage - -//@description Contains information about total received and sent files data @file_type Type of a file the data is part of @network_type Type of a network the data was sent through. Call setNetworkType to maintain actual network type -//@sent_bytes Total number of sent bytes @received_bytes Total number of received bytes -networkStatisticsEntryFile file_type:FileType network_type:NetworkType sent_bytes:int53 received_bytes:int53 = NetworkStatisticsEntry; - -//@description Contains information about total received and sent calls data @network_type Type of a network the data was sent through. Call setNetworkType to maintain actual network type -//@sent_bytes Total number of sent bytes @received_bytes Total number of received bytes @duration Total calls duration in seconds -networkStatisticsEntryCall network_type:NetworkType sent_bytes:int53 received_bytes:int53 duration:double = NetworkStatisticsEntry; - -//@description Full list of available network statistics entries @since_date Date since which statistics are collected, unix time @entries Network statistics entries -networkStatistics since_date:int entries:vector = NetworkStatistics; - - -//@class ConnectionState @description Describes current state of the connection to Telegram servers - -//@description Waiting for network to be available. Use SetNetworkType to change available network type -connectionStateWaitingForNetwork = ConnectionState; - -//@description Establishing connection to set up proxy server -connectionStateConnectingToProxy = ConnectionState; - -//@description Establishing connection to Telegram servers -connectionStateConnecting = ConnectionState; - -//@description Downloading date received, while client was offline -connectionStateUpdating = ConnectionState; - -//@description There is a working connection to the Telegram servers -connectionStateReady = ConnectionState; - - -//@class TopChatCategory @description Represents categories of chats for which list of frequently used chats can be retrieved - -//@description The category containing private chats with non-bot users -topChatCategoryUsers = TopChatCategory; - -//@description The category containing private chats with bot users -topChatCategoryBots = TopChatCategory; - -//@description The category containing group chats and supergroup channel chats -topChatCategoryGroups = TopChatCategory; - -//@description The category containing broadcast channel chats -topChatCategoryChannels = TopChatCategory; - -//@description The category containing chats with inline bots sorted by their usage in the inline mode -topChatCategoryInlineBots = TopChatCategory; - -//@description The category containing chats frequently used for calls -topChatCategoryCalls = TopChatCategory; - - -//@description Contains some count @count The count -count count:int = Count; - -//@description Contains some text @text The text -text text:string = Text; - - -//@class Proxy @description Contains information about a proxy server - -//@description An empty proxy -proxyEmpty = Proxy; - -//@description A SOCKS5 proxy @server Proxy server ip address @port Proxy server port @username Username to log in @password Password to log in -proxySocks5 server:string port:int username:string password:string = Proxy; - - -//@description Description of a sticker which should be added to a sticker set @png_sticker Png image with the sticker, must be up to 512 kilobytes in size and fit in 512x512 square @emojis Emojis corresponding to the sticker @mask_position Position where the mask should be placed, nullable -inputSticker png_sticker:InputFile emojis:string mask_position:maskPosition = InputSticker; - - -//@class Update @description Contains notifications about data changes - -//@description User authorization state has changed @auth_state New authorization state -updateAuthState auth_state:AuthState = Update; - -//@description New message received, maybe outcoming message sent from other device @message New message @disable_notification If true, notification about the message should be disabled @contains_mention True, if the message contains mention of the current user -updateNewMessage message:message disable_notification:Bool contains_mention:Bool = Update; - -//@description Message send request has reached Telegram server. It doesn't mean that message send will be successful or even that message send request will be processed. Update will not come, unless option "use_quick_ack" is set to true. The update may come many times for the same message -//@chat_id Chat identifier of sent message @message_id Temporary message identifier -updateMessageSendAcknowledged chat_id:int53 message_id:int53 = Update; - -//@description Message is successfully sent @message Information about sent message. Usually only message identifier, date and content are changed, but almost any other fields can also change @old_message_id Previous temporary message identifier -updateMessageSendSucceeded message:message old_message_id:int53 = Update; - -//@description Message fails to send. Be aware that some being sent messages can be irrecoverably deleted and updateDeleteMessages will come instead of this update -//@message Information about failed to send message @old_message_id Previous temporary message identifier @error_code Error code @error_message Error message -updateMessageSendFailed message:message old_message_id:int53 error_code:int error_message:string = Update; - -//@description Message content has changed @chat_id Chat identifier @message_id Message identifier @new_content New message content -updateMessageContent chat_id:int53 message_id:int53 new_content:MessageContent = Update; - -//@description Message was edited. Changes in the message content will come in a separate updateMessageContent @chat_id Chat identifier @message_id Message identifier @edit_date Date the message was edited, unix time @reply_markup New message reply markup, nullable -updateMessageEdited chat_id:int53 message_id:int53 edit_date:int reply_markup:ReplyMarkup = Update; - -//@description View count of the message has changed @chat_id Chat identifier @message_id Message identifier @views New value of view count -updateMessageViews chat_id:int53 message_id:int53 views:int = Update; - -//@description Message content was opened. It makes voice messages listened, video note messages viewed and runs ttl timer @chat_id Chat identifier @message_id Message identifier -updateOpenMessageContent chat_id:int53 message_id:int53 = Update; - -//@description Message with an unread mention was read @chat_id Chat identifier @message_id Message identifier @unread_mention_count New number of unread mention messages left in the chat -updateMessageMentionRead chat_id:int53 message_id:int53 unread_mention_count:int = Update; - -//@description New chat has been loaded/created. This update is guaranteed to come before chat identifier is returned to the client. Chat field changes will be reported through separate updates @chat The chat -updateNewChat chat:chat = Update; - -//@description Title of the chat was changed @chat_id Chat identifier @title New chat title -updateChatTitle chat_id:int53 title:string = Update; - -//@description Chat photo was changed @chat_id Chat identifier @photo New chat photo, nullable -updateChatPhoto chat_id:int53 photo:chatPhoto = Update; - -//@description Top message of the chat has changed. If top_message is null then top message in the chat became unknown. Some new unknown messages might be added to the chat in that case @chat_id Chat identifier @top_message New top message of the chat, nullable @order New value of the chat order -updateChatTopMessage chat_id:int53 top_message:message order:int64 = Update; - -//@description Order of the chat in the chat list has changed. Instead of that update updateChatTopMessage, updateChatIsPinned or updateChatDraftMessage may be sent @chat_id Chat identifier @order New value of the order -updateChatOrder chat_id:int53 order:int64 = Update; - -//@description Chat was pinned or unpinned @chat_id Chat identifier @is_pinned New value of is_pinned @order New value of the chat order -updateChatIsPinned chat_id:int53 is_pinned:Bool order:int64 = Update; - -//@description Some incoming messages was read @chat_id Chat identifier @last_read_inbox_message_id Identifier of last read incoming message @unread_count Number of unread messages left in the chat -updateChatReadInbox chat_id:int53 last_read_inbox_message_id:int53 unread_count:int = Update; - -//@description Some outcoming messages was read @chat_id Chat identifier @last_read_outbox_message_id Identifier of last read outgoing message -updateChatReadOutbox chat_id:int53 last_read_outbox_message_id:int53 = Update; - -//@description Chat unread_mention_count has changed @chat_id Chat identifier @unread_mention_count Number of unread mention messages left in the chat -updateChatUnreadMentionCount chat_id:int53 unread_mention_count:int = Update; - -//@description Notification settings for some chats was updated @scope Kinds of chats for which notification settings was updated @notification_settings New notification settings -updateNotificationSettings scope:NotificationSettingsScope notification_settings:notificationSettings = Update; - -//@description Default chat reply markup has changed. It can happen because new message with reply markup has come or old reply markup was hidden by user -//@chat_id Chat identifier @reply_markup_message_id Identifier of the message from which reply markup need to be used or 0 if there is no default custom reply markup in the chat -updateChatReplyMarkup chat_id:int53 reply_markup_message_id:int53 = Update; - -//@description Chat draft has changed. Be aware that the update may come in the currently open chat with the old content of the draft. If the user has changed the content of the draft, the update shouldn't be applied @chat_id Chat identifier @draft_message New chat draft_message, nullable @order New value of the chat order -updateChatDraftMessage chat_id:int53 draft_message:draftMessage order:int64 = Update; - -//@description Some messages was deleted @chat_id Chat identifier @message_ids Identifiers of deleted message -updateDeleteMessages chat_id:int53 message_ids:vector = Update; - -//@description User activity in the chat has changed @chat_id Chat identifier @user_id Identifier of user doing action @action Action description -updateUserChatAction chat_id:int53 user_id:int action:ChatAction = Update; - -//@description User went online/offline @user_id User identifier @status New user status -updateUserStatus user_id:int status:UserStatus = Update; - -//@description Some data about a user has been changed. This update is guaranteed to come before user identifier is returned to the client, if library knows anything about the user @user New data about the user -updateUser user:user = Update; - -//@description Some data about a group has been changed. This update is guaranteed to come before group identifier is returned to the client, if library knows anything about the group @group New data about the group -updateGroup group:group = Update; - -//@description Some data about a channel has been changed. This update is guaranteed to come before channel identifier is returned to the client, if library knows anything about the channel @channel New data about the channel -updateChannel channel:channel = Update; - -//@description Some data about a secret chat has been changed. This update is guaranteed to come before secret chat identifier is returned to the client, if library knows anything about the secret chat @secret_chat New data about the secret chat -updateSecretChat secret_chat:secretChat = Update; - -//@description Some data from userFull has been changed @user_id User identifier @user_full New full information about the user -updateUserFull user_id:int user_full:userFull = Update; - -//@description Some data from groupFull has been changed @group_id Group identifier @group_full New full information about the group -updateGroupFull group_id:int group_full:groupFull = Update; - -//@description Some data from channelFull has been changed @channel_id Channel identifier @channel_full New full information about the channel -updateChannelFull channel_id:int channel_full:channelFull = Update; - -//@description Service notification from the server. Upon receiving client should show popup with content of the notification @type Type of the notification @content Notification content -updateServiceNotification type:string content:MessageContent = Update; - -//@description DEPRECATED. Use updateFile instead. File is partly downloaded/uploaded @file_id File identifier @size Total file size (0 means unknown) @ready Number of bytes already downloaded/uploaded. Negative number means that download/upload has failed and was terminated -updateFileProgress file_id:int size:int ready:int = Update; - -//@description Information about a file was updated @file New data about a file -updateFile file:file = Update; - -//@description File generation process need to be started by the client @generation_id Unique identifier for the generation process @original_path Path to a file from which new file is generated, may be empty -//@destination_path Path to a file which should be created and to which new file should be generated @conversion String specifying conversion applied to the original file -updateFileGenerationStart generation_id:int64 original_path:string destination_path:string conversion:string = Update; - -//@description Informs that a file is being generated @file_id File identifier @size Expected size of the generated file @ready Number of bytes already generated. Negative number means that generation has failed and was terminated -updateFileGenerationProgress file_id:int size:int ready:int = Update; - -//@description DEPRECATED. Use updateFile instead. File generation is finished @file Generated file -updateFileGenerationFinish file:file = Update; - -//@description Information about a call was updated @call New data about a call -updateCall call:call = Update; - -//@description Some privacy settings has changed @key Privacy key @rules New privacy rules -updatePrivacy key:PrivacyKey rules:privacyRules = Update; - -//@description Some option changed its value @name Option name @value New option value -updateOption name:string value:OptionValue = Update; - -//@description List of installed sticker sets was updated @is_masks True, if list of installed mask sticker sets was updated @sticker_set_ids New list of installed ordinary sticker sets -updateInstalledStickerSets is_masks:Bool sticker_set_ids:vector = Update; - -//@description List of trending sticker sets was updated or some of them was viewed @sticker_sets New list of trending sticker sets -updateTrendingStickerSets sticker_sets:stickerSets = Update; - -//@description List of recently used stickers was updated @is_attached True, if the list of stickers attached to photo or video files was updated, otherwise the list of sent stickers is updated @sticker_ids New list of file identifiers of recently used stickers -updateRecentStickers is_attached:Bool sticker_ids:vector = Update; - -//@description List of favorite stickers was updated @sticker_ids New list of file identifiers of favorite stickers -updateFavoriteStickers sticker_ids:vector = Update; - -//@description List of saved animations was updated @animation_ids New list of file identifiers of saved animations -updateSavedAnimations animation_ids:vector = Update; - -//@description Connection state has changed @state New connection state -updateConnectionState state:ConnectionState = Update; - -//@description Bots only. New incoming inline query @id Unique query identifier @sender_user_id Identifier of the user who sent the query @user_location User location, provided by the client, nullable @query Text of the query @offset Offset of the first entry to return -updateNewInlineQuery id:int64 sender_user_id:int user_location:location query:string offset:string = Update; - -//@description Bots only. User has chosen a result of the inline query @sender_user_id Identifier of the user who sent the query @user_location User location, provided by the client, nullable @query Text of the query @result_id Identifier of the chosen result @inline_message_id Identifier of the sent inline message, if known -updateNewChosenInlineResult sender_user_id:int user_location:location query:string result_id:string inline_message_id:string = Update; - -//@description Bots only. New incoming callback query @id Unique query identifier @sender_user_id Identifier of the user who sent the query @chat_id Identifier of the chat, in which the query was sent -//@message_id Identifier of the message, from which the query is originated @chat_instance Identifier, uniquely corresponding to the chat a message was sent to @payload Query payload -updateNewCallbackQuery id:int64 sender_user_id:int chat_id:int53 message_id:int53 chat_instance:int64 payload:CallbackQueryPayload = Update; - -//@description Bots only. New incoming callback query from message sent via bot @id Unique query identifier @sender_user_id Identifier of the user who sent the query @inline_message_id Identifier of the inline message, from which the query is originated -//@chat_instance Identifier, uniquely corresponding to the chat a message was sent to @payload Query payload -updateNewInlineCallbackQuery id:int64 sender_user_id:int inline_message_id:string chat_instance:int64 payload:CallbackQueryPayload = Update; - -//@description Bots only. New incoming shipping query. Only for invoices with flexible price @id Unique query identifier @sender_user_id Identifier of the user who sent the query @invoice_payload Invoice payload @shipping_address User shipping address -updateNewShippingQuery id:int64 sender_user_id:int invoice_payload:string shipping_address:shippingAddress = Update; - -//@description Bots only. New incoming pre-checkout query. Contains full information about checkout @id Unique query identifier @sender_user_id Identifier of the user who sent the query @currency Currency for goods price @total_amount Goods total price in minimal quantity of the currency -//@invoice_payload Invoice payload @shipping_option_id Identifier of a choosed by user shipping option, may be empty if not applicable @order_info Information about the order, nullable -updateNewPreCheckoutQuery id:int64 sender_user_id:int currency:string total_amount:int53 invoice_payload:bytes shipping_option_id:string order_info:orderInfo = Update; - -//@description Bots only. New incoming event @event JSON-serialized event -updateNewCustomEvent event:string = Update; - -//@description Bots only. New incoming query @id Query identifier @data JSON-serialized query data @timeout Query timeout -updateNewCustomQuery id:int64 data:string timeout:int = Update; - - -//@description Tests only. A simple object containing just a number @value The number -testInt value:int = TestInt; -//@description Tests only. A simple object containing just a string @value The string -testString value:string = TestString; -//@description Tests only. A simple object containing just a bytes @value The bytes -testBytes value:bytes = TestBytes; -//@description Tests only. A simple object containing just a vector of numbers @value The vector of numbers -testVectorInt value:vector = TestVectorInt; -//@description Tests only. A simple object containing just a vector of objects containing a number @value The vector of objects -testVectorIntObject value:vector = TestVectorIntObject; -//@description Tests only. A simple object containing just a vector of strings @value The vector of strings -testVectorString value:vector = TestVectorString; -//@description Tests only. A simple object containing just a vector of objects containing a string @value The vector of objects -testVectorStringObject value:vector = TestVectorStringObject; - ----functions--- - -//@description Returns current authorization state, offline request -getAuthState = AuthState; - -//@description Sets user's phone number and sends authentication code to the user. Works only when getAuthState returns authStateWaitPhoneNumber. If phone number is not recognized or another error has happened, returns an error. Otherwise returns authStateWaitCode -//@phone_number User's phone number in any reasonable format @allow_flash_call Pass True, if code can be sent via flash call to the specified phone number @is_current_phone_number Pass true, if the phone number is used on the current device. Ignored if allow_flash_call is False -setAuthPhoneNumber phone_number:string allow_flash_call:Bool is_current_phone_number:Bool = AuthState; - -//@description Resends authentication code to the user. Works only when getAuthState returns authStateWaitCode and next_code_type of result is not null. Returns authStateWaitCode on success -resendAuthCode = AuthState; - -//@description Checks authentication code. Works only when getAuthState returns authStateWaitCode. Returns authStateWaitPassword or authStateOk on success @code Verification code from SMS, Telegram message, phone call or flash call -//@first_name User first name, if user is yet not registered, 1-255 characters @last_name Optional user last name, if user is yet not registered, 0-255 characters -checkAuthCode code:string first_name:string last_name:string = AuthState; - -//@description Checks password for correctness. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success @password Password to check -checkAuthPassword password:string = AuthState; - -//@description Requests to send password recovery code to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateWaitPassword on success -requestAuthPasswordRecovery = AuthState; - -//@description Recovers password with recovery code sent to email. Works only when getAuthState returns authStateWaitPassword. Returns authStateOk on success @recovery_code Recovery code to check -recoverAuthPassword recovery_code:string = AuthState; - -//@description Logs out user. If force == false, begins to perform soft log out, returns authStateLoggingOut after completion. If force == true then succeeds almost immediately without cleaning anything at the server, but returns error with code 401 and description "Unauthorized" -//@force If true, just delete all local data. Session will remain in list of active sessions -resetAuth force:Bool = AuthState; - -//@description Check bot's authentication token to log in as a bot. Works only when getAuthState returns authStateWaitPhoneNumber. Can be used instead of setAuthPhoneNumber and checkAuthCode to log in. Returns authStateOk on success @token Bot token -checkAuthBotToken token:string = AuthState; - - -//@description Returns current state of two-step verification -getPasswordState = PasswordState; - -//@description Changes user password. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and password change will not be applied until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed -//@old_password Old user password @new_password New user password, may be empty to remove the password @new_hint New password hint, can be empty @set_recovery_email Pass True, if recovery email should be changed @new_recovery_email New recovery email, may be empty -setPassword old_password:string new_password:string new_hint:string set_recovery_email:Bool new_recovery_email:string = PasswordState; - -//@description Returns set up recovery email. This method can be used to verify a password provided by the user @password Current user password -getRecoveryEmail password:string = RecoveryEmail; - -//@description Changes user recovery email. If new recovery email is specified, then error EMAIL_UNCONFIRMED is returned and email will not be changed until email confirmation. Application should call getPasswordState from time to time to check if email is already confirmed. -If new_recovery_email coincides with the current set up email succeeds immediately and aborts all other requests waiting for email confirmation @password Current user password @new_recovery_email New recovery email -setRecoveryEmail password:string new_recovery_email:string = PasswordState; - -//@description Requests to send password recovery code to email -requestPasswordRecovery = PasswordRecoveryInfo; - -//@description Recovers password with recovery code sent to email @recovery_code Recovery code to check -recoverPassword recovery_code:string = PasswordState; - -//@description Creates new temporary password for payments processing @password Persistent user password @valid_for Time before temporary password will expire, seconds. Should be between 60 and 86400 -createTemporaryPassword password:string valid_for:int = TemporaryPasswordState; - -//@description Returns information about current temporary password -getTemporaryPasswordState = TemporaryPasswordState; - - -//@description Handles DC_UPDATE push service notification. Can be called before authorization @dc Value of 'dc' paramater of the notification @addr Value of 'addr' parameter of the notification -processDcUpdate dc:string addr:string = Ok; - - -//@description Returns current logged in user -getMe = User; - -//@description Returns information about a user by its identifier, offline request if current user is not a bot @user_id User identifier -getUser user_id:int = User; - -//@description Returns full information about a user by its identifier @user_id User identifier -getUserFull user_id:int = UserFull; - -//@description Returns information about a group by its identifier, offline request if current user is not a bot @group_id Group identifier -getGroup group_id:int = Group; - -//@description Returns full information about a group by its identifier @group_id Group identifier -getGroupFull group_id:int = GroupFull; - -//@description Returns information about a channel by its identifier, offline request if current user is not a bot @channel_id Channel identifier -getChannel channel_id:int = Channel; - -//@description Returns full information about a channel by its identifier, cached for at most 1 minute @channel_id Channel identifier -getChannelFull channel_id:int = ChannelFull; - -//@description Returns information about a secret chat by its identifier, offline request @secret_chat_id Secret chat identifier -getSecretChat secret_chat_id:int = SecretChat; - -//@description Returns information about a chat by its identifier, offline request if current user is not a bot @chat_id Chat identifier -getChat chat_id:int53 = Chat; - -//@description Returns information about a message @chat_id Identifier of the chat, message belongs to @message_id Identifier of the message to get -getMessage chat_id:int53 message_id:int53 = Message; - -//@description Returns information about messages. If message is not found, returns null on the corresponding position of the result @chat_id Identifier of the chat, messages belongs to @message_ids Identifiers of the messages to get -getMessages chat_id:int53 message_ids:vector = Messages; - -//@description Returns information about a file, offline request @file_id Identifier of the file to get -getFile file_id:int = File; - -//@description Returns information about a file by its persistent id, offline request. May be used to register a URL as a file for further uploading or sending as message @persistent_file_id Persistent identifier of the file to get @file_type File type, if known -getFilePersistent persistent_file_id:string file_type:FileType = File; - -//@description Returns list of chats in the right order, chats are sorted by (order, chat_id) in decreasing order. For example, to get list of chats from the beginning, the offset_order should be equal 2^63 - 1 @offset_order Chat order to return chats from @offset_chat_id Chat identifier to return chats from -//@limit Maximum number of chats to be returned. There may be less than limit chats returned even the end of the list is not reached -getChats offset_order:int64 offset_chat_id:int53 limit:int = Chats; - -//@description Searches public chat by its username. Currently only private and channel chats can be public. Returns chat if found, otherwise some error is returned @username Username to be resolved -searchPublicChat username:string = Chat; - -//@description Searches public chats by prefix of their username. Currently only private and channel (including supergroup) chats can be public. Returns meaningful number of results. Returns nothing if length of the searched username prefix is less than 5. Excludes private chats with contacts from the results @username_prefix Prefix of the username to search -searchPublicChats username_prefix:string = Chats; - -//@description Searches for specified query in the title and username of known chats, offline request. Returns chats in the order of them in the chat list @query Query to search for, if query is empty, returns up to 20 recently found chats @limit Maximum number of chats to be returned -searchChats query:string limit:int = Chats; - -//@description Returns a list of frequently used chats. Supported only if chat info database is enabled @category Category of chats to return @limit Maximum number of chats to be returned, at most 30 -getTopChats category:TopChatCategory limit:int = Chats; - -//@description Delete a chat from a list of frequently used chats. Supported only if chat info database is enabled @category Category of frequently used chats @chat_id Chat identifier -deleteTopChat category:TopChatCategory chat_id:int53 = Ok; - -//@description Adds chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, at first it is removed from the list @chat_id Identifier of the chat to add -addRecentlyFoundChat chat_id:int53 = Ok; - -//@description Deletes chat from the list of recently found chats @chat_id Identifier of the chat to delete -deleteRecentlyFoundChat chat_id:int53 = Ok; - -//@description Clears list of recently found chats -deleteRecentlyFoundChats = Ok; - -//@description Returns list of common chats with an other given user. Chats are sorted by their type and creation date @user_id User identifier @offset_chat_id Chat identifier to return chats from, use 0 for the first request @limit Maximum number of chats to be returned, up to 100 -getCommonChats user_id:int offset_chat_id:int53 limit:int = Chats; - -//@description Returns list of created public chats -getCreatedPublicChats = Chats; - - -//@description Returns messages in a chat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true @chat_id Chat identifier -//@from_message_id Identifier of the message near which we need a history, you can use 0 to get results from the beginning, i.e. from oldest to newest -//@offset Specify 0 to get results exactly from from_message_id or negative offset to get specified message and some newer messages -//@limit Maximum number of messages to be returned, should be positive and can't be greater than 100. If offset is negative, limit must be greater than -offset. There may be less than limit messages returned even the end of the history is not reached -//@only_local Return only locally available messages without sending network requests -getChatHistory chat_id:int53 from_message_id:int53 offset:int limit:int only_local:Bool = Messages; - -//@description Deletes all messages in the chat. Can't be used for channel chats @chat_id Chat identifier @remove_from_chat_list Pass true, if chat should be removed from the chat list -deleteChatHistory chat_id:int53 remove_from_chat_list:Bool = Ok; - -//@description Searches for messages with given words in the chat. Returns result in reverse chronological order, i. e. in order of decreasing message_id. Doesn't work in secret chats with non-empty query (searchSecretMessages should be used instead) or without enabled message database @chat_id Chat identifier to search messages in -//@query Query to search for -//@sender_user_id If not 0, only messages sent by the specified user will be returned. Doesn't supported in secret chats -//@from_message_id Identifier of the message from which we need a history, you can use 0 to get results from the beginning -//@offset Specify 0 to get results exactly from from_message_id or negative offset to get specified message and some newer messages -//@limit Maximum number of messages to be returned, should be positive and can't be greater than 100. If offset is negative, limit must be greater than -offset. There may be less than limit messages returned even the end of the history is not reached -//@filter Filter for content of the searched messages -searchChatMessages chat_id:int53 query:string sender_user_id:int from_message_id:int53 offset:int limit:int filter:SearchMessagesFilter = Messages; - -//@description Searches for messages in all chats except secret chats. Returns result in reverse chronological order, i. e. in order of decreasing (date, chat_id, message_id) -//@query Query to search for -//@offset_date Date of the message to search from, you can use 0 or any date in the future to get results from the beginning -//@offset_chat_id Chat identifier of the last found message or 0 for the first request -//@offset_message_id Message identifier of the last found message or 0 for the first request -//@limit Maximum number of messages to be returned, at most 100 -searchMessages query:string offset_date:int offset_chat_id:int53 offset_message_id:int53 limit:int = Messages; - -//@description Searches for messages in secret chats. Returns result in reverse chronological order @chat_id Identifier of a chat to search in. Specify 0 to search in all secret chats @query Query to search for. If empty, searchChatMessages should be used instead -//@from_search_id Identifier from the result of previous request, use 0 to get results from the beginning @limit Maximum number of messages to be returned, can't be greater than 100 @filter Filter for content of searched messages -searchSecretMessages chat_id:int53 query:string from_search_id:int64 limit:int filter:SearchMessagesFilter = FoundMessages; - -//@description Searches for call messages. Returns result in reverse chronological order, i. e. in order of decreasing message_id @from_message_id Identifier of the message from which to search, you can use 0 to get results from beginning -//@limit Maximum number of messages to be returned, can't be greater than 100. There may be less than limit messages returned even the end of the history is not reached filter @only_missed If true, return only messages with missed calls -searchCallMessages from_message_id:int53 limit:int only_missed:Bool = Messages; - -//@description Returns public HTTPS link to a message. Available only for messages in public channels @chat_id Identifier of the chat, message belongs to @message_id Identifier of the message -getPublicMessageLink chat_id:int53 message_id:int53 = PublicMessageLink; - -//@description Sends a message. Returns sent message @chat_id Chat to send message @reply_to_message_id Identifier of a message to reply to or 0 -//@disable_notification Pass true, to disable notification about the message, doesn't works in secret chats @from_background Pass true, if the message is sent from background -//@reply_markup Bots only. Markup for replying to message @input_message_content Content of a message to send -sendMessage chat_id:int53 reply_to_message_id:int53 disable_notification:Bool from_background:Bool reply_markup:ReplyMarkup input_message_content:InputMessageContent = Message; - -//@description Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message -//@bot_user_id Identifier of the bot @chat_id Identifier of the chat @parameter Hidden parameter sent to bot for deep linking (https://api.telegram.org/bots#deep-linking) -sendBotStartMessage bot_user_id:int chat_id:int53 parameter:string = Message; - -//@description Sends result of the inline query as a message. Returns sent message. Always clears chat draft message @chat_id Chat to send message @reply_to_message_id Identifier of a message to reply to or 0 -//@disable_notification Pass true, to disable notification about the message, doesn't works in secret chats @from_background Pass true, if the message is sent from background -//@query_id Identifier of the inline query @result_id Identifier of the inline result -sendInlineQueryResultMessage chat_id:int53 reply_to_message_id:int53 disable_notification:Bool from_background:Bool query_id:int64 result_id:string = Message; - -//@description Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message -//@chat_id Identifier of a chat to forward messages @from_chat_id Identifier of a chat to forward from @message_ids Identifiers of messages to forward -//@disable_notification Pass true, to disable notification about the message, doesn't works if messages are forwarded to secret chat @from_background Pass true, if the message is sent from background -forwardMessages chat_id:int53 from_chat_id:int53 message_ids:vector disable_notification:Bool from_background:Bool = Messages; - -//@description Changes current ttl setting in a secret chat and sends corresponding message @chat_id Chat identifier @ttl New value of ttl in seconds -sendChatSetTtlMessage chat_id:int53 ttl:int = Message; - -//@description Sends notification about screenshot taken in a chat. Works only in private and secret chats @chat_id Chat identifier -sendChatScreenshotTakenNotification chat_id:int53 = Ok; - -//@description Deletes messages @chat_id Chat identifier @message_ids Identifiers of messages to delete @revoke Pass true to try to delete sent messages for all chat members (may fail if messages are too old). Is always true for Channels and SecretChats -deleteMessages chat_id:int53 message_ids:vector revoke:Bool = Ok; - -//@description Deletes all messages in the chat sent by the specified user. Works only in supergroup channel chats, needs can_delete_messages administrator privileges @chat_id Chat identifier @user_id User identifier -deleteMessagesFromUser chat_id:int53 user_id:int = Ok; - - -//@description Edits text of text or game message. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side -//@chat_id Chat the message belongs to @message_id Identifier of the message @reply_markup Bots only. New message reply markup @input_message_content New text content of the message. Should be of type InputMessageText -editMessageText chat_id:int53 message_id:int53 reply_markup:ReplyMarkup input_message_content:InputMessageContent = Message; - -//@description Edits message content caption. Non-bots can edit message in a limited period of time. Returns edited message after edit is complete server side -//@chat_id Chat the message belongs to @message_id Identifier of the message @reply_markup Bots only. New message reply markup @caption New message content caption, 0-200 characters -editMessageCaption chat_id:int53 message_id:int53 reply_markup:ReplyMarkup caption:string = Message; - -//@description Bots only. Edits message reply markup. Returns edited message after edit is complete server side -//@chat_id Chat the message belongs to @message_id Identifier of the message @reply_markup New message reply markup -editMessageReplyMarkup chat_id:int53 message_id:int53 reply_markup:ReplyMarkup = Message; - -//@description Bots only. Edits text of an inline text or game message sent via bot @inline_message_id Inline message identifier @reply_markup New message reply markup @input_message_content New text content of the message. Should be of type InputMessageText -editInlineMessageText inline_message_id:string reply_markup:ReplyMarkup input_message_content:InputMessageContent = Ok; - -//@description Bots only. Edits caption of an inline message content sent via bot @inline_message_id Inline message identifier @reply_markup New message reply markup @caption New message content caption, 0-200 characters -editInlineMessageCaption inline_message_id:string reply_markup:ReplyMarkup caption:string = Ok; - -//@description Bots only. Edits reply markup of an inline message sent via bot @inline_message_id Inline message identifier @reply_markup New message reply markup -editInlineMessageReplyMarkup inline_message_id:string reply_markup:ReplyMarkup = Ok; - - -//@description Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously @text Text to find entites in -getTextEntities text:string = TextEntities; - -//@description Returns file's mime type guessing only by its extension. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously @file_name Name of the file or path to the file -getFileMimeType file_name:string = Text; - -//@description Returns file's extension guessing only by its mime type. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously @mime_type Mime type of the file -getFileExtension mime_type:string = Text; - - -//@description Sends inline query to a bot and returns its results. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots @bot_user_id Identifier of the bot send query to -//@chat_id Identifier of the chat, where the query is sent @user_location User location, only if needed @query Text of the query @offset Offset of the first entry to return -getInlineQueryResults bot_user_id:int chat_id:int53 user_location:location query:string offset:string = InlineQueryResults; - -//@description Bots only. Sets result of an inline query @inline_query_id Identifier of the inline query @is_personal Does result of the query can be cached only for specified user -//@results Results of the query @cache_time Allowed time to cache results of the query in seconds @next_offset Offset for the next inline query, pass empty string if there is no more results -//@switch_pm_text If non-empty, this text should be shown on the button, which opens private chat with the bot and sends bot start message with parameter switch_pm_parameter @switch_pm_parameter Parameter for the bot start message -answerInlineQuery inline_query_id:int64 is_personal:Bool results:vector cache_time:int next_offset:string switch_pm_text:string switch_pm_parameter:string = Ok; - - -//@description Sends callback query to a bot and returns answer to it. Returns error with code 502 if bot fails to answer the query before query timeout expires. Unavailable for bots @chat_id Identifier of the chat with a message @message_id Identifier of the message, from which the query is originated @payload Query payload -getCallbackQueryAnswer chat_id:int53 message_id:int53 payload:CallbackQueryPayload = CallbackQueryAnswer; - -//@description Bots only. Sets result of a callback query @callback_query_id Identifier of the callback query @text Text of the answer @show_alert If true, an alert should be shown to the user instead of a toast @url Url to be opened @cache_time Allowed time to cache result of the query in seconds -answerCallbackQuery callback_query_id:int64 text:string show_alert:Bool url:string cache_time:int = Ok; - - -//@description Bots only. Sets result of a shipping query @shipping_query_id Identifier of the shipping query @shipping_options Available shipping options @error_message Error message, empty on success -answerShippingQuery shipping_query_id:int64 shipping_options:vector error_message:string = Ok; - -//@description Bots only. Sets result of a pre checkout query @pre_checkout_query_id Identifier of the pre-checkout query @error_message Error message, empty on success -answerPreCheckoutQuery pre_checkout_query_id:int64 error_message:string = Ok; - - -//@description Bots only. Updates game score of the specified user in the game @chat_id Chat a message with the game belongs to @message_id Identifier of the message @edit_message True, if message should be edited @user_id User identifier @score New score -//@force Pass True to update the score even if it decreases. If score is 0, user will be deleted from the high scores table -setGameScore chat_id:int53 message_id:int53 edit_message:Bool user_id:int score:int force:Bool = Message; - -//@description Bots only. Updates game score of the specified user in the game @inline_message_id Inline message identifier @edit_message True, if message should be edited @user_id User identifier @score New score -//@force Pass True to update the score even if it decreases. If score is 0, user will be deleted from the high scores table -setInlineGameScore inline_message_id:string edit_message:Bool user_id:int score:int force:Bool = Ok; - -//@description Bots only. Returns game high scores and some part of the score table around of the specified user in the game @chat_id Chat a message with the game belongs to @message_id Identifier of the message @user_id User identifie -getGameHighScores chat_id:int53 message_id:int53 user_id:int = GameHighScores; - -//@description Bots only. Returns game high scores and some part of the score table around of the specified user in the game @inline_message_id Inline message identifier @user_id User identifier -getInlineGameHighScores inline_message_id:string user_id:int = GameHighScores; - - -//@description Deletes default reply markup from chat. This method needs to be called after one-time keyboard or ForceReply reply markup has been used. UpdateChatReplyMarkup will be send if reply markup will be changed @chat_id Chat identifier -//@message_id Message identifier of used keyboard -deleteChatReplyMarkup chat_id:int53 message_id:int53 = Ok; - - -//@description Sends notification about user activity in a chat @chat_id Chat identifier @action Action description -sendChatAction chat_id:int53 action:ChatAction = Ok; - - -//@description Chat is opened by the user. Many useful activities depends on chat being opened or closed. For example, in channels all updates are received only for opened chats @chat_id Chat identifier -openChat chat_id:int53 = Ok; - -//@description Chat is closed by the user. Many useful activities depends on chat being opened or closed. @chat_id Chat identifier -closeChat chat_id:int53 = Ok; - -//@description Messages are viewed by the user. Many useful activities depends on message being viewed. For example, marking messages as read, incrementing of view counter, updating of view counter, removing of deleted messages in channels @chat_id Chat identifier @message_ids Identifiers of viewed messages -viewMessages chat_id:int53 message_ids:vector = Ok; - -//@description Message content is opened, for example the user has opened a photo, a video, a document, a location or a venue or have listened to an audio or a voice message. You will receive updateOpenMessageContent if something has changed @chat_id Chat identifier of the message @message_id Identifier of the message with opened content -openMessageContent chat_id:int53 message_id:int53 = Ok; - - -//@description Returns existing chat corresponding to the given user @user_id User identifier -createPrivateChat user_id:int = Chat; - -//@description Returns existing chat corresponding to the known group @group_id Group identifier -createGroupChat group_id:int = Chat; - -//@description Returns existing chat corresponding to the known channel @channel_id Channel identifier -createChannelChat channel_id:int = Chat; - -//@description Returns existing chat corresponding to the known secret chat @secret_chat_id SecretChat identifier -createSecretChat secret_chat_id:int = Chat; - -//@description Creates new group chat and send corresponding messageGroupChatCreate, returns created chat @user_ids Identifiers of users to add to the group @title Title of new group chat, 1-255 characters -createNewGroupChat user_ids:vector title:string = Chat; - -//@description Creates new channel chat and send corresponding messageChannelChatCreate, returns created chat @title Title of new channel chat, 1-255 characters @is_supergroup True, if supergroup chat should be created @param_description Channel description, 0-255 characters -createNewChannelChat title:string is_supergroup:Bool description:string = Chat; - -//@description Creates new secret chat, returns created chat @user_id Identifier of a user to create secret chat with -createNewSecretChat user_id:int = Chat; - -//@description Creates new channel supergroup chat from existing group chat and send corresponding messageChatMigrateTo and messageChatMigrateFrom. Deactivates group @chat_id Group chat identifier -migrateGroupChatToChannelChat chat_id:int53 = Chat; - - -//@description Changes chat title. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Title will not change before request to the server completes -//@chat_id Chat identifier @title New title of the chat, 1-255 characters -changeChatTitle chat_id:int53 title:string = Ok; - -//@description Changes chat photo. Works only for group and channel chats. Requires administrator rights in groups and appropriate administrator right in channels. Photo will not change before request to the server completes -//@chat_id Chat identifier @photo New chat photo. You can use zero InputFileId to delete chat photo. Files accessible only by HTTP URL are not acceptable -changeChatPhoto chat_id:int53 photo:InputFile = Ok; - -//@description Changes chat draft message @chat_id Chat identifier @draft_message New draft message, nullable -changeChatDraftMessage chat_id:int53 draft_message:draftMessage = Ok; - -//@description Changes chat pinned state. You can pin up to getOption("pinned_chat_count_max") non-secret chats and the same number of secret chats @chat_id Chat identifier @is_pinned New value of is_pinned -toggleChatIsPinned chat_id:int53 is_pinned:Bool = Ok; - -//@description Changes client data associated with a chat @chat_id Chat identifier @client_data New value of client_data -setChatClientData chat_id:int53 client_data:string = Ok; - -//@description Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server -//@chat_id Chat identifier @user_id Identifier of the user to add @forward_limit Number of previous messages from chat to forward to new member, ignored for channel chats. Can't be greater than 300 -addChatMember chat_id:int53 user_id:int forward_limit:int = Ok; - -//@description Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with the server -//@chat_id Chat identifier @user_ids Identifiers of the users to add -addChatMembers chat_id:int53 user_ids:vector = Ok; - -//@description Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server -//@chat_id Chat identifier @user_id Identifier of the user to edit status @status New status of the member in the chat -changeChatMemberStatus chat_id:int53 user_id:int status:ChatMemberStatus = Ok; - -//@description Returns information about one participant of the chat @chat_id Chat identifier @user_id User identifier -getChatMember chat_id:int53 user_id:int = ChatMember; - -//@description Searches for the specified query in the first name, last name and username among members of the specified chat. Requires administrator rights in broadcast channels @chat_id Chat identifier @query Query to search for @limit Maximum number of users to be returned -searchChatMembers chat_id:int53 query:string limit:int = ChatMembers; - - -//@description Changes list or order of pinned chats @chat_ids New list of pinned chats -setPinnedChats chat_ids:vector = Ok; - - -//@description Asynchronously downloads file from cloud. Updates updateFile will notify about download progress and successful download @file_id Identifier of file to download -//@priority Priority of download, 1-32. The higher priority, the earlier file will be downloaded. If priorities of two files are equal then the last one for which downloadFile is called will be downloaded first -downloadFile file_id:int priority:int = Ok; - -//@description Stops file downloading. If file is already downloaded, does nothing @file_id Identifier of file to cancel download -cancelDownloadFile file_id:int = Ok; - -//@description Asynchronously uploads file to the cloud without sending it in a message. Updates updateFile will notify about upload progress and successful upload. The file will not have persistent identifier until it will be sent in a message @file File to upload @file_type File type -//@priority Priority of upload, 1-32. The higher priority, the earlier file will be uploaded. If priorities of two files are equal then the first one for which uploadFile is called will be uploaded first -uploadFile file:InputFile file_type:FileType priority:int = File; - -//@description Stops file uploading. Works only for files uploaded using uploadFile. For other files the behavior is undefined @file_id Identifier of file to cancel upload -cancelUploadFile file_id:int = Ok; - -//@description Next part of a file was generated -//@generation_id Identifier of the generation process -//@size Full size of file in bytes, 0 if unknown. -//@local_size Number of bytes already generated. Negative number means that generation has failed and should be terminated -setFileGenerationProgress generation_id:int64 size:int local_size:int = Ok; - -//@description Finishes file generation @generation_id Identifier of the generation process -finishFileGeneration generation_id:int64 = Ok; - -//@description Deletes a file from TDLib file cache @file_id Identifier of the file to delete -deleteFile file_id:int = Ok; - - -//@description Generates new chat invite link, previously generated link is revoked. Available for group and channel chats. In groups can be called only by creator, in channels requires appropriate rights @chat_id Chat identifier -exportChatInviteLink chat_id:int53 = ChatInviteLink; - -//@description Checks chat invite link for validness and returns information about the corresponding chat @invite_link Invite link to check. Should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/" or "https://telegram.dog/joinchat/" -checkChatInviteLink invite_link:string = ChatInviteLinkInfo; - -//@description Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server -//@invite_link Invite link to import. Should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/" or "https://telegram.dog/joinchat/" -importChatInviteLink invite_link:string = Ok; - - -//@description Creates new call @user_id Identifier of user to call @protocol Description of supported by the client call protocols -createCall user_id:int protocol:callProtocol = CallId; - -//@description Accepts incoming call @call_id Call identifier @protocol Description of supported by the client call protocols -acceptCall call_id:int protocol:callProtocol = Ok; - -//@description Discards a call @call_id Call identifier @is_disconnected True, if users was disconnected @duration Call duration in seconds @connection_id Identifier of a connection used during the call -discardCall call_id:int is_disconnected:Bool duration:int connection_id:int64 = Ok; - -//@description Sends call rating @call_id Call identifier @rating Call rating, 1-5 @comment Optional user comment if rating is less than 5 -rateCall call_id:int rating:int comment:string = Ok; - -//@description Sends call debug information @call_id Call identifier @debug Debug information in application specific format -debugCall call_id:int debug:string = Ok; - - - -//@description Adds user to black list @user_id User identifier -blockUser user_id:int = Ok; - -//@description Removes user from black list @user_id User identifier -unblockUser user_id:int = Ok; - -//@description Returns users blocked by the current user @offset Number of users to skip in result, must be non-negative @limit Maximum number of users to return, can't be greater than 100 -getBlockedUsers offset:int limit:int = Users; - - -//@description Adds new contacts/edits existing contacts, contacts user identifiers are ignored @contacts List of contacts to import/edit -importContacts contacts:vector = ImportedContacts; - -//@description Searches for specified query in the first name, last name and username of the known user contacts @query Query to search for, can be empty to return all contacts @limit Maximum number of users to be returned -searchContacts query:string limit:int = Users; - -//@description Deletes users from contacts list @user_ids Identifiers of users to be deleted -deleteContacts user_ids:vector = Ok; - -//@description Returns total number of imported contacts -getImportedContactCount = Count; - -//@description Deletes all imported contacts -deleteImportedContacts = Ok; - - -//@description Returns profile photos of the user. Result of this query may be outdated: some photos may be already deleted @user_id User identifier @offset Photos to skip, must be non-negative @limit Maximum number of photos to be returned, can't be greater than 100 -getUserProfilePhotos user_id:int offset:int limit:int = UserProfilePhotos; - - -//@description Returns stickers from installed ordinary sticker sets corresponding to the given emoji. If emoji is not empty, elso favorite and recently used stickers may be returned @emoji String representation of emoji. If empty, returns all known stickers @limit Maximum number of stickers to return -getStickers emoji:string limit:int = Stickers; - -//@description Returns list of installed sticker sets @is_masks Pass true to return mask sticker sets, pass false to return ordinary sticker sets -getInstalledStickerSets is_masks:Bool = StickerSets; - -//@description Returns list of archived sticker sets @is_masks Pass true to return mask stickers sets, pass false to return ordinary sticker sets @offset_sticker_set_id Identifier of the sticker set from which return the result @limit Maximum number of sticker sets to return -getArchivedStickerSets is_masks:Bool offset_sticker_set_id:int64 limit:int = StickerSets; - -//@description Returns list of trending sticker sets -getTrendingStickerSets = StickerSets; - -//@description Returns list of sticker sets attached to a file, currently only photos and videos can have attached sticker sets @file_id File identifier -getAttachedStickerSets file_id:int = StickerSets; - -//@description Returns information about sticker set by its identifier @set_id Identifier of the sticker set -getStickerSet set_id:int64 = StickerSet; - -//@description Searches sticker set by its short name @name Name of the sticker set -searchStickerSet name:string = StickerSet; - -//@description Installs/uninstalls or enables/archives sticker set @set_id Identifier of the sticker set @is_installed New value of is_installed @is_archived New value of is_archived. A sticker set can't be installed and archived simultaneously -changeStickerSet set_id:int64 is_installed:Bool is_archived:Bool = Ok; - -//@description Informs that some trending sticker sets are viewed by the user @sticker_set_ids Identifiers of viewed trending sticker sets -viewTrendingStickerSets sticker_set_ids:vector = Ok; - -//@description Changes the order of installed sticker sets @is_masks Pass true to change mask sticker sets order, pass false to change ordinary sticker sets order @sticker_set_ids Identifiers of installed sticker sets in the new right order -reorderInstalledStickerSets is_masks:Bool sticker_set_ids:vector = Ok; - -//@description Returns list of recently used stickers @is_attached Pass true to return stickers and masks recently attached to photo or video files, pass false to return recently sent stickers -getRecentStickers is_attached:Bool = Stickers; - -//@description Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list -//@is_attached Pass true to add the sticker to the list of stickers recently attached to photo or video files, pass false to add the sticker to the list of recently sent stickers @sticker Sticker file to add -addRecentSticker is_attached:Bool sticker:InputFile = Stickers; - -//@description Removes a sticker from the list of recently used stickers @is_attached Pass true to remove the sticker from the list of stickers recently attached to photo or video files, pass false to remove the sticker from the list of recently sent stickers @sticker Sticker file to delete -deleteRecentSticker is_attached:Bool sticker:InputFile = Ok; - -//@description Clears list of recently used stickers @is_attached Pass true to clear list of stickers recently attached to photo or video files, pass false to clear the list of recently sent stickers -clearRecentStickers is_attached:Bool = Ok; - -//@description Returns favorite stickers -getFavoriteStickers = Stickers; - -//@description Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list -//@sticker Sticker file to add -addFavoriteSticker sticker:InputFile = Ok; - -//@description Removes a sticker from the list of favorite stickers @sticker Sticker file to delete from the list -deleteFavoriteSticker sticker:InputFile = Ok; - -//@description Returns emojis corresponding to a sticker @sticker Sticker file identifier -getStickerEmojis sticker:InputFile = StickerEmojis; - - -//@description Returns saved animations -getSavedAnimations = Animations; - -//@description Manually adds new animation to the list of saved animations. New animation is added to the beginning of the list. If the animation is already in the list, at first it is removed from the list. Only non-secret video animations with MIME type "video/mp4" can be added to the list -//@animation Animation file to add. Only known to server animations (i. e. successfully sent via message) can be added to the list -addSavedAnimation animation:InputFile = Ok; - -//@description Removes an animation from the list of saved animations @animation Animation file to delete -deleteSavedAnimation animation:InputFile = Ok; - - -//@description Returns up to 20 recently used inline bots in the order of the last usage -getRecentInlineBots = Users; - - -//@description Searches for recently used hashtags by their prefix @prefix Hashtag prefix to search for @limit Maximum number of hashtags to return -searchHashtags prefix:string limit:int = Hashtags; - -//@description Deletes a hashtag from the list of recently used hashtags @hashtag The hashtag to delete -deleteRecentHashtag hashtag:string = Ok; - - -//@description Returns web page preview by text of the message. Do not call this function to often. Returns error 404 if web page has no preview @message_text Message text -getWebPagePreview message_text:string = WebPage; - -//@description Returns web page instant view if available. Returns error 404 if web page has no instant view @url Web page URL @force_full If true, full web page instant view will be returned -getWebPageInstantView url:string force_full:Bool = WebPageInstantView; - - -//@description Returns notification settings for a given scope @scope Scope to return information about notification settings -getNotificationSettings scope:NotificationSettingsScope = NotificationSettings; - -//@description Changes notification settings for a given scope @scope Scope to change notification settings -//@notification_settings New notification settings for given scope -setNotificationSettings scope:NotificationSettingsScope notification_settings:notificationSettings = Ok; - -//@description Resets all notification settings to the default value. By default the only muted chats are supergroups, sound is set to 'default' and message previews are showed -resetAllNotificationSettings = Ok; - - -//@description Uploads new profile photo for logged in user. If something changes, updateUser will be sent @photo Profile photo to set. inputFileId and inputFilePersistentId may be unsupported -setProfilePhoto photo:InputFile = Ok; - -//@description Deletes profile photo. If something changes, updateUser will be sent @profile_photo_id Identifier of profile photo to delete -deleteProfilePhoto profile_photo_id:int64 = Ok; - -//@description Changes first and last names of logged in user. If something changes, updateUser will be sent @first_name New value of user first name, 1-255 characters @last_name New value of optional user last name, 0-255 characters -changeName first_name:string last_name:string = Ok; - -//@description Changes about information of logged in user @about New value of userFull.about, 0-70 characters without line feeds -changeAbout about:string = Ok; - -//@description Changes username of logged in user. If something changes, updateUser will be sent @username New value of username. Use empty string to remove username -changeUsername username:string = Ok; - -//@description Changes user's phone number and sends authentication code to the new user's phone number. Returns authStateWaitCode with information about sent code on success -//@phone_number New user's phone number in any reasonable format @allow_flash_call Pass True, if code can be sent via flash call to the specified phone number @is_current_phone_number Pass true, if the phone number is used on the current device. Ignored if allow_flash_call is False -changePhoneNumber phone_number:string allow_flash_call:Bool is_current_phone_number:Bool = AuthState; - -//@description Resends authentication code sent to change user's phone number. Wotks only if in previously received authStateWaitCode next_code_type was not null. Returns authStateWaitCode on success -resendChangePhoneNumberCode = AuthState; - -//@description Checks authentication code sent to change user's phone number. Returns authStateOk on success @code Verification code from SMS, phone call or flash call -checkChangePhoneNumberCode code:string = AuthState; - - -//@description Returns all active sessions of logged in user -getActiveSessions = Sessions; - -//@description Terminates another session of logged in user @session_id Session identifier -terminateSession session_id:int64 = Ok; - -//@description Terminates all other sessions of logged in user -terminateAllOtherSessions = Ok; - - -//@description Gives or revokes all members of the group administrator rights. Needs creator privileges in the group @group_id Identifier of the group @everyone_is_administrator New value of everyone_is_administrator -toggleGroupAdministrators group_id:int everyone_is_administrator:Bool = Ok; - - -//@description Changes username of the channel. Needs creator privileges in the channel @channel_id Identifier of the channel @username New value of username. Use empty string to remove username -changeChannelUsername channel_id:int username:string = Ok; - -//@description Changes sticker set of the channel. Needs appropriate rights in the channel @channel_id Identifier of the channel @sticker_set_id New value of channel sticker set identifier. Use 0 to remove channel sticker set -setChannelStickerSet channel_id:int sticker_set_id:int64 = Ok; - -//@description Gives or revokes right to invite new members to all current members of the channel. Needs appropriate rights in the channel. Available only for supergroups @channel_id Identifier of the channel @anyone_can_invite New value of anyone_can_invite -toggleChannelInvites channel_id:int anyone_can_invite:Bool = Ok; - -//@description Enables or disables sender signature on sent messages in the channel. Needs appropriate rights in the channel. Not available for supergroups @channel_id Identifier of the channel @sign_messages New value of sign_messages -toggleChannelSignMessages channel_id:int sign_messages:Bool = Ok; - -//@description Changes information about the channel. Needs appropriate rights in the channel @channel_id Identifier of the channel @param_description New channel description, 0-255 characters -changeChannelDescription channel_id:int description:string = Ok; - -//@description Pins a message in a supergroup channel chat. Needs appropriate rights in the channel @channel_id Identifier of the channel @message_id Identifier of the new pinned message @disable_notification True, if there should be no notification about the pinned message -pinChannelMessage channel_id:int message_id:int53 disable_notification:Bool = Ok; - -//@description Removes pinned message in the supergroup channel. Needs appropriate rights in the channel @channel_id Identifier of the channel -unpinChannelMessage channel_id:int = Ok; - -//@description Reports some supergroup channel messages from a user as spam messages @channel_id Channel identifier @user_id User identifier @message_ids Identifiers of messages sent in the supergroup by the user, the list should be non-empty -reportChannelSpam channel_id:int user_id:int message_ids:vector = Ok; - -//@description Returns information about channel members or banned users. Can be used only if channel_full->can_get_members == true. Administrator privileges may be additionally needed for some filters @channel_id Identifier of the channel -//@filter Kind of channel users to return, defaults to channelMembersRecent @offset Number of channel users to skip @limit Maximum number of users be returned, can't be greater than 200 -getChannelMembers channel_id:int filter:ChannelMembersFilter offset:int limit:int = ChatMembers; - -//@description Deletes channel along with all messages in corresponding chat. Releases channel username and removes all members. Needs creator privileges in the channel. Channels with more than 1000 members can't be deleted @channel_id Identifier of the channel -deleteChannel channel_id:int = Ok; - - -//@description Closes secret chat, effectively transfering its state to "Closed" @secret_chat_id Secret chat identifier -closeSecretChat secret_chat_id:int = Ok; - - -//@description Returns list of service actions taken by chat members and administrators in the last 48 hours, available only in channels. Requires administrator rights. Returns result in reverse chronological order, i. e. in order of decreasing event_id -//@chat_id Chat identifier @query Search query to filter events @from_event_id Identifier of an event from which to return result, you can use 0 to get results from the latest events @limit Maximum number of events to return, can't be greater than 100 -//@filters Types of events to return, defaults to all @user_ids User identifiers, which events to return, defaults to all users -getChatEventLog chat_id:int53 query:string from_event_id:int64 limit:int filters:chatEventLogFilters user_ids:vector = ChatEvents; - - -//@description Returns invoice payment form. The method should be called when user presses inlineKeyboardButtonBuy @chat_id Chat identifier of the Invoice message @message_id Message identifier -getPaymentForm chat_id:int53 message_id:int53 = PaymentForm; - -//@description Validates order information provided by the user and returns available shipping options for flexible invoice @chat_id Chat identifier of the Invoice message @message_id Message identifier @order_info Order information, provided by the user @allow_save True, if order information can be saved -validateOrderInfo chat_id:int53 message_id:int53 order_info:orderInfo allow_save:Bool = ValidatedOrderInfo; - -//@description Sends filled payment form to the bot for the final verification @chat_id Chat identifier of the Invoice message @message_id Message identifier @order_info_id Identifier returned by ValidateOrderInfo or empty string @shipping_option_id Identifier of a chosen shipping option, if applicable -//@credentials Credentials choosed by user for payment -sendPaymentForm chat_id:int53 message_id:int53 order_info_id:string shipping_option_id:string credentials:InputCredentials = PaymentResult; - -//@description Returns information about successful payment @chat_id Chat identifier of the PaymentSuccessful message @message_id Message identifier -getPaymentReceipt chat_id:int53 message_id:int53 = PaymentReceipt; - -//@description Returns saved order info if any -getSavedOrderInfo = OrderInfo; - -//@description Deletes saved order info -deleteSavedOrderInfo = Ok; - -//@description Deletes saved credentials for all payments provider bots -deleteSavedCredentials = Ok; - - -//@description Returns user that can be contacted to get support -getSupportUser = User; - -//@description Returns background wallpapers -getWallpapers = Wallpapers; - - -//@description Registers current used device for receiving push notifications @device_token Device token -registerDevice device_token:DeviceToken = Ok; - - -//@description Changes privacy settings @key Privacy key @rules New privacy rules -setPrivacy key:PrivacyKey rules:privacyRules = Ok; - -//@description Returns current privacy settings @key Privacy key -getPrivacy key:PrivacyKey = PrivacyRules; - - -//@description Returns value of an option by its name. See list of available options on https://core.telegram.org/tdlib/options. Can be called before authorization -//@name Name of the option -getOption name:string = OptionValue; - -//@description Sets value of an option. See list of available options on https://core.telegram.org/tdlib/options. Only writable options can be set. Can be called before authorization -//@name Name of the option @value New value of the option -setOption name:string value:OptionValue = Ok; - - -//@description Changes period of inactivity, after which the account of currently logged in user will be automatically deleted @ttl New account TTL -changeAccountTtl ttl:accountTtl = Ok; - -//@description Returns period of inactivity, after which the account of currently logged in user will be automatically deleted -getAccountTtl = AccountTtl; - -//@description Deletes the account of currently logged in user, deleting from the server all information associated with it. Account's phone number can be used to create new account, but only once in two weeks @reason Optional reason of account deletion -deleteAccount reason:string = Ok; - - -//@description Returns current chat report spam state @chat_id Chat identifier -getChatReportSpamState chat_id:int53 = ChatReportSpamState; - -//@description Reports chat as a spam chat or as not a spam chat. Can be used only if ChatReportSpamState.can_report_spam is true. After this request ChatReportSpamState.can_report_spam became false forever @chat_id Chat identifier @is_spam_chat If true, chat will be reported as a spam chat, otherwise it will be marked as not a spam chat -changeChatReportSpamState chat_id:int53 is_spam_chat:Bool = Ok; - -//@description Reports chat to Telegram moderators. Can be used only for a channel chat or a private chat with a bot, because all other chats can't be checked by moderators @chat_id Chat identifier @reason Reason, the chat is reported -reportChat chat_id:int53 reason:ChatReportReason = Ok; - - -//@description Returns storage usage statistics @chat_limit Maximum number of chats with biggest storage usage for which separate statistics should be returned. All other chats will be grouped in entries with chat_id == 0. If chat info database is not used, chat_limit is ignored and is always set to 0 -getStorageStatistics chat_limit:int = StorageStatistics; - -//@description Quickly returns approximate storage usage statistics -getStorageStatisticsFast = StorageStatisticsFast; - -//@description Optimizes storage usage, i.e. deletes some files and return new storage usage statistics. Secret thumbnails can't be deleted -//@size Limit on total size of files after deletion. Pass -1 to use default limit -//@ttl Limit on time passed since last access time (or creation time on some filesystems) to a file. Pass -1 to use default limit -//@count Limit on total count of files after deletion. Pass -1 to use default limit -//@immunity_delay Number of seconds after creation of a file, it can't be delited. Pass -1 to use default value -//@file_types If not empty, only files with given types are considered. By default, all types except thumbnails, profile photos, stickers and wallpapers are deleted -//@chat_ids If not empty, only files from the given chats are considered. Use 0 as chat identifier to delete files not belonging to any chat, for example profile photos -//@exclude_chat_ids If not empty, files from the given chats are exluded. Use 0 as chat identifier to exclude all files not belonging to any chat, for example profile photos -//@chat_limit Same as in getStorageStatistics. Affects only returned statistics -optimizeStorage size:int53 ttl:int count:int immunity_delay:int file_types:vector chat_ids:vector exclude_chat_ids:vector chat_limit:int = StorageStatistics; - - -//@description Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. -Network type is used to check if library can use network at all and for collecting detailed network data usage statistics @type New network type, defaults to networkTypeNone -setNetworkType type:NetworkType = Ok; - -//@description Returns network data usage statistics. Can be called before authorization @only_current If true, returns only data for the current library launch -getNetworkStatistics only_current:Bool = NetworkStatistics; - -//@description Adds specified data to data usage statistics. Can be called before authorization @entry Network statistics entry with a data to add to statistics -addNetworkStatistics entry:NetworkStatisticsEntry = Ok; - -//@description Resets all network data usage statistics to zero. Can be called before authorization -resetNetworkStatistics = Ok; - - -//@description Bots only. Informs server about number of pending bot updates if they aren't processed for a long time @pending_update_count Number of pending updates @error_message Last error's message -setBotUpdatesStatus pending_update_count:int error_message:string = Ok; - - -//@description Bots only. Uploads a png image with a sticker. Returns uploaded file @user_id Sticker file owner @png_sticker Png image with the sticker, must be up to 512 kilobytes in size and fit in 512x512 square -uploadStickerFile user_id:int png_sticker:InputFile = File; - -//@description Bots only. Creates new sticker set. Returns created sticker set @user_id Sticker set owner @title Sticker set title, 1-64 characters @name Sticker set name. Can contain only english letters, digits and underscores. Should end on *"_by_"*. ** is case insensitive, 1-64 characters -//@is_masks True, is stickers are masks @stickers List of stickers to add to the set -createNewStickerSet user_id:int title:string name:string is_masks:Bool stickers:vector = StickerSet; - -//@description Bots only. Adds new sticker to a set. Returns the sticker set @user_id Sticker set owner @name Sticker set name @sticker Sticker to add to the set -addStickerToSet user_id:int name:string sticker:inputSticker = StickerSet; - -//@description Bots only. Changes position of a sticker in the set it belongs to. Sticker set should be created by the bot @sticker The sticker @position New sticker position in the set, zero-based -setStickerPositionInSet sticker:InputFile position:int = Ok; - -//@description Bots only. Deletes a sticker from the set it belongs to. Sticker set should be created by the bot @sticker The sticker -deleteStickerFromSet sticker:InputFile = Ok; - - -//@description Bots only. Sends custom request @method Method name @parameters JSON-serialized method parameters -sendCustomRequest method:string parameters:string = CustomRequestResult; - -//@description Bots only. Answers a custom query @custom_query_id Identifier of a custom query @data JSON-serialized answer to the query -answerCustomQuery custom_query_id:int64 data:string = Ok; - - -//@description Returns Ok after specified amount of the time passed. Can be called before authorization @seconds Number of seconds before that function returns -setAlarm seconds:double = Ok; - - -//@description Returns invite text for invitation of new users -getInviteText = Text; - -//@description Returns terms of service. Can be called before authorization -getTermsOfService = Text; - - -//@description Sets proxy server for network requests. Can be called before authorization @proxy The proxy to use. You can specify null to remove proxy server -setProxy proxy:Proxy = Ok; - -//@description Returns current set up proxy. Can be called before authorization -getProxy = Proxy; - - -//@description Test request. Does nothing -testCallEmpty = Ok; -//@description Test request. Returns back received string @x String to return -testCallString x:string = TestString; -//@description Test request. Returns back received bytes @x Bytes to return -testCallBytes x:bytes = TestBytes; -//@description Test request. Returns back received vector of numbers @x Vector of numbers to return -testCallVectorInt x:vector = TestVectorInt; -//@description Test request. Returns back received vector of objects containing a number @x Vector of objects to return -testCallVectorIntObject x:vector = TestVectorIntObject; -//@description Test request. Returns back received vector of strings @x Vector of strings to return -testCallVectorString x:vector = TestVectorString; -//@description Test request. Returns back received vector of objects containing a string @x Vector of objects to return -testCallVectorStringObject x:vector = TestVectorStringObject; -//@description Test request. Returns squared received number @x Number to square -testSquareInt x:int = TestInt; -//@description Test request. Sends simple network request to telegram servers -testNetwork = Ok; -//@description Test request. Forces updates.getDifference call to telegram servers -testGetDifference = Ok; -//@description Test request. Does nothing, ensures that the Update object is used -testUseUpdate = Update; -//@description Test request. Does nothing, ensures that the Error object is used -testUseError = Error; diff --git a/src/danog/MadelineProto/TL_telegram_v100.tl b/src/danog/MadelineProto/TL_telegram_v100.tl deleted file mode 100644 index 2e703906..00000000 --- a/src/danog/MadelineProto/TL_telegram_v100.tl +++ /dev/null @@ -1,1359 +0,0 @@ ----types--- -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4df30834 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#9882e516 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.13?int pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; - -userFull#745559cc flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#5daa6e23 flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#302f59f3 flags:# allow_flashcall:flags.0?true current_number:flags.1?true app_hash_persistent:flags.2?true app_hash:flags.3?string = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - -autoDownloadSettings#d246fd47 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#f79c611 q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAdmin#70f893ba channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.getBroadcastsForDiscussion#1a87f304 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; - -// LAYER 100 diff --git a/src/danog/MadelineProto/TL_telegram_v102.tl b/src/danog/MadelineProto/TL_telegram_v102.tl deleted file mode 100644 index 97fb9d97..00000000 --- a/src/danog/MadelineProto/TL_telegram_v102.tl +++ /dev/null @@ -1,1368 +0,0 @@ ----types--- -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4df30834 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#10916653 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true can_set_location:flags.16?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; -inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; - -userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; -updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update; -updatePeerLocated#b4afcfb0 peers:Vector = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; -messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity; -messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; -messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#5daa6e23 flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#302f59f3 flags:# allow_flashcall:flags.0?true current_number:flags.1?true app_hash_persistent:flags.2?true app_hash:flags.3?string = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - -autoDownloadSettings#d246fd47 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - -channelLocationEmpty#bfb5ad8b = ChannelLocation; -channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation; - -peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; - -auth.logOut#5717da40 = Bool; - -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; - -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContacts#96a0e00 id:Vector = Updates; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; -contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates; -contacts.acceptContact#f831a20f id:InputUser = Updates; -contacts.getLocated#a356056 geo_point:InputGeoPoint = Updates; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0?int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates; -channels.editAdmin#70f893ba channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; -channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates; -channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; - -// LAYER 102 diff --git a/src/danog/MadelineProto/TL_telegram_v103.tl b/src/danog/MadelineProto/TL_telegram_v103.tl deleted file mode 100644 index 60bcd616..00000000 --- a/src/danog/MadelineProto/TL_telegram_v103.tl +++ /dev/null @@ -1,1365 +0,0 @@ ----types--- -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4df30834 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#10916653 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true can_set_location:flags.16?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; -inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; - -userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; -updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update; -updatePeerLocated#b4afcfb0 peers:Vector = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; -messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity; -messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; -messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#5daa6e23 flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#302f59f3 flags:# allow_flashcall:flags.0?true current_number:flags.1?true app_hash_persistent:flags.2?true app_hash:flags.3?string = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - -autoDownloadSettings#d246fd47 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - -channelLocationEmpty#bfb5ad8b = ChannelLocation; -channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation; - -peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#68976c6f flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContacts#96a0e00 id:Vector = Updates; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; -contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates; -contacts.acceptContact#f831a20f id:InputUser = Updates; -contacts.getLocated#a356056 geo_point:InputGeoPoint = Updates; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0?int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates; -channels.editAdmin#70f893ba channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; -channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates; -channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; - -// LAYER 103 diff --git a/src/danog/MadelineProto/TL_telegram_v104.tl b/src/danog/MadelineProto/TL_telegram_v104.tl deleted file mode 100644 index 550ce843..00000000 --- a/src/danog/MadelineProto/TL_telegram_v104.tl +++ /dev/null @@ -1,1365 +0,0 @@ ----types--- -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4df30834 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#2d895c74 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true can_set_location:flags.16?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; -auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; -inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; - -userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; -updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update; -updatePeerLocated#b4afcfb0 peers:Vector = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; -inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; -messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity; -messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; -messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#808d15a4 flags:# user_id:int rank:flags.0?string = ChannelParticipant; -channelParticipantAdmin#ccbebbaf flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#debebe83 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - -autoDownloadSettings#d246fd47 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - -channelLocationEmpty#bfb5ad8b = ChannelLocation; -channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation; - -peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#68976c6f flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContacts#96a0e00 id:Vector = Updates; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; -contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates; -contacts.acceptContact#f831a20f id:InputUser = Updates; -contacts.getLocated#a356056 geo_point:InputGeoPoint = Updates; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0?int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#b15a9afc flags:# precise:flags.0?true location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates; -channels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; -channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates; -channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool; -channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v105.tl b/src/danog/MadelineProto/TL_telegram_v105.tl deleted file mode 100644 index 7a98421d..00000000 --- a/src/danog/MadelineProto/TL_telegram_v105.tl +++ /dev/null @@ -1,1392 +0,0 @@ ----types--- -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#938458c1 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#d31a961e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#2d895c74 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true can_set_location:flags.16?true has_scheduled:flags.19?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#452c0e65 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long restriction_reason:flags.22?Vector = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; -auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; -inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; - -userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; -updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update; -updatePeerLocated#b4afcfb0 peers:Vector = Update; -updateNewScheduledMessage#39a51dfb message:Message = Update; -updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector = Update; -updateTheme#8216fba3 theme:Theme = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; -inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; -privacyKeyAddedByPhone#42ffd42b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#fa64e172 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document documents:flags.11?Vector cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; -inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; -messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity; -messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; -messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#808d15a4 flags:# user_id:int rank:flags.0?string = ChannelParticipant; -channelParticipantAdmin#ccbebbaf flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#debebe83 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - -autoDownloadSettings#d246fd47 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - -channelLocationEmpty#bfb5ad8b = ChannelLocation; -channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation; - -peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated; - -restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason; - -inputTheme#3c5693e9 id:long access_hash:long = InputTheme; -inputThemeSlug#f5890df1 slug:string = InputTheme; - -themeDocumentNotModified#483d270c = Theme; -theme#f7d90ce0 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document installs_count:int = Theme; - -account.themesNotModified#f41eb622 = account.Themes; -account.themes#7f676421 hash:int themes:Vector = account.Themes; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#68976c6f flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; -account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document; -account.createTheme#2b7ffd7f slug:string title:string document:InputDocument = Theme; -account.updateTheme#3b8ea202 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument = Theme; -account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool; -account.installTheme#7ae43737 flags:# dark:flags.0?true format:flags.1?string theme:flags.1?InputTheme = Bool; -account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme; -account.getThemes#285946f8 format:string hash:int = account.Themes; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContacts#96a0e00 id:Vector = Updates; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; -contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates; -contacts.acceptContact#f831a20f id:InputUser = Updates; -contacts.getLocated#a356056 geo_point:InputGeoPoint = Updates; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#520c3870 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.sendMedia#3491eba9 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.forwardMessages#d9fee60e flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer schedule_date:flags.10?int = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0?int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#220815b0 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string schedule_date:flags.10?int = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#48f71778 flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.15?int = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#cc0110cb flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector schedule_date:flags.10?int = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; -messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages.Messages; -messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector = messages.Messages; -messages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector = Updates; -messages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector = Updates; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#b15a9afc flags:# precise:flags.0?true location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates; -channels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; -channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates; -channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool; -channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; diff --git a/src/danog/MadelineProto/TL_telegram_v109.tl b/src/danog/MadelineProto/TL_telegram_v109.tl deleted file mode 100644 index a7cddc5c..00000000 --- a/src/danog/MadelineProto/TL_telegram_v109.tl +++ /dev/null @@ -1,1458 +0,0 @@ -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#abe9ca25 flags:# poll:Poll correct_answers:flags.0?Vector = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#938458c1 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#d31a961e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#2d895c74 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true can_set_location:flags.16?true has_scheduled:flags.19?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#452c0e65 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long restriction_reason:flags.22?Vector = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; -auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; -wallPaperNoFile#8af40b25 flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; -inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; - -userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; -updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update; -updatePeerLocated#b4afcfb0 peers:Vector = Update; -updateNewScheduledMessage#39a51dfb message:Message = Update; -updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector = Update; -updateTheme#8216fba3 theme:Theme = Update; -updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update; -updateLoginToken#564fe691 = Update; -updateMessagePollVote#42f88f2c poll_id:long user_id:int options:Vector = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; -inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; -privacyKeyAddedByPhone#42ffd42b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#e89c45b2 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; -inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; -keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; -messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity; -messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; -messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#808d15a4 flags:# user_id:int rank:flags.0?string = ChannelParticipant; -channelParticipantAdmin#ccbebbaf flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters; - -pollResults#c87024a2 flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int recent_voters:flags.3?Vector = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; -inputWallPaperNoFile#8427bbac = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#debebe83 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true = CodeSettings; - -wallPaperSettings#5086cf8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int intensity:flags.3?int rotation:flags.4?int = WallPaperSettings; - -autoDownloadSettings#e04232f3 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int video_upload_maxbitrate:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - -channelLocationEmpty#bfb5ad8b = ChannelLocation; -channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation; - -peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated; - -restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason; - -inputTheme#3c5693e9 id:long access_hash:long = InputTheme; -inputThemeSlug#f5890df1 slug:string = InputTheme; - -theme#28f1114 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:int = Theme; - -account.themesNotModified#f41eb622 = account.Themes; -account.themes#7f676421 hash:int themes:Vector = account.Themes; - -auth.loginToken#629f1980 expires:int token:bytes = auth.LoginToken; -auth.loginTokenMigrateTo#68e9916 dc_id:int token:bytes = auth.LoginToken; -auth.loginTokenSuccess#390d5c5e authorization:auth.Authorization = auth.LoginToken; - -account.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?true sensitive_can_change:flags.1?true = account.ContentSettings; - -messages.inactiveChats#a927fec5 dates:Vector chats:Vector users:Vector = messages.InactiveChats; - -baseThemeClassic#c3a12462 = BaseTheme; -baseThemeDay#fbd81688 = BaseTheme; -baseThemeNight#b7b31ea8 = BaseTheme; -baseThemeTinted#6d5f77ee = BaseTheme; -baseThemeArctic#5b11125a = BaseTheme; - -inputThemeSettings#bd507cd1 flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings; - -themeSettings#9c14984a flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?WallPaper = ThemeSettings; - -webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector settings:flags.1?ThemeSettings = WebPageAttribute; - -messageUserVote#a28e5559 user_id:int option:bytes date:int = MessageUserVote; -messageUserVoteInputOption#36377430 user_id:int date:int = MessageUserVote; -messageUserVoteMultiple#e8fe0de user_id:int options:Vector date:int = MessageUserVote; - -messages.votesList#823f649 flags:# count:int votes:Vector users:Vector next_offset:flags.0?string = messages.VotesList; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; -auth.exportLoginToken#b1b41517 api_id:int api_hash:string except_ids:Vector = auth.LoginToken; -auth.importLoginToken#95ac5ce4 token:bytes = auth.LoginToken; -auth.acceptLoginToken#e894ad4d token:bytes = Authorization; - -account.registerDevice#68976c6f flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; -account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document; -account.createTheme#8432c21f flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme; -account.updateTheme#5cb367d5 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme; -account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool; -account.installTheme#7ae43737 flags:# dark:flags.0?true format:flags.1?string theme:flags.1?InputTheme = Bool; -account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme; -account.getThemes#285946f8 format:string hash:int = account.Themes; -account.setContentSettings#b574b16b flags:# sensitive_enabled:flags.0?true = Bool; -account.getContentSettings#8b9b4dae = account.ContentSettings; -account.getMultiWallPapers#65ad71dc wallpapers:Vector = Vector; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContacts#96a0e00 id:Vector = Updates; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; -contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates; -contacts.acceptContact#f831a20f id:InputUser = Updates; -contacts.getLocated#a356056 geo_point:InputGeoPoint = Updates; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#520c3870 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.sendMedia#3491eba9 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.forwardMessages#d9fee60e flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer schedule_date:flags.10?int = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0?int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#220815b0 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string schedule_date:flags.10?int = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#48f71778 flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.15?int = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#cc0110cb flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector schedule_date:flags.10?int = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; -messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages.Messages; -messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector = messages.Messages; -messages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector = Updates; -messages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector = Updates; -messages.getPollVotes#b86e380e flags:# peer:InputPeer id:int option:flags.0?bytes offset:flags.1?string limit:int = messages.VotesList; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#b15a9afc flags:# precise:flags.0?true cdn_supported:flags.1?true location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates; -channels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; -channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates; -channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool; -channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates; -channels.getInactiveChannels#11e831ee = messages.InactiveChats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; - -// LAYER 109 diff --git a/src/danog/MadelineProto/TL_telegram_v110.tl b/src/danog/MadelineProto/TL_telegram_v110.tl deleted file mode 100644 index 47831d38..00000000 --- a/src/danog/MadelineProto/TL_telegram_v110.tl +++ /dev/null @@ -1,1446 +0,0 @@ -int ? = Int; -long ? = Long; -double ? = Double; -string ? = String; - -bytes = Bytes; - -true#3fedd339 = True; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - ----types--- - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#abe9ca25 flags:# poll:Poll correct_answers:flags.0?Vector = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#938458c1 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#d31a961e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#2d895c74 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true can_set_location:flags.16?true has_scheduled:flags.19?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#452c0e65 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long restriction_reason:flags.22?Vector = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; -auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; -wallPaperNoFile#8af40b25 flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; -inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; - -userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; -updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update; -updatePeerLocated#b4afcfb0 peers:Vector = Update; -updateNewScheduledMessage#39a51dfb message:Message = Update; -updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector = Update; -updateTheme#8216fba3 theme:Theme = Update; -updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update; -updateLoginToken#564fe691 = Update; -updateMessagePollVote#42f88f2c poll_id:long user_id:int options:Vector = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; -inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; -privacyKeyAddedByPhone#42ffd42b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#e89c45b2 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; -inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; -keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; -messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity; -messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; -messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; -messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#808d15a4 flags:# user_id:int rank:flags.0?string = ChannelParticipant; -channelParticipantAdmin#ccbebbaf flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters; - -pollResults#c87024a2 flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int recent_voters:flags.3?Vector = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; -inputWallPaperNoFile#8427bbac = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#debebe83 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true = CodeSettings; - -wallPaperSettings#5086cf8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int intensity:flags.3?int rotation:flags.4?int = WallPaperSettings; - -autoDownloadSettings#e04232f3 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int video_upload_maxbitrate:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - -channelLocationEmpty#bfb5ad8b = ChannelLocation; -channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation; - -peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated; -peerSelfLocated#f8ec284b expires:int = PeerLocated; - -restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason; - -inputTheme#3c5693e9 id:long access_hash:long = InputTheme; -inputThemeSlug#f5890df1 slug:string = InputTheme; - -theme#28f1114 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:int = Theme; - -account.themesNotModified#f41eb622 = account.Themes; -account.themes#7f676421 hash:int themes:Vector = account.Themes; - -auth.loginToken#629f1980 expires:int token:bytes = auth.LoginToken; -auth.loginTokenMigrateTo#68e9916 dc_id:int token:bytes = auth.LoginToken; -auth.loginTokenSuccess#390d5c5e authorization:auth.Authorization = auth.LoginToken; - -account.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?true sensitive_can_change:flags.1?true = account.ContentSettings; - -messages.inactiveChats#a927fec5 dates:Vector chats:Vector users:Vector = messages.InactiveChats; - -baseThemeClassic#c3a12462 = BaseTheme; -baseThemeDay#fbd81688 = BaseTheme; -baseThemeNight#b7b31ea8 = BaseTheme; -baseThemeTinted#6d5f77ee = BaseTheme; -baseThemeArctic#5b11125a = BaseTheme; - -inputThemeSettings#bd507cd1 flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings; - -themeSettings#9c14984a flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?WallPaper = ThemeSettings; - -webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector settings:flags.1?ThemeSettings = WebPageAttribute; - -messageUserVote#a28e5559 user_id:int option:bytes date:int = MessageUserVote; -messageUserVoteInputOption#36377430 user_id:int date:int = MessageUserVote; -messageUserVoteMultiple#e8fe0de user_id:int options:Vector date:int = MessageUserVote; - -messages.votesList#823f649 flags:# count:int votes:Vector users:Vector next_offset:flags.0?string = messages.VotesList; - -bankCardOpenUrl#f568028a url:string name:string = BankCardOpenUrl; - -payments.bankCardData#3e24e573 title:string open_urls:Vector = payments.BankCardData; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; -auth.exportLoginToken#b1b41517 api_id:int api_hash:string except_ids:Vector = auth.LoginToken; -auth.importLoginToken#95ac5ce4 token:bytes = auth.LoginToken; -auth.acceptLoginToken#e894ad4d token:bytes = Authorization; - -account.registerDevice#68976c6f flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; -account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document; -account.createTheme#8432c21f flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme; -account.updateTheme#5cb367d5 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme; -account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool; -account.installTheme#7ae43737 flags:# dark:flags.0?true format:flags.1?string theme:flags.1?InputTheme = Bool; -account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme; -account.getThemes#285946f8 format:string hash:int = account.Themes; -account.setContentSettings#b574b16b flags:# sensitive_enabled:flags.0?true = Bool; -account.getContentSettings#8b9b4dae = account.ContentSettings; -account.getMultiWallPapers#65ad71dc wallpapers:Vector = Vector; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContacts#96a0e00 id:Vector = Updates; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; -contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates; -contacts.acceptContact#f831a20f id:InputUser = Updates; -contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoPoint self_expires:flags.0?int = Updates; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#520c3870 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.sendMedia#3491eba9 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.forwardMessages#d9fee60e flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer schedule_date:flags.10?int = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0?int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#220815b0 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string schedule_date:flags.10?int = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#48f71778 flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.15?int = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#cc0110cb flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector schedule_date:flags.10?int = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; -messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages.Messages; -messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector = messages.Messages; -messages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector = Updates; -messages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector = Updates; -messages.getPollVotes#b86e380e flags:# peer:InputPeer id:int option:flags.0?bytes offset:flags.1?string limit:int = messages.VotesList; -messages.toggleStickerSets#b5052fea flags:# uninstall:flags.0?true archive:flags.1?true unarchive:flags.2?true stickersets:Vector = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#b15a9afc flags:# precise:flags.0?true cdn_supported:flags.1?true location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates; -channels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; -channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates; -channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool; -channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates; -channels.getInactiveChannels#11e831ee = messages.InactiveChats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; -payments.getBankCardData#2e79d779 number:string = payments.BankCardData; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; diff --git a/src/danog/MadelineProto/TL_telegram_v111.tl b/src/danog/MadelineProto/TL_telegram_v111.tl deleted file mode 100644 index 8a87a442..00000000 --- a/src/danog/MadelineProto/TL_telegram_v111.tl +++ /dev/null @@ -1,1497 +0,0 @@ -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; -inputPeerUserFromMessage#17bae2e6 peer:InputPeer msg_id:int user_id:int = InputPeer; -inputPeerChannelFromMessage#9c95f7bb peer:InputPeer msg_id:int channel_id:int = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; -inputUserFromMessage#2d117597 peer:InputPeer msg_id:int user_id:int = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#abe9ca25 flags:# poll:Poll correct_answers:flags.0?Vector = InputMedia; -inputMediaDice#aeffa807 = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#938458c1 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#d31a961e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#1b7c9db3 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int = ChatFull; -channelFull#f0e6672a flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true can_set_location:flags.16?true has_scheduled:flags.19?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#452c0e65 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long restriction_reason:flags.22?Vector = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; -messageMediaDice#638fe46b value:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog; -dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; -auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; -wallPaperNoFile#8af40b25 flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; -inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; - -userFull#edf17c12 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#c8edce1e flags:# inexact:flags.1?true count:int next_rate:flags.0?int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#330b5424 flags:# folder_id:flags.0?int channel_id:int max_id:int still_unread_count:int pts:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = Update; -updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; -updateFolderPeers#19360dc0 folder_peers:Vector pts:int pts_count:int = Update; -updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update; -updatePeerLocated#b4afcfb0 peers:Vector = Update; -updateNewScheduledMessage#39a51dfb message:Message = Update; -updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector = Update; -updateTheme#8216fba3 theme:Theme = Update; -updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update; -updateLoginToken#564fe691 = Update; -updateMessagePollVote#42f88f2c poll_id:long user_id:int options:Vector = Update; -updateDialogFilter#26ffde7d flags:# id:int filter:flags.0?DialogFilter = Update; -updateDialogFilterOrder#a5d72105 order:Vector = Update; -updateDialogFilters#3504914f = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#330b4067 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# can_not_skip:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey; -inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; -privacyKeyPhoneNumber#d19ae46d = PrivacyKey; -privacyKeyAddedByPhone#42ffd42b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; -inputPrivacyValueAllowChatParticipants#4c81c1ba chats:Vector = InputPrivacyRule; -inputPrivacyValueDisallowChatParticipants#d82363af chats:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; -privacyValueAllowChatParticipants#18be796b chats:Vector = PrivacyRule; -privacyValueDisallowChatParticipants#acae0690 chats:Vector = PrivacyRule; - -account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#e89c45b2 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector = WebPage; -webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; -inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet; -inputStickerSetDice#79e21a53 = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; -keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButton; -inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; -keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; -messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity; -messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; -messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; -messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; -inputChannelFromMessage#2a286531 peer:InputPeer msg_id:int channel_id:int = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#808d15a4 flags:# user_id:int rank:flags.0?string = ChannelParticipant; -channelParticipantAdmin#ccbebbaf flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; -topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; -topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerificationNeeded#d8411139 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#fc878fc8 flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int library_versions:Vector = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; -inputDialogPeerFolder#64600527 folder_id:int = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; -dialogPeerFolder#514519e2 folder_id:int = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#98657f0d flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector views:flags.3?int = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters; - -pollResults#c87024a2 flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int recent_voters:flags.3?Vector = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; -inputWallPaperNoFile#8427bbac = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#debebe83 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true = CodeSettings; - -wallPaperSettings#5086cf8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int intensity:flags.3?int rotation:flags.4?int = WallPaperSettings; - -autoDownloadSettings#e04232f3 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int video_upload_maxbitrate:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - -folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = Folder; - -inputFolderPeer#fbd2c296 peer:InputPeer folder_id:int = InputFolderPeer; - -folderPeer#e9baa668 peer:Peer folder_id:int = FolderPeer; - -messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter; - -urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult; -urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult; -urlAuthResultDefault#a9d6db1f = UrlAuthResult; - -channelLocationEmpty#bfb5ad8b = ChannelLocation; -channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation; - -peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated; -peerSelfLocated#f8ec284b expires:int = PeerLocated; - -restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason; - -inputTheme#3c5693e9 id:long access_hash:long = InputTheme; -inputThemeSlug#f5890df1 slug:string = InputTheme; - -theme#28f1114 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:int = Theme; - -account.themesNotModified#f41eb622 = account.Themes; -account.themes#7f676421 hash:int themes:Vector = account.Themes; - -auth.loginToken#629f1980 expires:int token:bytes = auth.LoginToken; -auth.loginTokenMigrateTo#68e9916 dc_id:int token:bytes = auth.LoginToken; -auth.loginTokenSuccess#390d5c5e authorization:auth.Authorization = auth.LoginToken; - -account.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?true sensitive_can_change:flags.1?true = account.ContentSettings; - -messages.inactiveChats#a927fec5 dates:Vector chats:Vector users:Vector = messages.InactiveChats; - -baseThemeClassic#c3a12462 = BaseTheme; -baseThemeDay#fbd81688 = BaseTheme; -baseThemeNight#b7b31ea8 = BaseTheme; -baseThemeTinted#6d5f77ee = BaseTheme; -baseThemeArctic#5b11125a = BaseTheme; - -inputThemeSettings#bd507cd1 flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings; - -themeSettings#9c14984a flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?WallPaper = ThemeSettings; - -webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector settings:flags.1?ThemeSettings = WebPageAttribute; - -messageUserVote#a28e5559 user_id:int option:bytes date:int = MessageUserVote; -messageUserVoteInputOption#36377430 user_id:int date:int = MessageUserVote; -messageUserVoteMultiple#e8fe0de user_id:int options:Vector date:int = MessageUserVote; - -messages.votesList#823f649 flags:# count:int votes:Vector users:Vector next_offset:flags.0?string = messages.VotesList; - -bankCardOpenUrl#f568028a url:string name:string = BankCardOpenUrl; - -payments.bankCardData#3e24e573 title:string open_urls:Vector = payments.BankCardData; - -dialogFilter#7438f7e8 flags:# contacts:flags.0?true non_contacts:flags.1?true groups:flags.2?true broadcasts:flags.3?true bots:flags.4?true exclude_muted:flags.11?true exclude_read:flags.12?true exclude_archived:flags.13?true id:int title:string emoticon:flags.25?string pinned_peers:Vector include_peers:Vector exclude_peers:Vector = DialogFilter; - -dialogFilterSuggested#77744d4a filter:DialogFilter description:string = DialogFilterSuggested; - -statsDateRangeDays#b637edaf min_date:int max_date:int = StatsDateRangeDays; - -statsAbsValueAndPrev#cb43acde current:double previous:double = StatsAbsValueAndPrev; - -statsPercentValue#cbce2fe0 part:double total:double = StatsPercentValue; - -statsGraphAsync#4a27eb2d token:string = StatsGraph; -statsGraphError#bedc9822 error:string = StatsGraph; -statsGraph#8ea464b6 flags:# json:DataJSON zoom_token:flags.0?string = StatsGraph; - -messageInteractionCounters#ad4fc9bd msg_id:int views:int forwards:int = MessageInteractionCounters; - -stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph recent_message_interactions:Vector = stats.BroadcastStats; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; -auth.exportLoginToken#b1b41517 api_id:int api_hash:string except_ids:Vector = auth.LoginToken; -auth.importLoginToken#95ac5ce4 token:bytes = auth.LoginToken; -auth.acceptLoginToken#e894ad4d token:bytes = Authorization; - -account.registerDevice#68976c6f flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; -account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document; -account.createTheme#8432c21f flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme; -account.updateTheme#5cb367d5 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme; -account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool; -account.installTheme#7ae43737 flags:# dark:flags.0?true format:flags.1?string theme:flags.1?InputTheme = Bool; -account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme; -account.getThemes#285946f8 format:string hash:int = account.Themes; -account.setContentSettings#b574b16b flags:# sensitive_enabled:flags.0?true = Bool; -account.getContentSettings#8b9b4dae = account.ContentSettings; -account.getMultiWallPapers#65ad71dc wallpapers:Vector = Vector; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContacts#96a0e00 id:Vector = Updates; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; -contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string = Updates; -contacts.acceptContact#f831a20f id:InputUser = Updates; -contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoPoint self_expires:flags.0?int = Updates; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#a0ee3b73 flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#520c3870 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.sendMedia#3491eba9 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int = Updates; -messages.forwardMessages#d9fee60e flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer schedule_date:flags.10?int = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0?int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#220815b0 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string schedule_date:flags.10?int = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#48f71778 flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.15?int = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector = Bool; -messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#cc0110cb flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector schedule_date:flags.10?int = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector = Vector; -messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0?true peer:InputPeer msg_id:int button_id:int = UrlAuthResult; -messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; -messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages.Messages; -messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector = messages.Messages; -messages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector = Updates; -messages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector = Updates; -messages.getPollVotes#b86e380e flags:# peer:InputPeer id:int option:flags.0?bytes offset:flags.1?string limit:int = messages.VotesList; -messages.toggleStickerSets#b5052fea flags:# uninstall:flags.0?true archive:flags.1?true unarchive:flags.2?true stickersets:Vector = Bool; -messages.getDialogFilters#f19ed96d = Vector; -messages.getSuggestedDialogFilters#a29cd42c = Vector; -messages.updateDialogFilter#1ad4a04a flags:# id:int filter:flags.0?DialogFilter = Bool; -messages.updateDialogFiltersOrder#c563c1e4 order:Vector = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#b15a9afc flags:# precise:flags.0?true cdn_supported:flags.1?true location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#3d5fb10f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string = Updates; -channels.editAdmin#d33c8902 channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights rank:string = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; -channels.getGroupsForDiscussion#f5dad378 = messages.Chats; -channels.setDiscussionGroup#40582bb2 broadcast:InputChannel group:InputChannel = Bool; -channels.editCreator#8f38cd1f channel:InputChannel user_id:InputUser password:InputCheckPasswordSRP = Updates; -channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool; -channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates; -channels.getInactiveChannels#11e831ee = messages.InactiveChats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; -payments.getBankCardData#2e79d779 number:string = payments.BankCardData; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; -folders.deleteFolder#1c295881 folder_id:int = Updates; - -stats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats; -stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph; - -// LAYER 111 diff --git a/src/danog/MadelineProto/TL_telegram_v18.json b/src/danog/MadelineProto/TL_telegram_v18.json deleted file mode 100644 index 7da14697..00000000 --- a/src/danog/MadelineProto/TL_telegram_v18.json +++ /dev/null @@ -1,5295 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "270785512", - "predicate": "inputPeerContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1690012891", - "predicate": "inputPeerForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-2031530139", - "predicate": "inputUserContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputUser" - }, - { - "id": "1700689151", - "predicate": "inputUserForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "767900285", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - } - ], - "type": "InputMedia" - }, - { - "id": "-1893027092", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "322623222", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1726817601", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2130852582", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1879553105", - "predicate": "userSelf", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - }, - { - "name": "inactive", - "type": "Bool" - } - ], - "type": "User" - }, - { - "id": "-894214632", - "predicate": "userContact", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-640891665", - "predicate": "userRequest", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "123533224", - "predicate": "userForeign", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-704549510", - "predicate": "userDeleted", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1855757255", - "predicate": "chat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "left", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-83047359", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1661886910", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "265468810", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "2017571861", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "1450613171", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "Message" - }, - { - "id": "-1553471722", - "predicate": "messageForwarded", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "int" - }, - { - "name": "fwd_date", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "Message" - }, - { - "id": "495384334", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-926655958", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1563278704", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "694364726", - "predicate": "messageMediaUnsupported", - "params": [ - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1422222932", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "582313809", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "948937617", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-486486981", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_invited", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-155815004", - "predicate": "auth.authorization", - "params": [ - { - "name": "expires", - "type": "int" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1997575642", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "real_first_name", - "type": "string" - }, - { - "name": "real_last_name", - "type": "string" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-1434994573", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "expires", - "type": "int" - } - ], - "type": "ContactStatus" - }, - { - "id": "322183672", - "predicate": "contacts.foreignLinkUnknown", - "params": [], - "type": "contacts.ForeignLink" - }, - { - "id": "-1484775609", - "predicate": "contacts.foreignLinkRequested", - "params": [ - { - "name": "has_phone", - "type": "Bool" - } - ], - "type": "contacts.ForeignLink" - }, - { - "id": "468356321", - "predicate": "contacts.foreignLinkMutual", - "params": [], - "type": "contacts.ForeignLink" - }, - { - "id": "-768992160", - "predicate": "contacts.myLinkEmpty", - "params": [], - "type": "contacts.MyLink" - }, - { - "id": "1818882030", - "predicate": "contacts.myLinkRequested", - "params": [ - { - "name": "contact", - "type": "Bool" - } - ], - "type": "contacts.MyLink" - }, - { - "id": "-1035932711", - "predicate": "contacts.myLinkContact", - "params": [], - "type": "contacts.MyLink" - }, - { - "id": "-322001931", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "contacts.MyLink" - }, - { - "name": "foreign_link", - "type": "contacts.ForeignLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1768654661", - "predicate": "messages.statedMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "-797251802", - "predicate": "messages.statedMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-772484260", - "predicate": "messages.sentMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "-2125411368", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1210173710", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "20626867", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-966484431", - "predicate": "updateReadMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1456734682", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1369737882", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "contacts.MyLink" - }, - { - "name": "foreign_link", - "type": "contacts.ForeignLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-738961532", - "predicate": "updateShortMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "724548942", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "784507964", - "predicate": "dcOption", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "hostname", - "type": "string" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "777313652", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "broadcast_size_max", - "type": "int" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1047852486", - "predicate": "messages.statedMessagesLinks", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "-1448138623", - "predicate": "messages.statedMessageLink", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-371504577", - "predicate": "messages.sentMessageLink", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "links", - "type": "Vector" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "974056226", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "887592125", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "file_name", - "type": "string" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "1044831837", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "file_name", - "type": "string" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-945003370", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-1627626714", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "file_name", - "type": "string" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1845219337", - "predicate": "sendMessageUploadVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-424899985", - "predicate": "sendMessageUploadAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1727382502", - "predicate": "sendMessageUploadPhotoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1884362354", - "predicate": "sendMessageUploadDocumentAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-360210539", - "predicate": "contactFound", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ContactFound" - }, - { - "id": "90570766", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-321970698", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1834885329", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "132772523", - "method": "messages.search", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-287800122", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "read_contents", - "type": "Bool" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-185009311", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "351460618", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "682347368", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "1289620139", - "method": "messages.sendMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "-1547149962", - "method": "messages.sendMedia", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1363988751", - "method": "messages.forwardMessages", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1262720843", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-662601187", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "787082910", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-1010447069", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1100847854", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1209117380", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "66319602", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1102776690", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "894131138", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "479200567", - "method": "invokeWithLayer18", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v23.json b/src/danog/MadelineProto/TL_telegram_v23.json deleted file mode 100644 index b2ea36a4..00000000 --- a/src/danog/MadelineProto/TL_telegram_v23.json +++ /dev/null @@ -1,5826 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "270785512", - "predicate": "inputPeerContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1690012891", - "predicate": "inputPeerForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-2031530139", - "predicate": "inputUserContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputUser" - }, - { - "id": "1700689151", - "predicate": "inputUserForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "767900285", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - } - ], - "type": "InputMedia" - }, - { - "id": "-1893027092", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "322623222", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1726817601", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2130852582", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1879553105", - "predicate": "userSelf", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - }, - { - "name": "inactive", - "type": "Bool" - } - ], - "type": "User" - }, - { - "id": "-894214632", - "predicate": "userContact", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-640891665", - "predicate": "userRequest", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "123533224", - "predicate": "userForeign", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-704549510", - "predicate": "userDeleted", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1855757255", - "predicate": "chat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "left", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-83047359", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1661886910", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "265468810", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "2017571861", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "1450613171", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "Message" - }, - { - "id": "-1553471722", - "predicate": "messageForwarded", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "int" - }, - { - "name": "fwd_date", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "Message" - }, - { - "id": "495384334", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-926655958", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1563278704", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "694364726", - "predicate": "messageMediaUnsupported", - "params": [ - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1422222932", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "582313809", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "948937617", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-486486981", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_invited", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-155815004", - "predicate": "auth.authorization", - "params": [ - { - "name": "expires", - "type": "int" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1490799288", - "predicate": "inputReportReasonSpam", - "params": [], - "type": "ReportReason" - }, - { - "id": "505595789", - "predicate": "inputReportReasonViolence", - "params": [], - "type": "ReportReason" - }, - { - "id": "777640226", - "predicate": "inputReportReasonPornography", - "params": [], - "type": "ReportReason" - }, - { - "id": "-512463606", - "predicate": "inputReportReasonOther", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "ReportReason" - }, - { - "id": "1997575642", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "real_first_name", - "type": "string" - }, - { - "name": "real_last_name", - "type": "string" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "322183672", - "predicate": "contacts.foreignLinkUnknown", - "params": [], - "type": "contacts.ForeignLink" - }, - { - "id": "-1484775609", - "predicate": "contacts.foreignLinkRequested", - "params": [ - { - "name": "has_phone", - "type": "Bool" - } - ], - "type": "contacts.ForeignLink" - }, - { - "id": "468356321", - "predicate": "contacts.foreignLinkMutual", - "params": [], - "type": "contacts.ForeignLink" - }, - { - "id": "-768992160", - "predicate": "contacts.myLinkEmpty", - "params": [], - "type": "contacts.MyLink" - }, - { - "id": "1818882030", - "predicate": "contacts.myLinkRequested", - "params": [ - { - "name": "contact", - "type": "Bool" - } - ], - "type": "contacts.MyLink" - }, - { - "id": "-1035932711", - "predicate": "contacts.myLinkContact", - "params": [], - "type": "contacts.MyLink" - }, - { - "id": "-322001931", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "contacts.MyLink" - }, - { - "name": "foreign_link", - "type": "contacts.ForeignLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1768654661", - "predicate": "messages.statedMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "-797251802", - "predicate": "messages.statedMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-772484260", - "predicate": "messages.sentMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "-2125411368", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1210173710", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-3644025", - "predicate": "inputMessagesFilterGif", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "20626867", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-966484431", - "predicate": "updateReadMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1456734682", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1369737882", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "contacts.MyLink" - }, - { - "name": "foreign_link", - "type": "contacts.ForeignLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-738961532", - "predicate": "updateShortMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "724548942", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "784507964", - "predicate": "dcOption", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "hostname", - "type": "string" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "2108568544", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "broadcast_size_max", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1047852486", - "predicate": "messages.statedMessagesLinks", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "-1448138623", - "predicate": "messages.statedMessageLink", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-371504577", - "predicate": "messages.sentMessageLink", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "links", - "type": "Vector" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "974056226", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-945003370", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1845219337", - "predicate": "sendMessageUploadVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-424899985", - "predicate": "sendMessageUploadAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1727382502", - "predicate": "sendMessageUploadPhotoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1884362354", - "predicate": "sendMessageUploadDocumentAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-360210539", - "predicate": "contactFound", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ContactFound" - }, - { - "id": "90570766", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "-83208409", - "predicate": "documentAttributeSticker", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "85215461", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-588304126", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "-1374118561", - "method": "account.reportPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reason", - "type": "ReportReason" - } - ], - "type": "Bool" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-321970698", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1834885329", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "132772523", - "method": "messages.search", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-287800122", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "read_contents", - "type": "Bool" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-185009311", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "351460618", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "682347368", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "1289620139", - "method": "messages.sendMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "-1547149962", - "method": "messages.sendMedia", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1363988751", - "method": "messages.forwardMessages", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1262720843", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-662601187", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "787082910", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-1010447069", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1100847854", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1209117380", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "66319602", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1102776690", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "894131138", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "200282908", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v25.json b/src/danog/MadelineProto/TL_telegram_v25.json deleted file mode 100644 index 09dc4974..00000000 --- a/src/danog/MadelineProto/TL_telegram_v25.json +++ /dev/null @@ -1,6424 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "270785512", - "predicate": "inputPeerContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1690012891", - "predicate": "inputPeerForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-2031530139", - "predicate": "inputUserContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputUser" - }, - { - "id": "1700689151", - "predicate": "inputUserForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "767900285", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - } - ], - "type": "InputMedia" - }, - { - "id": "-1893027092", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "322623222", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1726817601", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2130852582", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "476112392", - "predicate": "userSelf", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-894214632", - "predicate": "userContact", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-640891665", - "predicate": "userRequest", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "123533224", - "predicate": "userForeign", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-704549510", - "predicate": "userDeleted", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1855757255", - "predicate": "chat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "left", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-83047359", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1661886910", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "265468810", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "2017571861", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "-1481959023", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "Message" - }, - { - "id": "495384334", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-926655958", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1563278704", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "582313809", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "948937617", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-155815004", - "predicate": "auth.authorization", - "params": [ - { - "name": "expires", - "type": "int" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1997575642", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "real_first_name", - "type": "string" - }, - { - "name": "real_last_name", - "type": "string" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "909233996", - "predicate": "chatLocated", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "distance", - "type": "int" - } - ], - "type": "ChatLocated" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1062078024", - "predicate": "messages.messageEmpty", - "params": [], - "type": "messages.Message" - }, - { - "id": "131615560", - "predicate": "messages.statedMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "-1776022422", - "predicate": "messages.statedMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-1878086592", - "predicate": "messages.sentMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "777696872", - "predicate": "updateReadMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-312729305", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - } - ], - "type": "Updates" - }, - { - "id": "1378061116", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "784507964", - "predicate": "dcOption", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "hostname", - "type": "string" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1047491370", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "broadcast_size_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1371430169", - "predicate": "messages.statedMessagesLinks", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "155755144", - "predicate": "messages.statedMessageLink", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-383565811", - "predicate": "messages.sentMessageLink", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1960072954", - "predicate": "inputGeoChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputGeoChat" - }, - { - "id": "1301143240", - "predicate": "inputNotifyGeoChatPeer", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "1978329690", - "predicate": "geoChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "checked_in", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1613830811", - "predicate": "geoChatMessageEmpty", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "1158019297", - "predicate": "geoChatMessage", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "-749755826", - "predicate": "geoChatMessageService", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "397498251", - "predicate": "geochats.statedMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1224651367", - "predicate": "geochats.located", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Located" - }, - { - "id": "-783127119", - "predicate": "geochats.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1135057944", - "predicate": "geochats.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1862504124", - "predicate": "messageActionGeoChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "209540062", - "predicate": "messageActionGeoChatCheckin", - "params": [], - "type": "MessageAction" - }, - { - "id": "1516823543", - "predicate": "updateNewGeoChatMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - } - ], - "type": "Update" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "974056226", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-945003370", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1845219337", - "predicate": "sendMessageUploadVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-424899985", - "predicate": "sendMessageUploadAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1727382502", - "predicate": "sendMessageUploadPhotoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1884362354", - "predicate": "sendMessageUploadDocumentAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-360210539", - "predicate": "contactFound", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ContactFound" - }, - { - "id": "90570766", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1467017129", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - } - ], - "type": "account.Password" - }, - { - "id": "1939758962", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "-1723033470", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "85215461", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-588304126", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-321970698", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1834885329", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "132772523", - "method": "messages.search", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1336990448", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-185009311", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "682347368", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "480793249", - "method": "messages.sendMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "-51478592", - "method": "messages.sendMedia", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-556523451", - "method": "messages.forwardMessages", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1262720843", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-662601187", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "787082910", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-1010447069", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1100847854", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1209117380", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "66319602", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.StatedMessage" - }, - { - "id": "1102776690", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "2132356495", - "method": "geochats.getLocated", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "radius", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Located" - }, - { - "id": "-515735953", - "method": "geochats.getRecents", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1437853947", - "method": "geochats.checkin", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1730338159", - "method": "geochats.getFullChat", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "1284383347", - "method": "geochats.editChatTitle", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "903355029", - "method": "geochats.editChatPhoto", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-808598451", - "method": "geochats.search", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1254131096", - "method": "geochats.getHistory", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "146319145", - "method": "geochats.setTyping", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "102432836", - "method": "geochats.sendMessage", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-1192173825", - "method": "geochats.sendMedia", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "235482646", - "method": "geochats.createGeoChat", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "200282908", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-584430193", - "method": "account.setPassword", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "new_password_hash", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v27.json b/src/danog/MadelineProto/TL_telegram_v27.json deleted file mode 100644 index f06a1676..00000000 --- a/src/danog/MadelineProto/TL_telegram_v27.json +++ /dev/null @@ -1,6618 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "270785512", - "predicate": "inputPeerContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1690012891", - "predicate": "inputPeerForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-2031530139", - "predicate": "inputUserContact", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "InputUser" - }, - { - "id": "1700689151", - "predicate": "inputUserForeign", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "767900285", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - } - ], - "type": "InputMedia" - }, - { - "id": "-1893027092", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "322623222", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1726817601", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2130852582", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "476112392", - "predicate": "userSelf", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-894214632", - "predicate": "userContact", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-640891665", - "predicate": "userRequest", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "123533224", - "predicate": "userForeign", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "User" - }, - { - "id": "-704549510", - "predicate": "userDeleted", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1855757255", - "predicate": "chat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "left", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-83047359", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1661886910", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "265468810", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "2017571861", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "-1481959023", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "Message" - }, - { - "id": "495384334", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-926655958", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1563278704", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "582313809", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "948937617", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-155815004", - "predicate": "auth.authorization", - "params": [ - { - "name": "expires", - "type": "int" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1997575642", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "real_first_name", - "type": "string" - }, - { - "name": "real_last_name", - "type": "string" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "909233996", - "predicate": "chatLocated", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "distance", - "type": "int" - } - ], - "type": "ChatLocated" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1062078024", - "predicate": "messages.messageEmpty", - "params": [], - "type": "messages.Message" - }, - { - "id": "1279084531", - "predicate": "messages.sentMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "777696872", - "predicate": "updateReadMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-312729305", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - } - ], - "type": "Updates" - }, - { - "id": "1378061116", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "784507964", - "predicate": "dcOption", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "hostname", - "type": "string" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1757069895", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "broadcast_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "899786339", - "predicate": "messages.sentMessageLink", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1960072954", - "predicate": "inputGeoChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputGeoChat" - }, - { - "id": "1301143240", - "predicate": "inputNotifyGeoChatPeer", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "1978329690", - "predicate": "geoChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "checked_in", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1613830811", - "predicate": "geoChatMessageEmpty", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "1158019297", - "predicate": "geoChatMessage", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "-749755826", - "predicate": "geoChatMessageService", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "397498251", - "predicate": "geochats.statedMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1224651367", - "predicate": "geochats.located", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Located" - }, - { - "id": "-783127119", - "predicate": "geochats.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1135057944", - "predicate": "geochats.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1862504124", - "predicate": "messageActionGeoChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "209540062", - "predicate": "messageActionGeoChatCheckin", - "params": [], - "type": "MessageAction" - }, - { - "id": "1516823543", - "predicate": "updateNewGeoChatMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - } - ], - "type": "Update" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "974056226", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-945003370", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1845219337", - "predicate": "sendMessageUploadVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-424899985", - "predicate": "sendMessageUploadAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1727382502", - "predicate": "sendMessageUploadPhotoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1884362354", - "predicate": "sendMessageUploadDocumentAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-360210539", - "predicate": "contactFound", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ContactFound" - }, - { - "id": "90570766", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "-1723033470", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "85215461", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-588304126", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "751004017", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-1558273867", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-321970698", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1834885329", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "132772523", - "method": "messages.search", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1336990448", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-185009311", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "682347368", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-1696755930", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "762913713", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "1440838285", - "method": "messages.forwardMessages", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1209117380", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "2132356495", - "method": "geochats.getLocated", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "radius", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Located" - }, - { - "id": "-515735953", - "method": "geochats.getRecents", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1437853947", - "method": "geochats.checkin", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1730338159", - "method": "geochats.getFullChat", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "1284383347", - "method": "geochats.editChatTitle", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "903355029", - "method": "geochats.editChatPhoto", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-808598451", - "method": "geochats.search", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1254131096", - "method": "geochats.getHistory", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "146319145", - "method": "geochats.setTyping", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "102432836", - "method": "geochats.sendMessage", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-1192173825", - "method": "geochats.sendMedia", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "235482646", - "method": "geochats.createGeoChat", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "200282908", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v33.json b/src/danog/MadelineProto/TL_telegram_v33.json deleted file mode 100644 index 07473eed..00000000 --- a/src/danog/MadelineProto/TL_telegram_v33.json +++ /dev/null @@ -1,7001 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-515910468", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1761896484", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1855757255", - "predicate": "chat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "left", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-83047359", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "265468810", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "2017571861", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "-1023016155", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - } - ], - "type": "Message" - }, - { - "id": "495384334", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1518971995", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "bot_info", - "type": "BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "909233996", - "predicate": "chatLocated", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "distance", - "type": "int" - } - ], - "type": "ChatLocated" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1062078024", - "predicate": "messages.messageEmpty", - "params": [], - "type": "messages.Message" - }, - { - "id": "1279084531", - "predicate": "messages.sentMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-312729305", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - } - ], - "type": "Updates" - }, - { - "id": "1378061116", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1311946900", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "broadcast_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "899786339", - "predicate": "messages.sentMessageLink", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "links", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "1960072954", - "predicate": "inputGeoChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputGeoChat" - }, - { - "id": "1301143240", - "predicate": "inputNotifyGeoChatPeer", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "1978329690", - "predicate": "geoChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "checked_in", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1613830811", - "predicate": "geoChatMessageEmpty", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "1158019297", - "predicate": "geoChatMessage", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "-749755826", - "predicate": "geoChatMessageService", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "397498251", - "predicate": "geochats.statedMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1224651367", - "predicate": "geochats.located", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Located" - }, - { - "id": "-783127119", - "predicate": "geochats.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1135057944", - "predicate": "geochats.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1862504124", - "predicate": "messageActionGeoChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "209540062", - "predicate": "messageActionGeoChatCheckin", - "params": [], - "type": "MessageAction" - }, - { - "id": "1516823543", - "predicate": "updateNewGeoChatMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - } - ], - "type": "Update" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "974056226", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-102543275", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-360210539", - "predicate": "contactFound", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ContactFound" - }, - { - "id": "90570766", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-556656416", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "performer", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-719474725", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "751004017", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-1558273867", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-829325875", - "predicate": "chatInvite", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "585404530", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-321970698", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1834885329", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "132772523", - "method": "messages.search", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1336990448", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-185009311", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-61479243", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "messages.SentMessage" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1440838285", - "method": "messages.forwardMessages", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "2132356495", - "method": "geochats.getLocated", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "radius", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Located" - }, - { - "id": "-515735953", - "method": "geochats.getRecents", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1437853947", - "method": "geochats.checkin", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1730338159", - "method": "geochats.getFullChat", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "1284383347", - "method": "geochats.editChatTitle", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "903355029", - "method": "geochats.editChatPhoto", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-808598451", - "method": "geochats.search", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1254131096", - "method": "geochats.getHistory", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "146319145", - "method": "geochats.setTyping", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "102432836", - "method": "geochats.sendMessage", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-1192173825", - "method": "geochats.sendMedia", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "235482646", - "method": "geochats.createGeoChat", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "200282908", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "457052156", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v38.json b/src/danog/MadelineProto/TL_telegram_v38.json deleted file mode 100644 index 7d452f90..00000000 --- a/src/danog/MadelineProto/TL_telegram_v38.json +++ /dev/null @@ -1,7862 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-2106507297", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2004934137", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1930607688", - "predicate": "chat", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "120753115", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-57668565", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "self_participant", - "type": "flags.0?ChatParticipant" - } - ], - "type": "ChatParticipants" - }, - { - "id": "2017571861", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "1537633299", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - }, - { - "name": "views", - "type": "flags.10?int" - } - ], - "type": "Message" - }, - { - "id": "-1066691065", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1518971995", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "bot_info", - "type": "BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-136766906", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-892863022", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1311946900", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "broadcast_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-364179876", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-102543275", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "446822276", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-556656416", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "performer", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-719474725", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "2139689491", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-1813406880", - "predicate": "chatInvite", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "585404530", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-292807034", - "predicate": "inputChannelEmpty", - "params": [], - "type": "InputChannel" - }, - { - "id": "-1343524562", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChannel" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "1737397639", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "username", - "type": "flags.6?string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "763724588", - "predicate": "channelForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "2131196633", - "predicate": "contacts.resolvedPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-88925533", - "predicate": "channelFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "participants_count", - "type": "flags.0?int" - }, - { - "name": "admins_count", - "type": "flags.1?int" - }, - { - "name": "kicked_count", - "type": "flags.2?int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - } - ], - "type": "ChatFull" - }, - { - "id": "1535415986", - "predicate": "dialogChannel", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Dialog" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-399216813", - "predicate": "messageGroup", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "MessageGroup" - }, - { - "id": "-1139861572", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "collapsed", - "type": "flags.0?Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "1620337698", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1227598250", - "predicate": "updateChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1016324548", - "predicate": "updateChannelGroup", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "group", - "type": "MessageGroup" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1108669311", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1015733815", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1734268085", - "predicate": "updateChannelMessageViews", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "views", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1578530374", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - }, - { - "id": "-100588754", - "predicate": "channelMessagesFilterCollapsed", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "367766557", - "predicate": "channelParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1557620115", - "predicate": "channelParticipantSelf", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1861910545", - "predicate": "channelParticipantModerator", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1743180447", - "predicate": "channelParticipantEditor", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1933187430", - "predicate": "channelParticipantKicked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "kicked_by", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-471670279", - "predicate": "channelParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-566281095", - "predicate": "channelParticipantsRecent", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1268741783", - "predicate": "channelParticipantsAdmins", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "1010285434", - "predicate": "channelParticipantsKicked", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1299865402", - "predicate": "channelRoleEmpty", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-1776756363", - "predicate": "channelRoleModerator", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-2113143156", - "predicate": "channelRoleEditor", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-177282392", - "predicate": "channels.channelParticipants", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "-791039645", - "predicate": "channels.channelParticipant", - "params": [ - { - "name": "participant", - "type": "ChannelParticipant" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipant" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-2053423812", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1970355494", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-732523960", - "method": "messages.search", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1336990448", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-185009311", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1888354709", - "method": "messages.forwardMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "from_peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "to_peer", - "type": "InputPeer" - } - ], - "type": "Updates" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-113456221", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "457052156", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-993483427", - "method": "messages.getMessagesViews", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "increment", - "type": "Bool" - } - ], - "type": "Vector" - }, - { - "id": "-1445735863", - "method": "channels.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-575067701", - "method": "channels.getImportantHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-871347913", - "method": "channels.readHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-2067661490", - "method": "channels.deleteMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-787622117", - "method": "channels.deleteUserHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-32999408", - "method": "channels.reportSpam", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1814580409", - "method": "channels.getMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "618237842", - "method": "channels.getParticipants", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelParticipantsFilter" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "1416484774", - "method": "channels.getParticipant", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "176122811", - "method": "channels.getChannels", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "141781513", - "method": "channels.getFullChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "1428281412", - "method": "channels.createChannel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "333610782", - "method": "channels.editAbout", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1387358562", - "method": "channels.editAdmin", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "role", - "type": "ChannelParticipantRole" - } - ], - "type": "Bool" - }, - { - "id": "1450044624", - "method": "channels.editTitle", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-248621111", - "method": "channels.editPhoto", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-1432183160", - "method": "channels.toggleComments", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "283557164", - "method": "channels.checkUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "890549214", - "method": "channels.updateUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "615851205", - "method": "channels.joinChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-130635115", - "method": "channels.leaveChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "429865580", - "method": "channels.inviteToChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "-1502421484", - "method": "channels.kickFromChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "kicked", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-950663035", - "method": "channels.exportInvite", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "-1072619549", - "method": "channels.deleteChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-1154295872", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v40.json b/src/danog/MadelineProto/TL_telegram_v40.json deleted file mode 100644 index 9107764f..00000000 --- a/src/danog/MadelineProto/TL_telegram_v40.json +++ /dev/null @@ -1,7209 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-2106507297", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2004934137", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1855757255", - "predicate": "chat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "left", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-83047359", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "265468810", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "2017571861", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "-1421842653", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Message" - }, - { - "id": "-1066691065", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1518971995", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "bot_info", - "type": "BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "1060296792", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-113206467", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?int" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1311946900", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "broadcast_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "974056226", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-102543275", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-360210539", - "predicate": "contactFound", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ContactFound" - }, - { - "id": "90570766", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-556656416", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "performer", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-719474725", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "751004017", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-829325875", - "predicate": "chatInvite", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "585404530", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-637586372", - "predicate": "inputChatEmpty", - "params": [], - "type": "InputChat" - }, - { - "id": "1134934467", - "predicate": "inputChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputChat" - }, - { - "id": "818335347", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChat" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-1917119391", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-343274136", - "predicate": "channelFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - } - ], - "type": "ChatFull" - }, - { - "id": "1535415986", - "predicate": "dialogChannel", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Dialog" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-399216813", - "predicate": "messageGroup", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "MessageGroup" - }, - { - "id": "-1139861572", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "collapsed", - "type": "flags.0?Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "1620337698", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2017952899", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "299511878", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1578530374", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-2053423812", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-505490651", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "132772523", - "method": "messages.search", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1336990448", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-185009311", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1440838285", - "method": "messages.forwardMessages", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "41608795", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "57298430", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "InputChat" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "1721357574", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "InputChat" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-579504755", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "InputChat" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-2121169932", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "InputChat" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1819099025", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "InputChat" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "200282908", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1033305414", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "InputChat" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "-187955923", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "chat_id", - "type": "InputChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1838639741", - "method": "messages.getChannelDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "632812466", - "method": "messages.getImportantHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "916529422", - "method": "messages.readChannelHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-641966126", - "method": "messages.createChannel", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-1718245297", - "method": "messages.deleteChannelMessages", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "613086453", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v41.json b/src/danog/MadelineProto/TL_telegram_v41.json deleted file mode 100644 index b0e22cd6..00000000 --- a/src/danog/MadelineProto/TL_telegram_v41.json +++ /dev/null @@ -1,8343 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-2106507297", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2004934137", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-652419756", - "predicate": "chat", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "admins_enabled", - "type": "flags.3?true" - }, - { - "name": "admin", - "type": "flags.4?true" - }, - { - "name": "deactivated", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "migrated_to", - "type": "flags.6?InputChannel" - } - ], - "type": "Chat" - }, - { - "id": "120753115", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-57668565", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "self_participant", - "type": "flags.0?ChatParticipant" - } - ], - "type": "ChatParticipants" - }, - { - "id": "1061556205", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "1537633299", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - }, - { - "name": "views", - "type": "flags.10?int" - } - ], - "type": "Message" - }, - { - "id": "-1066691065", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1581055051", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1518971995", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "bot_info", - "type": "BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-136766906", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-892863022", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ipv6", - "type": "flags.0?true" - }, - { - "name": "media_only", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1823925854", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "megagroup_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-364179876", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-102543275", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "446822276", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-556656416", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "performer", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-719474725", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "2139689491", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-1813406880", - "predicate": "chatInvite", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel", - "type": "flags.0?true" - }, - { - "name": "broadcast", - "type": "flags.1?true" - }, - { - "name": "public", - "type": "flags.2?true" - }, - { - "name": "megagroup", - "type": "flags.3?true" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "installed", - "type": "flags.0?true" - }, - { - "name": "disabled", - "type": "flags.1?true" - }, - { - "name": "official", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "585404530", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "self", - "type": "flags.10?true" - }, - { - "name": "contact", - "type": "flags.11?true" - }, - { - "name": "mutual_contact", - "type": "flags.12?true" - }, - { - "name": "deleted", - "type": "flags.13?true" - }, - { - "name": "bot", - "type": "flags.14?true" - }, - { - "name": "bot_chat_history", - "type": "flags.15?true" - }, - { - "name": "bot_nochats", - "type": "flags.16?true" - }, - { - "name": "verified", - "type": "flags.17?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "resize", - "type": "flags.0?true" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-292807034", - "predicate": "inputChannelEmpty", - "params": [], - "type": "InputChannel" - }, - { - "id": "-1343524562", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChannel" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "1737397639", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "editor", - "type": "flags.3?true" - }, - { - "name": "moderator", - "type": "flags.4?true" - }, - { - "name": "broadcast", - "type": "flags.5?true" - }, - { - "name": "verified", - "type": "flags.7?true" - }, - { - "name": "megagroup", - "type": "flags.8?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "username", - "type": "flags.6?string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "763724588", - "predicate": "channelForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "2131196633", - "predicate": "contacts.resolvedPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1640751649", - "predicate": "channelFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "can_view_participants", - "type": "flags.3?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "participants_count", - "type": "flags.0?int" - }, - { - "name": "admins_count", - "type": "flags.1?int" - }, - { - "name": "kicked_count", - "type": "flags.2?int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - }, - { - "name": "migrated_from_chat_id", - "type": "flags.4?int" - }, - { - "name": "migrated_from_max_id", - "type": "flags.4?int" - } - ], - "type": "ChatFull" - }, - { - "id": "1535415986", - "predicate": "dialogChannel", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Dialog" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-399216813", - "predicate": "messageGroup", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "MessageGroup" - }, - { - "id": "-1139861572", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "collapsed", - "type": "flags.0?Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "1620337698", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1227598250", - "predicate": "updateChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1016324548", - "predicate": "updateChannelGroup", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "group", - "type": "MessageGroup" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1108669311", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1015733815", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1734268085", - "predicate": "updateChannelMessageViews", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "views", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1578530374", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - }, - { - "id": "-100588754", - "predicate": "channelMessagesFilterCollapsed", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "367766557", - "predicate": "channelParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1557620115", - "predicate": "channelParticipantSelf", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1861910545", - "predicate": "channelParticipantModerator", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1743180447", - "predicate": "channelParticipantEditor", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1933187430", - "predicate": "channelParticipantKicked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "kicked_by", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-471670279", - "predicate": "channelParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-566281095", - "predicate": "channelParticipantsRecent", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1268741783", - "predicate": "channelParticipantsAdmins", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "1010285434", - "predicate": "channelParticipantsKicked", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1299865402", - "predicate": "channelRoleEmpty", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-1776756363", - "predicate": "channelRoleModerator", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-2113143156", - "predicate": "channelRoleEditor", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-177282392", - "predicate": "channels.channelParticipants", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "-791039645", - "predicate": "channels.channelParticipant", - "params": [ - { - "name": "participant", - "type": "ChannelParticipant" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "-636267638", - "predicate": "chatParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-489233354", - "predicate": "chatParticipantAdmin", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "1855224129", - "predicate": "updateChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1232070311", - "predicate": "updateChatParticipantAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "is_admin", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1371385889", - "predicate": "messageActionChatMigrateTo", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1689067688", - "predicate": "messageActionChatDeactivate", - "params": [], - "type": "MessageAction" - }, - { - "id": "1085115570", - "predicate": "messageActionChatActivate", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1336546578", - "predicate": "messageActionChannelMigrateFrom", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "chat_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1328445861", - "predicate": "channelParticipantsBots", - "params": [], - "type": "ChannelParticipantsFilter" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-2053423812", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1970355494", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-732523960", - "method": "messages.search", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "238054714", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-1212072999", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1888354709", - "method": "messages.forwardMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "from_peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "to_peer", - "type": "InputPeer" - } - ], - "type": "Updates" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-113456221", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "-421563528", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-993483427", - "method": "messages.getMessagesViews", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "increment", - "type": "Bool" - } - ], - "type": "Vector" - }, - { - "id": "-1445735863", - "method": "channels.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-575067701", - "method": "channels.getImportantHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-871347913", - "method": "channels.readHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-2067661490", - "method": "channels.deleteMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-787622117", - "method": "channels.deleteUserHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-32999408", - "method": "channels.reportSpam", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1814580409", - "method": "channels.getMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "618237842", - "method": "channels.getParticipants", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelParticipantsFilter" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "1416484774", - "method": "channels.getParticipant", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "176122811", - "method": "channels.getChannels", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "141781513", - "method": "channels.getFullChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-192332417", - "method": "channels.createChannel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.0?true" - }, - { - "name": "megagroup", - "type": "flags.1?true" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "333610782", - "method": "channels.editAbout", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1387358562", - "method": "channels.editAdmin", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "role", - "type": "ChannelParticipantRole" - } - ], - "type": "Bool" - }, - { - "id": "1450044624", - "method": "channels.editTitle", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-248621111", - "method": "channels.editPhoto", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-1432183160", - "method": "channels.toggleComments", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "283557164", - "method": "channels.checkUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "890549214", - "method": "channels.updateUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "615851205", - "method": "channels.joinChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-130635115", - "method": "channels.leaveChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "429865580", - "method": "channels.inviteToChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "-1502421484", - "method": "channels.kickFromChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "kicked", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-950663035", - "method": "channels.exportInvite", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "-1072619549", - "method": "channels.deleteChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-1154295872", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-326379039", - "method": "messages.toggleChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1444503762", - "method": "messages.editChatAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "is_admin", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "1651444545", - "method": "messages.deactivateChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "363051235", - "method": "messages.migrateChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1640190800", - "method": "messages.searchGlobal", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v42.json b/src/danog/MadelineProto/TL_telegram_v42.json deleted file mode 100644 index e8e0524e..00000000 --- a/src/danog/MadelineProto/TL_telegram_v42.json +++ /dev/null @@ -1,8328 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-2106507297", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2004934137", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-652419756", - "predicate": "chat", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "admins_enabled", - "type": "flags.3?true" - }, - { - "name": "admin", - "type": "flags.4?true" - }, - { - "name": "deactivated", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "migrated_to", - "type": "flags.6?InputChannel" - } - ], - "type": "Chat" - }, - { - "id": "120753115", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-57668565", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "self_participant", - "type": "flags.0?ChatParticipant" - } - ], - "type": "ChatParticipants" - }, - { - "id": "1061556205", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "1537633299", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - }, - { - "name": "views", - "type": "flags.10?int" - } - ], - "type": "Message" - }, - { - "id": "-1066691065", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1217033015", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1518971995", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "bot_info", - "type": "BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-136766906", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-892863022", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ipv6", - "type": "flags.0?true" - }, - { - "name": "media_only", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1823925854", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "megagroup_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-364179876", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-102543275", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "446822276", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-556656416", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "performer", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-719474725", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "2139689491", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-1813406880", - "predicate": "chatInvite", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel", - "type": "flags.0?true" - }, - { - "name": "broadcast", - "type": "flags.1?true" - }, - { - "name": "public", - "type": "flags.2?true" - }, - { - "name": "megagroup", - "type": "flags.3?true" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "installed", - "type": "flags.0?true" - }, - { - "name": "disabled", - "type": "flags.1?true" - }, - { - "name": "official", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "585404530", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "self", - "type": "flags.10?true" - }, - { - "name": "contact", - "type": "flags.11?true" - }, - { - "name": "mutual_contact", - "type": "flags.12?true" - }, - { - "name": "deleted", - "type": "flags.13?true" - }, - { - "name": "bot", - "type": "flags.14?true" - }, - { - "name": "bot_chat_history", - "type": "flags.15?true" - }, - { - "name": "bot_nochats", - "type": "flags.16?true" - }, - { - "name": "verified", - "type": "flags.17?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "resize", - "type": "flags.0?true" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-292807034", - "predicate": "inputChannelEmpty", - "params": [], - "type": "InputChannel" - }, - { - "id": "-1343524562", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChannel" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "1737397639", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "editor", - "type": "flags.3?true" - }, - { - "name": "moderator", - "type": "flags.4?true" - }, - { - "name": "broadcast", - "type": "flags.5?true" - }, - { - "name": "verified", - "type": "flags.7?true" - }, - { - "name": "megagroup", - "type": "flags.8?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "username", - "type": "flags.6?string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "763724588", - "predicate": "channelForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "2131196633", - "predicate": "contacts.resolvedPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1640751649", - "predicate": "channelFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "can_view_participants", - "type": "flags.3?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "participants_count", - "type": "flags.0?int" - }, - { - "name": "admins_count", - "type": "flags.1?int" - }, - { - "name": "kicked_count", - "type": "flags.2?int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - }, - { - "name": "migrated_from_chat_id", - "type": "flags.4?int" - }, - { - "name": "migrated_from_max_id", - "type": "flags.4?int" - } - ], - "type": "ChatFull" - }, - { - "id": "1535415986", - "predicate": "dialogChannel", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Dialog" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-399216813", - "predicate": "messageGroup", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "MessageGroup" - }, - { - "id": "-1139861572", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "collapsed", - "type": "flags.0?Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "1620337698", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1227598250", - "predicate": "updateChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1016324548", - "predicate": "updateChannelGroup", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "group", - "type": "MessageGroup" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1108669311", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1015733815", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1734268085", - "predicate": "updateChannelMessageViews", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "views", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1578530374", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "exclude_new_messages", - "type": "flags.1?true" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - }, - { - "id": "-100588754", - "predicate": "channelMessagesFilterCollapsed", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "367766557", - "predicate": "channelParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1557620115", - "predicate": "channelParticipantSelf", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1861910545", - "predicate": "channelParticipantModerator", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1743180447", - "predicate": "channelParticipantEditor", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1933187430", - "predicate": "channelParticipantKicked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "kicked_by", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-471670279", - "predicate": "channelParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-566281095", - "predicate": "channelParticipantsRecent", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1268741783", - "predicate": "channelParticipantsAdmins", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "1010285434", - "predicate": "channelParticipantsKicked", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1299865402", - "predicate": "channelRoleEmpty", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-1776756363", - "predicate": "channelRoleModerator", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-2113143156", - "predicate": "channelRoleEditor", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-177282392", - "predicate": "channels.channelParticipants", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "-791039645", - "predicate": "channels.channelParticipant", - "params": [ - { - "name": "participant", - "type": "ChannelParticipant" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "-636267638", - "predicate": "chatParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-489233354", - "predicate": "chatParticipantAdmin", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "1855224129", - "predicate": "updateChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1232070311", - "predicate": "updateChatParticipantAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "is_admin", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1371385889", - "predicate": "messageActionChatMigrateTo", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1336546578", - "predicate": "messageActionChannelMigrateFrom", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "chat_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1328445861", - "predicate": "channelParticipantsBots", - "params": [], - "type": "ChannelParticipantsFilter" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1799878989", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1970355494", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-732523960", - "method": "messages.search", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "238054714", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-1212072999", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1888354709", - "method": "messages.forwardMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "from_peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "to_peer", - "type": "InputPeer" - } - ], - "type": "Updates" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-113456221", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "-1438922648", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "-421563528", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-993483427", - "method": "messages.getMessagesViews", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "increment", - "type": "Bool" - } - ], - "type": "Vector" - }, - { - "id": "-1445735863", - "method": "channels.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-575067701", - "method": "channels.getImportantHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-871347913", - "method": "channels.readHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-2067661490", - "method": "channels.deleteMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-787622117", - "method": "channels.deleteUserHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-32999408", - "method": "channels.reportSpam", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1814580409", - "method": "channels.getMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "618237842", - "method": "channels.getParticipants", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelParticipantsFilter" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "1416484774", - "method": "channels.getParticipant", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "176122811", - "method": "channels.getChannels", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "141781513", - "method": "channels.getFullChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-192332417", - "method": "channels.createChannel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.0?true" - }, - { - "name": "megagroup", - "type": "flags.1?true" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "333610782", - "method": "channels.editAbout", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-344583728", - "method": "channels.editAdmin", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "role", - "type": "ChannelParticipantRole" - } - ], - "type": "Updates" - }, - { - "id": "1450044624", - "method": "channels.editTitle", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-248621111", - "method": "channels.editPhoto", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-1432183160", - "method": "channels.toggleComments", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "283557164", - "method": "channels.checkUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "890549214", - "method": "channels.updateUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "615851205", - "method": "channels.joinChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-130635115", - "method": "channels.leaveChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "429865580", - "method": "channels.inviteToChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "-1502421484", - "method": "channels.kickFromChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "kicked", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-950663035", - "method": "channels.exportInvite", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "-1072619549", - "method": "channels.deleteChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-1154295872", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-326379039", - "method": "messages.toggleChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1444503762", - "method": "messages.editChatAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "is_admin", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "363051235", - "method": "messages.migrateChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1640190800", - "method": "messages.searchGlobal", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v44.json b/src/danog/MadelineProto/TL_telegram_v44.json deleted file mode 100644 index 1a852c58..00000000 --- a/src/danog/MadelineProto/TL_telegram_v44.json +++ /dev/null @@ -1,8575 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-2106507297", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2004934137", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-652419756", - "predicate": "chat", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "admins_enabled", - "type": "flags.3?true" - }, - { - "name": "admin", - "type": "flags.4?true" - }, - { - "name": "deactivated", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "migrated_to", - "type": "flags.6?InputChannel" - } - ], - "type": "Chat" - }, - { - "id": "120753115", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-57668565", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "self_participant", - "type": "flags.0?ChatParticipant" - } - ], - "type": "ChatParticipants" - }, - { - "id": "1061556205", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "1537633299", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - }, - { - "name": "views", - "type": "flags.10?int" - } - ], - "type": "Message" - }, - { - "id": "-1066691065", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1217033015", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1490799288", - "predicate": "inputReportReasonSpam", - "params": [], - "type": "ReportReason" - }, - { - "id": "505595789", - "predicate": "inputReportReasonViolence", - "params": [], - "type": "ReportReason" - }, - { - "id": "777640226", - "predicate": "inputReportReasonPornography", - "params": [], - "type": "ReportReason" - }, - { - "id": "-512463606", - "predicate": "inputReportReasonOther", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "ReportReason" - }, - { - "id": "1518971995", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "bot_info", - "type": "BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-136766906", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-892863022", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ipv6", - "type": "flags.0?true" - }, - { - "name": "media_only", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "1823925854", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "megagroup_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-364179876", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "-1610888", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "1095242886", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "InputMedia" - }, - { - "id": "-779818943", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - } - ], - "type": "InputMedia" - }, - { - "id": "802824708", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-102543275", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "446822276", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-556656416", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "performer", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-302170017", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "int" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "2139689491", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-1813406880", - "predicate": "chatInvite", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel", - "type": "flags.0?true" - }, - { - "name": "broadcast", - "type": "flags.1?true" - }, - { - "name": "public", - "type": "flags.2?true" - }, - { - "name": "megagroup", - "type": "flags.3?true" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "installed", - "type": "flags.0?true" - }, - { - "name": "disabled", - "type": "flags.1?true" - }, - { - "name": "official", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "847885712", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "self", - "type": "flags.10?true" - }, - { - "name": "contact", - "type": "flags.11?true" - }, - { - "name": "mutual_contact", - "type": "flags.12?true" - }, - { - "name": "deleted", - "type": "flags.13?true" - }, - { - "name": "bot", - "type": "flags.14?true" - }, - { - "name": "bot_chat_history", - "type": "flags.15?true" - }, - { - "name": "bot_nochats", - "type": "flags.16?true" - }, - { - "name": "verified", - "type": "flags.17?true" - }, - { - "name": "restricted", - "type": "flags.18?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - }, - { - "name": "restiction_reason", - "type": "flags.18?string" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "resize", - "type": "flags.0?true" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-292807034", - "predicate": "inputChannelEmpty", - "params": [], - "type": "InputChannel" - }, - { - "id": "-1343524562", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChannel" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-399192472", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "editor", - "type": "flags.3?true" - }, - { - "name": "moderator", - "type": "flags.4?true" - }, - { - "name": "broadcast", - "type": "flags.5?true" - }, - { - "name": "verified", - "type": "flags.7?true" - }, - { - "name": "megagroup", - "type": "flags.8?true" - }, - { - "name": "restricted", - "type": "flags.9?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "username", - "type": "flags.6?string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "restiction_reason", - "type": "flags.9?string" - } - ], - "type": "Chat" - }, - { - "id": "763724588", - "predicate": "channelForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "2131196633", - "predicate": "contacts.resolvedPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1640751649", - "predicate": "channelFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "can_view_participants", - "type": "flags.3?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "participants_count", - "type": "flags.0?int" - }, - { - "name": "admins_count", - "type": "flags.1?int" - }, - { - "name": "kicked_count", - "type": "flags.2?int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - }, - { - "name": "migrated_from_chat_id", - "type": "flags.4?int" - }, - { - "name": "migrated_from_max_id", - "type": "flags.4?int" - } - ], - "type": "ChatFull" - }, - { - "id": "1535415986", - "predicate": "dialogChannel", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Dialog" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-399216813", - "predicate": "messageGroup", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "MessageGroup" - }, - { - "id": "-1139861572", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "collapsed", - "type": "flags.0?Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "1620337698", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1227598250", - "predicate": "updateChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1016324548", - "predicate": "updateChannelGroup", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "group", - "type": "MessageGroup" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1108669311", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1015733815", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1734268085", - "predicate": "updateChannelMessageViews", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "views", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1578530374", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "exclude_new_messages", - "type": "flags.1?true" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - }, - { - "id": "-100588754", - "predicate": "channelMessagesFilterCollapsed", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "367766557", - "predicate": "channelParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1557620115", - "predicate": "channelParticipantSelf", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1861910545", - "predicate": "channelParticipantModerator", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1743180447", - "predicate": "channelParticipantEditor", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1933187430", - "predicate": "channelParticipantKicked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "kicked_by", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-471670279", - "predicate": "channelParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-566281095", - "predicate": "channelParticipantsRecent", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1268741783", - "predicate": "channelParticipantsAdmins", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "1010285434", - "predicate": "channelParticipantsKicked", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1299865402", - "predicate": "channelRoleEmpty", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-1776756363", - "predicate": "channelRoleModerator", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-2113143156", - "predicate": "channelRoleEditor", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-177282392", - "predicate": "channels.channelParticipants", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "-791039645", - "predicate": "channels.channelParticipant", - "params": [ - { - "name": "participant", - "type": "ChannelParticipant" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "-636267638", - "predicate": "chatParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-489233354", - "predicate": "chatParticipantAdmin", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "1855224129", - "predicate": "updateChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1232070311", - "predicate": "updateChatParticipantAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "is_admin", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1371385889", - "predicate": "messageActionChatMigrateTo", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1336546578", - "predicate": "messageActionChannelMigrateFrom", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "chat_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1328445861", - "predicate": "channelParticipantsBots", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-236044656", - "predicate": "help.termsOfService", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.TermsOfService" - }, - { - "id": "1753886890", - "predicate": "updateNewStickerSet", - "params": [ - { - "name": "stickerset", - "type": "messages.StickerSet" - } - ], - "type": "Update" - }, - { - "id": "-253774767", - "predicate": "updateStickerSetsOrder", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1135492588", - "predicate": "updateStickerSets", - "params": [], - "type": "Update" - }, - { - "id": "-814484985", - "predicate": "webPageExternal", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "thumb_url", - "type": "flags.3?string" - }, - { - "name": "content_url", - "type": "flags.4?string" - }, - { - "name": "w", - "type": "flags.5?int" - }, - { - "name": "h", - "type": "flags.5?int" - }, - { - "name": "duration", - "type": "flags.6?int" - } - ], - "type": "WebPage" - }, - { - "id": "-713438005", - "predicate": "foundGif", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "FoundGif" - }, - { - "id": "1212395773", - "predicate": "inputMediaGifExternal", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "q", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "1158290442", - "predicate": "messages.foundGifs", - "params": [ - { - "name": "next_offset", - "type": "int" - }, - { - "name": "results", - "type": "Vector" - } - ], - "type": "messages.FoundGifs" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "-1374118561", - "method": "account.reportPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reason", - "type": "ReportReason" - } - ], - "type": "Bool" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1799878989", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1970355494", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-732523960", - "method": "messages.search", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "238054714", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-1212072999", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1888354709", - "method": "messages.forwardMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "from_peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "to_peer", - "type": "InputPeer" - } - ], - "type": "Updates" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-113456221", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "479598769", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "int" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "-421563528", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-993483427", - "method": "messages.getMessagesViews", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "increment", - "type": "Bool" - } - ], - "type": "Vector" - }, - { - "id": "-1445735863", - "method": "channels.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-575067701", - "method": "channels.getImportantHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-871347913", - "method": "channels.readHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-2067661490", - "method": "channels.deleteMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-787622117", - "method": "channels.deleteUserHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-32999408", - "method": "channels.reportSpam", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1814580409", - "method": "channels.getMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "618237842", - "method": "channels.getParticipants", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelParticipantsFilter" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "1416484774", - "method": "channels.getParticipant", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "176122811", - "method": "channels.getChannels", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "141781513", - "method": "channels.getFullChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-192332417", - "method": "channels.createChannel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.0?true" - }, - { - "name": "megagroup", - "type": "flags.1?true" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "333610782", - "method": "channels.editAbout", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-344583728", - "method": "channels.editAdmin", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "role", - "type": "ChannelParticipantRole" - } - ], - "type": "Updates" - }, - { - "id": "1450044624", - "method": "channels.editTitle", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-248621111", - "method": "channels.editPhoto", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-1432183160", - "method": "channels.toggleComments", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "283557164", - "method": "channels.checkUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "890549214", - "method": "channels.updateUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "615851205", - "method": "channels.joinChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-130635115", - "method": "channels.leaveChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "429865580", - "method": "channels.inviteToChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "-1502421484", - "method": "channels.kickFromChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "kicked", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-950663035", - "method": "channels.exportInvite", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "-1072619549", - "method": "channels.deleteChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-1154295872", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-326379039", - "method": "messages.toggleChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1444503762", - "method": "messages.editChatAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "is_admin", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "363051235", - "method": "messages.migrateChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1640190800", - "method": "messages.searchGlobal", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "936873859", - "method": "help.getTermsOfService", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.TermsOfService" - }, - { - "id": "-1613775824", - "method": "messages.reorderStickerSets", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "864953444", - "method": "messages.getDocumentByHash", - "params": [ - { - "name": "sha256", - "type": "bytes" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "Document" - }, - { - "id": "-1080395925", - "method": "messages.searchGifs", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.FoundGifs" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v45.json b/src/danog/MadelineProto/TL_telegram_v45.json deleted file mode 100644 index 8402c59d..00000000 --- a/src/danog/MadelineProto/TL_telegram_v45.json +++ /dev/null @@ -1,9048 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-2106507297", - "predicate": "inputMediaUploadedVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2004934137", - "predicate": "inputMediaUploadedThumbVideo", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1821749571", - "predicate": "inputMediaVideo", - "params": [ - { - "name": "id", - "type": "InputVideo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "1426648181", - "predicate": "inputVideoEmpty", - "params": [], - "type": "InputVideo" - }, - { - "id": "-296249774", - "predicate": "inputVideo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputVideo" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1023632620", - "predicate": "inputVideoFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-652419756", - "predicate": "chat", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "admins_enabled", - "type": "flags.3?true" - }, - { - "name": "admin", - "type": "flags.4?true" - }, - { - "name": "deactivated", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "migrated_to", - "type": "flags.6?InputChannel" - } - ], - "type": "Chat" - }, - { - "id": "120753115", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-57668565", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "self_participant", - "type": "flags.0?ChatParticipant" - } - ], - "type": "ChatParticipants" - }, - { - "id": "1061556205", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "-913120932", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - }, - { - "name": "views", - "type": "flags.10?int" - } - ], - "type": "Message" - }, - { - "id": "-1066691065", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1540298357", - "predicate": "messageMediaVideo", - "params": [ - { - "name": "video", - "type": "Video" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1217033015", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "-1056548696", - "predicate": "videoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Video" - }, - { - "id": "-148338733", - "predicate": "video", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "Video" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-269659687", - "predicate": "auth.sentCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "1185074840", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1923214866", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - }, - { - "name": "show_previews", - "type": "Bool" - }, - { - "name": "events_mask", - "type": "int" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1490799288", - "predicate": "inputReportReasonSpam", - "params": [], - "type": "ReportReason" - }, - { - "id": "505595789", - "predicate": "inputReportReasonViolence", - "params": [], - "type": "ReportReason" - }, - { - "id": "777640226", - "predicate": "inputReportReasonPornography", - "params": [], - "type": "ReportReason" - }, - { - "id": "-512463606", - "predicate": "inputReportReasonOther", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "ReportReason" - }, - { - "id": "1518971995", - "predicate": "userFull", - "params": [ - { - "name": "user", - "type": "User" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "blocked", - "type": "Bool" - }, - { - "name": "bot_info", - "type": "BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-808946398", - "predicate": "inputMessagesFilterAudio", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1526462308", - "predicate": "inputMessagesFilterAudioDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-3644025", - "predicate": "inputMessagesFilterGif", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "333766314", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "613087842", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from_id", - "type": "flags.2?Peer" - }, - { - "name": "fwd_date", - "type": "flags.2?int" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ipv6", - "type": "flags.0?true" - }, - { - "name": "media_only", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "112969208", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "megagroup_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "saved_gifs_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-364179876", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1313442987", - "predicate": "inputMediaUploadedAudio", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1986820223", - "predicate": "inputMediaAudio", - "params": [ - { - "name": "id", - "type": "InputAudio" - } - ], - "type": "InputMedia" - }, - { - "id": "495530093", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1386138479", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "444068508", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-203411800", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-961117440", - "predicate": "messageMediaAudio", - "params": [ - { - "name": "audio", - "type": "Audio" - } - ], - "type": "MessageMedia" - }, - { - "id": "-648356732", - "predicate": "inputAudioEmpty", - "params": [], - "type": "InputAudio" - }, - { - "id": "2010398975", - "predicate": "inputAudio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputAudio" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1960591437", - "predicate": "inputAudioFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "1483311320", - "predicate": "audioEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Audio" - }, - { - "id": "-102543275", - "predicate": "audio", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - } - ], - "type": "Audio" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "-484053553", - "predicate": "auth.sentAppCode", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - }, - { - "name": "is_password", - "type": "Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "446822276", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "-1527411636", - "predicate": "account.sentChangePhoneCode", - "params": [ - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "send_call_timeout", - "type": "int" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-556656416", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "performer", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-302170017", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "int" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "2139689491", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-1124314324", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-1813406880", - "predicate": "chatInvite", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel", - "type": "flags.0?true" - }, - { - "name": "broadcast", - "type": "flags.1?true" - }, - { - "name": "public", - "type": "flags.2?true" - }, - { - "name": "megagroup", - "type": "flags.3?true" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "installed", - "type": "flags.0?true" - }, - { - "name": "disabled", - "type": "flags.1?true" - }, - { - "name": "official", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "-787638374", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "self", - "type": "flags.10?true" - }, - { - "name": "contact", - "type": "flags.11?true" - }, - { - "name": "mutual_contact", - "type": "flags.12?true" - }, - { - "name": "deleted", - "type": "flags.13?true" - }, - { - "name": "bot", - "type": "flags.14?true" - }, - { - "name": "bot_chat_history", - "type": "flags.15?true" - }, - { - "name": "bot_nochats", - "type": "flags.16?true" - }, - { - "name": "verified", - "type": "flags.17?true" - }, - { - "name": "restricted", - "type": "flags.18?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - }, - { - "name": "restriction_reason", - "type": "flags.18?string" - }, - { - "name": "bot_inline_placeholder", - "type": "flags.19?string" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "resize", - "type": "flags.0?true" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-292807034", - "predicate": "inputChannelEmpty", - "params": [], - "type": "InputChannel" - }, - { - "id": "-1343524562", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChannel" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "1260090630", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "editor", - "type": "flags.3?true" - }, - { - "name": "moderator", - "type": "flags.4?true" - }, - { - "name": "broadcast", - "type": "flags.5?true" - }, - { - "name": "verified", - "type": "flags.7?true" - }, - { - "name": "megagroup", - "type": "flags.8?true" - }, - { - "name": "restricted", - "type": "flags.9?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "username", - "type": "flags.6?string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "restriction_reason", - "type": "flags.9?string" - } - ], - "type": "Chat" - }, - { - "id": "763724588", - "predicate": "channelForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "2131196633", - "predicate": "contacts.resolvedPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1640751649", - "predicate": "channelFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "can_view_participants", - "type": "flags.3?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "participants_count", - "type": "flags.0?int" - }, - { - "name": "admins_count", - "type": "flags.1?int" - }, - { - "name": "kicked_count", - "type": "flags.2?int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - }, - { - "name": "migrated_from_chat_id", - "type": "flags.4?int" - }, - { - "name": "migrated_from_max_id", - "type": "flags.4?int" - } - ], - "type": "ChatFull" - }, - { - "id": "1535415986", - "predicate": "dialogChannel", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Dialog" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-399216813", - "predicate": "messageGroup", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "MessageGroup" - }, - { - "id": "-1139861572", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "collapsed", - "type": "flags.0?Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "1620337698", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1227598250", - "predicate": "updateChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1016324548", - "predicate": "updateChannelGroup", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "group", - "type": "MessageGroup" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1108669311", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1015733815", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1734268085", - "predicate": "updateChannelMessageViews", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "views", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1578530374", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "exclude_new_messages", - "type": "flags.1?true" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - }, - { - "id": "-100588754", - "predicate": "channelMessagesFilterCollapsed", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "367766557", - "predicate": "channelParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1557620115", - "predicate": "channelParticipantSelf", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1861910545", - "predicate": "channelParticipantModerator", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1743180447", - "predicate": "channelParticipantEditor", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1933187430", - "predicate": "channelParticipantKicked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "kicked_by", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-471670279", - "predicate": "channelParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-566281095", - "predicate": "channelParticipantsRecent", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1268741783", - "predicate": "channelParticipantsAdmins", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "1010285434", - "predicate": "channelParticipantsKicked", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1299865402", - "predicate": "channelRoleEmpty", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-1776756363", - "predicate": "channelRoleModerator", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-2113143156", - "predicate": "channelRoleEditor", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-177282392", - "predicate": "channels.channelParticipants", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "-791039645", - "predicate": "channels.channelParticipant", - "params": [ - { - "name": "participant", - "type": "ChannelParticipant" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "-636267638", - "predicate": "chatParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-489233354", - "predicate": "chatParticipantAdmin", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "1855224129", - "predicate": "updateChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1232070311", - "predicate": "updateChatParticipantAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "is_admin", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1371385889", - "predicate": "messageActionChatMigrateTo", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1336546578", - "predicate": "messageActionChannelMigrateFrom", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "chat_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1328445861", - "predicate": "channelParticipantsBots", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-236044656", - "predicate": "help.termsOfService", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.TermsOfService" - }, - { - "id": "1753886890", - "predicate": "updateNewStickerSet", - "params": [ - { - "name": "stickerset", - "type": "messages.StickerSet" - } - ], - "type": "Update" - }, - { - "id": "-253774767", - "predicate": "updateStickerSetsOrder", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1135492588", - "predicate": "updateStickerSets", - "params": [], - "type": "Update" - }, - { - "id": "372165663", - "predicate": "foundGif", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "thumb_url", - "type": "string" - }, - { - "name": "content_url", - "type": "string" - }, - { - "name": "content_type", - "type": "string" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "FoundGif" - }, - { - "id": "-1670052855", - "predicate": "foundGifCached", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "photo", - "type": "Photo" - }, - { - "name": "document", - "type": "Document" - } - ], - "type": "FoundGif" - }, - { - "id": "1212395773", - "predicate": "inputMediaGifExternal", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "q", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "1158290442", - "predicate": "messages.foundGifs", - "params": [ - { - "name": "next_offset", - "type": "int" - }, - { - "name": "results", - "type": "Vector" - } - ], - "type": "messages.FoundGifs" - }, - { - "id": "-402498398", - "predicate": "messages.savedGifsNotModified", - "params": [], - "type": "messages.SavedGifs" - }, - { - "id": "772213157", - "predicate": "messages.savedGifs", - "params": [ - { - "name": "hash", - "type": "int" - }, - { - "name": "gifs", - "type": "Vector" - } - ], - "type": "messages.SavedGifs" - }, - { - "id": "-1821035490", - "predicate": "updateSavedGifs", - "params": [], - "type": "Update" - }, - { - "id": "776201607", - "predicate": "inputBotInlineMessageMediaAuto", - "params": [ - { - "name": "caption", - "type": "string" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "-1376723087", - "predicate": "inputBotInlineMessageText", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.0?true" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.1?Vector" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "750510426", - "predicate": "inputBotInlineResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "url", - "type": "flags.3?string" - }, - { - "name": "thumb_url", - "type": "flags.4?string" - }, - { - "name": "content_url", - "type": "flags.5?string" - }, - { - "name": "content_type", - "type": "flags.5?string" - }, - { - "name": "w", - "type": "flags.6?int" - }, - { - "name": "h", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "send_message", - "type": "InputBotInlineMessage" - } - ], - "type": "InputBotInlineResult" - }, - { - "id": "-61413251", - "predicate": "botInlineMessageMediaAuto", - "params": [ - { - "name": "caption", - "type": "string" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-1520330839", - "predicate": "botInlineMessageText", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.0?true" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.1?Vector" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-124267714", - "predicate": "botInlineMediaResultDocument", - "params": [ - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "document", - "type": "Document" - }, - { - "name": "send_message", - "type": "BotInlineMessage" - } - ], - "type": "BotInlineResult" - }, - { - "id": "-984447609", - "predicate": "botInlineMediaResultPhoto", - "params": [ - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "photo", - "type": "Photo" - }, - { - "name": "send_message", - "type": "BotInlineMessage" - } - ], - "type": "BotInlineResult" - }, - { - "id": "-1679053127", - "predicate": "botInlineResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "url", - "type": "flags.3?string" - }, - { - "name": "thumb_url", - "type": "flags.4?string" - }, - { - "name": "content_url", - "type": "flags.5?string" - }, - { - "name": "content_type", - "type": "flags.5?string" - }, - { - "name": "w", - "type": "flags.6?int" - }, - { - "name": "h", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "send_message", - "type": "BotInlineMessage" - } - ], - "type": "BotInlineResult" - }, - { - "id": "292597923", - "predicate": "messages.botResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "gallery", - "type": "flags.0?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "next_offset", - "type": "flags.1?string" - }, - { - "name": "results", - "type": "Vector" - } - ], - "type": "messages.BotResults" - }, - { - "id": "-1071715832", - "predicate": "updateBotInlineQuery", - "params": [ - { - "name": "query_id", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "offset", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "258597139", - "predicate": "updateBotInlineSend", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "id", - "type": "string" - } - ], - "type": "Update" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1988976461", - "method": "auth.sendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "sms_type", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "63247716", - "method": "auth.sendCall", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "-259486360", - "method": "account.updateProfile", - "params": [ - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "-1374118561", - "method": "account.reportPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reason", - "type": "ReportReason" - } - ], - "type": "Bool" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1799878989", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1970355494", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-732523960", - "method": "messages.search", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "238054714", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-1212072999", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1888354709", - "method": "messages.forwardMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "from_peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "to_peer", - "type": "InputPeer" - } - ], - "type": "Updates" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "229241832", - "method": "auth.sendSms", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-113456221", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1543001868", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "account.SentChangePhoneCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "479598769", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "int" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "-421563528", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-993483427", - "method": "messages.getMessagesViews", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "increment", - "type": "Bool" - } - ], - "type": "Vector" - }, - { - "id": "-1445735863", - "method": "channels.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-575067701", - "method": "channels.getImportantHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-871347913", - "method": "channels.readHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-2067661490", - "method": "channels.deleteMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-787622117", - "method": "channels.deleteUserHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-32999408", - "method": "channels.reportSpam", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1814580409", - "method": "channels.getMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "618237842", - "method": "channels.getParticipants", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelParticipantsFilter" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "1416484774", - "method": "channels.getParticipant", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "176122811", - "method": "channels.getChannels", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "141781513", - "method": "channels.getFullChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-192332417", - "method": "channels.createChannel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.0?true" - }, - { - "name": "megagroup", - "type": "flags.1?true" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "333610782", - "method": "channels.editAbout", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-344583728", - "method": "channels.editAdmin", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "role", - "type": "ChannelParticipantRole" - } - ], - "type": "Updates" - }, - { - "id": "1450044624", - "method": "channels.editTitle", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-248621111", - "method": "channels.editPhoto", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-1432183160", - "method": "channels.toggleComments", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "283557164", - "method": "channels.checkUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "890549214", - "method": "channels.updateUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "615851205", - "method": "channels.joinChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-130635115", - "method": "channels.leaveChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "429865580", - "method": "channels.inviteToChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "-1502421484", - "method": "channels.kickFromChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "kicked", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-950663035", - "method": "channels.exportInvite", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "-1072619549", - "method": "channels.deleteChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-1154295872", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-326379039", - "method": "messages.toggleChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1444503762", - "method": "messages.editChatAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "is_admin", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "363051235", - "method": "messages.migrateChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1640190800", - "method": "messages.searchGlobal", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "936873859", - "method": "help.getTermsOfService", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.TermsOfService" - }, - { - "id": "-1613775824", - "method": "messages.reorderStickerSets", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "864953444", - "method": "messages.getDocumentByHash", - "params": [ - { - "name": "sha256", - "type": "bytes" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "Document" - }, - { - "id": "-1080395925", - "method": "messages.searchGifs", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.FoundGifs" - }, - { - "id": "-2084618926", - "method": "messages.getSavedGifs", - "params": [ - { - "name": "hash", - "type": "int" - } - ], - "type": "messages.SavedGifs" - }, - { - "id": "846868683", - "method": "messages.saveGif", - "params": [ - { - "name": "id", - "type": "InputDocument" - }, - { - "name": "unsave", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1826332659", - "method": "messages.getInlineBotResults", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "offset", - "type": "string" - } - ], - "type": "messages.BotResults" - }, - { - "id": "1059318802", - "method": "messages.setInlineBotResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "gallery", - "type": "flags.0?true" - }, - { - "name": "private", - "type": "flags.1?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "results", - "type": "Vector" - }, - { - "name": "cache_time", - "type": "int" - }, - { - "name": "next_offset", - "type": "flags.2?string" - } - ], - "type": "Bool" - }, - { - "id": "-1318189314", - "method": "messages.sendInlineBotResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "id", - "type": "string" - } - ], - "type": "Updates" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v46.tl b/src/danog/MadelineProto/TL_telegram_v46.tl deleted file mode 100644 index fc1af95f..00000000 --- a/src/danog/MadelineProto/TL_telegram_v46.tl +++ /dev/null @@ -1,723 +0,0 @@ -int ?= Int; -long ?= Long; -double ?= Double; -string ?= String; - -bytes string = Bytes; - -int128 long long = Int128; -int256 long long long long = Int256; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#f7aff1c0 file:InputFile caption:string = InputMedia; -inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedVideo#82713fdf file:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia; -inputMediaUploadedThumbVideo#7780ddf9 file:InputFile thumb:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia; -inputMediaVideo#936a4ebd video:InputVideo caption:string = InputMedia; -inputMediaUploadedAudio#4e498cab file:InputFile duration:int mime_type:string = InputMedia; -inputMediaAudio#89938781 audio:InputAudio = InputMedia; -inputMediaUploadedDocument#1d89306d file:InputFile mime_type:string attributes:Vector caption:string = InputMedia; -inputMediaUploadedThumbDocument#ad613491 file:InputFile thumb:InputFile mime_type:string attributes:Vector caption:string = InputMedia; -inputMediaDocument#1a77f29c document_id:InputDocument caption:string = InputMedia; -inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#94254732 file:InputFile crop:InputPhotoCrop = InputChatPhoto; -inputChatPhoto#b2e1bf08 id:InputPhoto crop:InputPhotoCrop = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 latitude:double longitude:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputVideoEmpty#5508ec75 = InputVideo; -inputVideo#ee579652 id:long access_hash:long = InputVideo; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputVideoFileLocation#3d0364ec id:long access_hash:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputAudioFileLocation#74dc404d id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#4e45abe9 id:long access_hash:long = InputFileLocation; - -inputPhotoCropAuto#ade6b004 = InputPhotoCrop; -inputPhotoCrop#d9915325 crop_left:double crop_top:double crop_width:double = InputPhotoCrop; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#d10d979a flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4b1b7506 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true id:int access_hash:long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; -channelForbidden#2d85832c id:int access_hash:long title:string = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#9e341ddf flags:# can_view_participants:flags.3?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int unread_count:int unread_important_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#c992e15c flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int from_id:flags.8?int to_id:Peer fwd_from_id:flags.2?Peer fwd_date:flags.2?int via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int = Message; -messageService#c06b9607 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int from_id:flags.8?int to_id:Peer date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia; -messageMediaVideo#5bcf1675 video:Video caption:string = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia; -messageMediaAudio#c6b68300 audio:Audio = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; - -dialog#c1dd804a peer:Peer top_message:int read_inbox_max_id:int unread_count:int notify_settings:PeerNotifySettings = Dialog; -dialogChannel#5b8496b2 peer:Peer top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int notify_settings:PeerNotifySettings pts:int = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#cded42fe id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -videoEmpty#c10658a8 id:long = Video; -video#f72887d3 id:long access_hash:long date:int duration:int mime_type:string size:int thumb:PhotoSize dc_id:int w:int h:int = Video; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c longitude:double latitude:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#efed51d9 phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode; -auth.sentAppCode#e325edcf phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode; - -auth.authorization#ff036af1 user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#46a2ce98 mute_until:int sound:string show_previews:Bool events_mask:int = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#8d5e11ee mute_until:int sound:string show_previews:Bool events_mask:int = PeerNotifySettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#5a89ac5b user:User link:contacts.Link profile_photo:Photo notify_settings:PeerNotifySettings blocked:Bool bot_info:BotInfo = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#6f8b8cb2 contacts:Vector users:Vector = contacts.Contacts; - -contacts.importedContacts#ad524315 imported:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -contacts.suggested#5649dcc5 results:Vector users:Vector = contacts.Suggested; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#bc0f17bc flags:# pts:int count:int messages:Vector collapsed:flags.0?Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterAudio#cfc87522 = MessagesFilter; -inputMessagesFilterAudioDocuments#5afbf764 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewAuthorization#8f06529a auth_key_id:long date:int device:string location:string = Update; -updateNewEncryptedMessage#12bcbd9a encr_message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d encr_chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef notify_peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#382dd3e4 type:string message_text:string media:MessageMedia popup:Bool = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#60946422 channel_id:int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateChannelGroup#c36c1e3c channel_id:int group:MessageGroup = Update; -updateNewChannelMessage#62ba04d9 message:Message channel_pts:int channel_pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector channel_pts:int channel_pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#f0dfb451 order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#c01eea08 query_id:long user_id:int query:string offset:string = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#13e4deaa flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?Peer fwd_date:flags.2?int via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#248afa62 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?Peer fwd_date:flags.2?int via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# unread:flags.0?true out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true id:int ip_address:string port:int = DcOption; - -config#6bbc5f8 date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputAudioEmpty#d95adc84 = InputAudio; -inputAudio#77d440ff id:long access_hash:long = InputAudio; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -audioEmpty#586988d8 id:long = Audio; -audio#f9e35055 id:long access_hash:long date:int duration:int mime_type:string size:int dc_id:int = Audio; - -documentEmpty#36f8c871 id:long = Document; -document#f9a39f4f id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -account.sentChangePhoneCode#a4f58c4c phone_code_hash:string send_call_timeout:int = account.SentChangePhoneCode; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#3a556302 alt:string stickerset:InputStickerSet = DocumentAttribute; -documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#ded218e0 duration:int title:string performer:string = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#ca820ed7 flags:# id:long url:string display_url:string type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#bcfc532c flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#93e99b60 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true disabled:flags.1?true official:flags.2?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfoEmpty#bb2e37ce = BotInfo; -botInfo#9cf585d user_id:int version:int share_text:string description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; - -help.appChangelogEmpty#af7e0394 = help.AppChangelog; -help.appChangelog#4668e6bd text:string = help.AppChangelog; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -messageGroup#e8346f53 min_id:int max_id:int count:int date:int = MessageGroup; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true channel_pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#5e167646 flags:# final:flags.0?true channel_pts:int timeout:flags.1?int top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true channel_pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# important_only:flags.0?true exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; -channelMessagesFilterCollapsed#fa01232e = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantEditor#98192d61 user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantKicked#8cc5e69a user_id:int kicked_by:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#3c37bb7a = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; - -channelRoleEmpty#b285a0c6 = ChannelParticipantRole; -channelRoleModerator#9618d975 = ChannelParticipantRole; -channelRoleEditor#820bfe8c = ChannelParticipantRole; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#2e43e587 caption:string = InputBotInlineMessage; -inputBotInlineMessageText#adf0df71 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#fc56e87d caption:string = BotInlineMessage; -botInlineMessageText#a56197a9 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector = BotInlineMessage; - -botInlineMediaResultDocument#f897d33e id:string type:string document:Document send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResultPhoto#c5528587 id:string type:string photo:Photo send_message:BotInlineMessage = BotInlineResult; -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#1170b0a3 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string results:Vector = messages.BotResults; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#69796de9 {X:Type} api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#768d5f4d phone_number:string sms_type:int api_id:int api_hash:string lang_code:string = auth.SentCode; -auth.sendCall#3c51564 phone_number:string phone_code_hash:string = Bool; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.sendSms#da9f3e8 phone_number:string phone_code_hash:string = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; - -account.registerDevice#446c712c token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool lang_code:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#f0888d68 first_name:string last_name:string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#a407a8f4 phone_number:string = account.SentChangePhoneCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#22c6aa08 hash:string = contacts.Contacts; -contacts.importContacts#da30b32d contacts:Vector replace:Bool = contacts.ImportedContacts; -contacts.getSuggested#cd773428 limit:int = contacts.Suggested; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#6b47f94d offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#8a8ec2da peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#d4569248 flags:# important_only:flags.0?true peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#b7c13bd9 peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#a5f18925 id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true broadcast:flags.4?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# broadcast:flags.4?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# broadcast:flags.4?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.sendBroadcast#bf73f4da contacts:Vector random_id:Vector message:string media:InputMedia = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#ae22e045 emoticon:string hash:string = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#7b30c3a6 stickerset:InputStickerSet disabled:Bool = Bool; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#9fcfbc30 order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#9324600d bot:InputUser query:string offset:string = messages.BotResults; -messages.setInlineBotResults#3f23ec12 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string = Bool; -messages.sendInlineBotResult#b16e06fe flags:# broadcast:flags.4?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; - -updates.getState#edd4882a = updates.State; -updates.getDifference#a041495 pts:int date:int qts:int = updates.Difference; -updates.getChannelDifference#bb32d7c0 channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#eef579a0 id:InputPhoto crop:InputPhotoCrop = UserProfilePhoto; -photos.uploadProfilePhoto#d50f9c88 file:InputFile caption:string geo_point:InputGeoPoint crop:InputPhotoCrop = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string lang_code:string = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#a4a95186 lang_code:string = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#5bab7fb2 device_model:string system_version:string app_version:string lang_code:string = help.AppChangelog; -help.getTermsOfService#37d78f83 lang_code:string = help.TermsOfService; - -channels.getDialogs#a9d3d249 offset:int limit:int = messages.Dialogs; -channels.getImportantHistory#ddb929cb channel:InputChannel offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#eb7611d0 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.toggleComments#aaa29e88 channel:InputChannel enabled:Bool = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.kickFromChannel#a672de14 channel:InputChannel user_id:InputUser kicked:Bool = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; diff --git a/src/danog/MadelineProto/TL_telegram_v51.json b/src/danog/MadelineProto/TL_telegram_v51.json deleted file mode 100644 index c1aeac42..00000000 --- a/src/danog/MadelineProto/TL_telegram_v51.json +++ /dev/null @@ -1,9682 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-652419756", - "predicate": "chat", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "admins_enabled", - "type": "flags.3?true" - }, - { - "name": "admin", - "type": "flags.4?true" - }, - { - "name": "deactivated", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "migrated_to", - "type": "flags.6?InputChannel" - } - ], - "type": "Chat" - }, - { - "id": "120753115", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-57668565", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "self_participant", - "type": "flags.0?ChatParticipant" - } - ], - "type": "ChatParticipants" - }, - { - "id": "1061556205", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "-1063525281", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "post", - "type": "flags.14?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from", - "type": "flags.2?MessageFwdHeader" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - }, - { - "name": "views", - "type": "flags.10?int" - }, - { - "name": "edit_date", - "type": "flags.15?int" - } - ], - "type": "Message" - }, - { - "id": "-1642487306", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "post", - "type": "flags.14?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1217033015", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1042448310", - "predicate": "dialog", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "949182130", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "show_previews", - "type": "flags.0?true" - }, - { - "name": "silent", - "type": "flags.1?true" - }, - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1697798976", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "show_previews", - "type": "flags.0?true" - }, - { - "name": "silent", - "type": "flags.1?true" - }, - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-2122045747", - "predicate": "peerSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "report_spam", - "type": "flags.0?true" - } - ], - "type": "PeerSettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1490799288", - "predicate": "inputReportReasonSpam", - "params": [], - "type": "ReportReason" - }, - { - "id": "505595789", - "predicate": "inputReportReasonViolence", - "params": [], - "type": "ReportReason" - }, - { - "id": "777640226", - "predicate": "inputReportReasonPornography", - "params": [], - "type": "ReportReason" - }, - { - "id": "-512463606", - "predicate": "inputReportReasonOther", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "ReportReason" - }, - { - "id": "1496513539", - "predicate": "userFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "blocked", - "type": "flags.0?true" - }, - { - "name": "user", - "type": "User" - }, - { - "name": "about", - "type": "flags.1?string" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "flags.2?Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "bot_info", - "type": "flags.3?BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-3644025", - "predicate": "inputMessagesFilterGif", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-1857044719", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from", - "type": "flags.2?MessageFwdHeader" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "377562760", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from", - "type": "flags.2?MessageFwdHeader" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ipv6", - "type": "flags.0?true" - }, - { - "name": "media_only", - "type": "flags.1?true" - }, - { - "name": "tcpo_only", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "830271220", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "megagroup_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "saved_gifs_limit", - "type": "int" - }, - { - "name": "edit_time_limit", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-364179876", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "495530093", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1386138479", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "444068508", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-203411800", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "446822276", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-1739392570", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "voice", - "type": "flags.10?true" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "flags.0?string" - }, - { - "name": "performer", - "type": "flags.1?string" - }, - { - "name": "waveform", - "type": "flags.2?bytes" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-302170017", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "int" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "2139689491", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-2037289493", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-1813406880", - "predicate": "chatInvite", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel", - "type": "flags.0?true" - }, - { - "name": "broadcast", - "type": "flags.1?true" - }, - { - "name": "public", - "type": "flags.2?true" - }, - { - "name": "megagroup", - "type": "flags.3?true" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "installed", - "type": "flags.0?true" - }, - { - "name": "disabled", - "type": "flags.1?true" - }, - { - "name": "official", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "-787638374", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "self", - "type": "flags.10?true" - }, - { - "name": "contact", - "type": "flags.11?true" - }, - { - "name": "mutual_contact", - "type": "flags.12?true" - }, - { - "name": "deleted", - "type": "flags.13?true" - }, - { - "name": "bot", - "type": "flags.14?true" - }, - { - "name": "bot_chat_history", - "type": "flags.15?true" - }, - { - "name": "bot_nochats", - "type": "flags.16?true" - }, - { - "name": "verified", - "type": "flags.17?true" - }, - { - "name": "restricted", - "type": "flags.18?true" - }, - { - "name": "min", - "type": "flags.20?true" - }, - { - "name": "bot_inline_geo", - "type": "flags.21?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - }, - { - "name": "restriction_reason", - "type": "flags.18?string" - }, - { - "name": "bot_inline_placeholder", - "type": "flags.19?string" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1729618630", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "resize", - "type": "flags.0?true" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "unread", - "type": "flags.0?true" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-292807034", - "predicate": "inputChannelEmpty", - "params": [], - "type": "InputChannel" - }, - { - "id": "-1343524562", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChannel" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-1588737454", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "editor", - "type": "flags.3?true" - }, - { - "name": "moderator", - "type": "flags.4?true" - }, - { - "name": "broadcast", - "type": "flags.5?true" - }, - { - "name": "verified", - "type": "flags.7?true" - }, - { - "name": "megagroup", - "type": "flags.8?true" - }, - { - "name": "restricted", - "type": "flags.9?true" - }, - { - "name": "democracy", - "type": "flags.10?true" - }, - { - "name": "signatures", - "type": "flags.11?true" - }, - { - "name": "min", - "type": "flags.12?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.13?long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "username", - "type": "flags.6?string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "restriction_reason", - "type": "flags.9?string" - } - ], - "type": "Chat" - }, - { - "id": "763724588", - "predicate": "channelForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "2131196633", - "predicate": "contacts.resolvedPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1749097118", - "predicate": "channelFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "can_view_participants", - "type": "flags.3?true" - }, - { - "name": "can_set_username", - "type": "flags.6?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "participants_count", - "type": "flags.0?int" - }, - { - "name": "admins_count", - "type": "flags.1?int" - }, - { - "name": "kicked_count", - "type": "flags.2?int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - }, - { - "name": "migrated_from_chat_id", - "type": "flags.4?int" - }, - { - "name": "migrated_from_max_id", - "type": "flags.4?int" - }, - { - "name": "pinned_msg_id", - "type": "flags.5?int" - } - ], - "type": "ChatFull" - }, - { - "id": "1535415986", - "predicate": "dialogChannel", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Dialog" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-399216813", - "predicate": "messageGroup", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "MessageGroup" - }, - { - "id": "-1139861572", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "collapsed", - "type": "flags.0?Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "-352032773", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel_id", - "type": "int" - }, - { - "name": "pts", - "type": "flags.0?int" - } - ], - "type": "Update" - }, - { - "id": "-1227598250", - "predicate": "updateChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1016324548", - "predicate": "updateChannelGroup", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "group", - "type": "MessageGroup" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1108669311", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1015733815", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1734268085", - "predicate": "updateChannelMessageViews", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "views", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1578530374", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "top_important_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "unread_important_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "exclude_new_messages", - "type": "flags.1?true" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - }, - { - "id": "-100588754", - "predicate": "channelMessagesFilterCollapsed", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "367766557", - "predicate": "channelParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1557620115", - "predicate": "channelParticipantSelf", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1861910545", - "predicate": "channelParticipantModerator", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1743180447", - "predicate": "channelParticipantEditor", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1933187430", - "predicate": "channelParticipantKicked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "kicked_by", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-471670279", - "predicate": "channelParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-566281095", - "predicate": "channelParticipantsRecent", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1268741783", - "predicate": "channelParticipantsAdmins", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "1010285434", - "predicate": "channelParticipantsKicked", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1299865402", - "predicate": "channelRoleEmpty", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-1776756363", - "predicate": "channelRoleModerator", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-2113143156", - "predicate": "channelRoleEditor", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-177282392", - "predicate": "channels.channelParticipants", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "-791039645", - "predicate": "channels.channelParticipant", - "params": [ - { - "name": "participant", - "type": "ChannelParticipant" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "-636267638", - "predicate": "chatParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-489233354", - "predicate": "chatParticipantAdmin", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "1855224129", - "predicate": "updateChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1232070311", - "predicate": "updateChatParticipantAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "is_admin", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1371385889", - "predicate": "messageActionChatMigrateTo", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1336546578", - "predicate": "messageActionChannelMigrateFrom", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "chat_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1328445861", - "predicate": "channelParticipantsBots", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-236044656", - "predicate": "help.termsOfService", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.TermsOfService" - }, - { - "id": "1753886890", - "predicate": "updateNewStickerSet", - "params": [ - { - "name": "stickerset", - "type": "messages.StickerSet" - } - ], - "type": "Update" - }, - { - "id": "-253774767", - "predicate": "updateStickerSetsOrder", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1135492588", - "predicate": "updateStickerSets", - "params": [], - "type": "Update" - }, - { - "id": "372165663", - "predicate": "foundGif", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "thumb_url", - "type": "string" - }, - { - "name": "content_url", - "type": "string" - }, - { - "name": "content_type", - "type": "string" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "FoundGif" - }, - { - "id": "-1670052855", - "predicate": "foundGifCached", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "photo", - "type": "Photo" - }, - { - "name": "document", - "type": "Document" - } - ], - "type": "FoundGif" - }, - { - "id": "1212395773", - "predicate": "inputMediaGifExternal", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "q", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "1158290442", - "predicate": "messages.foundGifs", - "params": [ - { - "name": "next_offset", - "type": "int" - }, - { - "name": "results", - "type": "Vector" - } - ], - "type": "messages.FoundGifs" - }, - { - "id": "-402498398", - "predicate": "messages.savedGifsNotModified", - "params": [], - "type": "messages.SavedGifs" - }, - { - "id": "772213157", - "predicate": "messages.savedGifs", - "params": [ - { - "name": "hash", - "type": "int" - }, - { - "name": "gifs", - "type": "Vector" - } - ], - "type": "messages.SavedGifs" - }, - { - "id": "-1821035490", - "predicate": "updateSavedGifs", - "params": [], - "type": "Update" - }, - { - "id": "691006739", - "predicate": "inputBotInlineMessageMediaAuto", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "1036876423", - "predicate": "inputBotInlineMessageText", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.0?true" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.1?Vector" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "750510426", - "predicate": "inputBotInlineResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "url", - "type": "flags.3?string" - }, - { - "name": "thumb_url", - "type": "flags.4?string" - }, - { - "name": "content_url", - "type": "flags.5?string" - }, - { - "name": "content_type", - "type": "flags.5?string" - }, - { - "name": "w", - "type": "flags.6?int" - }, - { - "name": "h", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "send_message", - "type": "InputBotInlineMessage" - } - ], - "type": "InputBotInlineResult" - }, - { - "id": "175419739", - "predicate": "botInlineMessageMediaAuto", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-1937807902", - "predicate": "botInlineMessageText", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.0?true" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.1?Vector" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-1679053127", - "predicate": "botInlineResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "url", - "type": "flags.3?string" - }, - { - "name": "thumb_url", - "type": "flags.4?string" - }, - { - "name": "content_url", - "type": "flags.5?string" - }, - { - "name": "content_type", - "type": "flags.5?string" - }, - { - "name": "w", - "type": "flags.6?int" - }, - { - "name": "h", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "send_message", - "type": "BotInlineMessage" - } - ], - "type": "BotInlineResult" - }, - { - "id": "627509670", - "predicate": "messages.botResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "gallery", - "type": "flags.0?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "next_offset", - "type": "flags.1?string" - }, - { - "name": "switch_pm", - "type": "flags.2?InlineBotSwitchPM" - }, - { - "name": "results", - "type": "Vector" - } - ], - "type": "messages.BotResults" - }, - { - "id": "1417832080", - "predicate": "updateBotInlineQuery", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "geo", - "type": "flags.0?GeoPoint" - }, - { - "name": "offset", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "239663460", - "predicate": "updateBotInlineSend", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "geo", - "type": "flags.0?GeoPoint" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "msg_id", - "type": "flags.1?InputBotInlineMessageID" - } - ], - "type": "Update" - }, - { - "id": "1358283666", - "predicate": "inputMessagesFilterVoice", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "928101534", - "predicate": "inputMessagesFilterMusic", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1107622874", - "predicate": "inputPrivacyKeyChatInvite", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "1343122938", - "predicate": "privacyKeyChatInvite", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "524838915", - "predicate": "exportedMessageLink", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedMessageLink" - }, - { - "id": "-947462709", - "predicate": "messageFwdHeader", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "from_id", - "type": "flags.0?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "channel_id", - "type": "flags.1?int" - }, - { - "name": "channel_post", - "type": "flags.2?int" - } - ], - "type": "MessageFwdHeader" - }, - { - "id": "457133559", - "predicate": "updateEditChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1738988427", - "predicate": "updateChannelPinnedMessage", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1799538451", - "predicate": "messageActionPinMessage", - "params": [], - "type": "MessageAction" - }, - { - "id": "1923290508", - "predicate": "auth.codeTypeSms", - "params": [], - "type": "auth.CodeType" - }, - { - "id": "1948046307", - "predicate": "auth.codeTypeCall", - "params": [], - "type": "auth.CodeType" - }, - { - "id": "577556219", - "predicate": "auth.codeTypeFlashCall", - "params": [], - "type": "auth.CodeType" - }, - { - "id": "1035688326", - "predicate": "auth.sentCodeTypeApp", - "params": [ - { - "name": "length", - "type": "int" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "-1073693790", - "predicate": "auth.sentCodeTypeSms", - "params": [ - { - "name": "length", - "type": "int" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "1398007207", - "predicate": "auth.sentCodeTypeCall", - "params": [ - { - "name": "length", - "type": "int" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "-1425815847", - "predicate": "auth.sentCodeTypeFlashCall", - "params": [ - { - "name": "pattern", - "type": "string" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "1577067778", - "predicate": "auth.sentCode", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "phone_registered", - "type": "flags.0?true" - }, - { - "name": "type", - "type": "auth.SentCodeType" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "next_type", - "type": "flags.1?auth.CodeType" - }, - { - "name": "timeout", - "type": "flags.2?int" - } - ], - "type": "auth.SentCode" - }, - { - "id": "629866245", - "predicate": "keyboardButtonUrl", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "1748655686", - "predicate": "keyboardButtonCallback", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "KeyboardButton" - }, - { - "id": "-1318425559", - "predicate": "keyboardButtonRequestPhone", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "-59151553", - "predicate": "keyboardButtonRequestGeoLocation", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "-367298028", - "predicate": "keyboardButtonSwitchInline", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "query", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "1218642516", - "predicate": "replyInlineMarkup", - "params": [ - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "308605382", - "predicate": "messages.botCallbackAnswer", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "alert", - "type": "flags.1?true" - }, - { - "name": "message", - "type": "flags.0?string" - } - ], - "type": "messages.BotCallbackAnswer" - }, - { - "id": "-1500747636", - "predicate": "updateBotCallbackQuery", - "params": [ - { - "name": "query_id", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "peer", - "type": "Peer" - }, - { - "name": "msg_id", - "type": "int" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "Update" - }, - { - "id": "649453030", - "predicate": "messages.messageEditData", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "caption", - "type": "flags.0?true" - } - ], - "type": "messages.MessageEditData" - }, - { - "id": "-469536605", - "predicate": "updateEditMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-190472735", - "predicate": "inputBotInlineMessageMediaGeo", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "-1431327288", - "predicate": "inputBotInlineMessageMediaVenue", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "766443943", - "predicate": "inputBotInlineMessageMediaContact", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "982505656", - "predicate": "botInlineMessageMediaGeo", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "1130767150", - "predicate": "botInlineMessageMediaVenue", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "904770772", - "predicate": "botInlineMessageMediaContact", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-1462213465", - "predicate": "inputBotInlineResultPhoto", - "params": [ - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "photo", - "type": "InputPhoto" - }, - { - "name": "send_message", - "type": "InputBotInlineMessage" - } - ], - "type": "InputBotInlineResult" - }, - { - "id": "-459324", - "predicate": "inputBotInlineResultDocument", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "document", - "type": "InputDocument" - }, - { - "name": "send_message", - "type": "InputBotInlineMessage" - } - ], - "type": "InputBotInlineResult" - }, - { - "id": "400266251", - "predicate": "botInlineMediaResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "photo", - "type": "flags.0?Photo" - }, - { - "name": "document", - "type": "flags.1?Document" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "send_message", - "type": "BotInlineMessage" - } - ], - "type": "BotInlineResult" - }, - { - "id": "-1995686519", - "predicate": "inputBotInlineMessageID", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputBotInlineMessageID" - }, - { - "id": "750622127", - "predicate": "updateInlineBotCallbackQuery", - "params": [ - { - "name": "query_id", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "msg_id", - "type": "InputBotInlineMessageID" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "Update" - }, - { - "id": "1008755359", - "predicate": "inlineBotSwitchPM", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "InlineBotSwitchPM" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-855805745", - "method": "auth.sendCode", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "allow_flashcall", - "type": "flags.0?true" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "current_number", - "type": "flags.0?Bool" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1147957548", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "app_sandbox", - "type": "Bool" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "2018596725", - "method": "account.updateProfile", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "first_name", - "type": "flags.0?string" - }, - { - "name": "last_name", - "type": "flags.1?string" - }, - { - "name": "about", - "type": "flags.2?string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "-1374118561", - "method": "account.reportPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reason", - "type": "ReportReason" - } - ], - "type": "Bool" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1799878989", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1347868602", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-732523960", - "method": "messages.search", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "important_only", - "type": "flags.0?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "238054714", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-1212072999", - "method": "messages.deleteHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1888354709", - "method": "messages.forwardMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "from_peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "to_peer", - "type": "InputPeer" - } - ], - "type": "Updates" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "-1460572005", - "method": "messages.hideReportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "913498268", - "method": "messages.getPeerSettings", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "PeerSettings" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-938300290", - "method": "help.getAppUpdate", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1532407418", - "method": "help.getInviteText", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-113456221", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "149257707", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "allow_flashcall", - "type": "flags.0?true" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "current_number", - "type": "flags.0?Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "479598769", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "int" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "-421563528", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1537966002", - "method": "help.getAppChangelog", - "params": [ - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-993483427", - "method": "messages.getMessagesViews", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "increment", - "type": "Bool" - } - ], - "type": "Vector" - }, - { - "id": "-1445735863", - "method": "channels.getDialogs", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1891021902", - "method": "channels.getImportantHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-871347913", - "method": "channels.readHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-2067661490", - "method": "channels.deleteMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-787622117", - "method": "channels.deleteUserHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-32999408", - "method": "channels.reportSpam", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1814580409", - "method": "channels.getMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "618237842", - "method": "channels.getParticipants", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelParticipantsFilter" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "1416484774", - "method": "channels.getParticipant", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "176122811", - "method": "channels.getChannels", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "141781513", - "method": "channels.getFullChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-192332417", - "method": "channels.createChannel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.0?true" - }, - { - "name": "megagroup", - "type": "flags.1?true" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "333610782", - "method": "channels.editAbout", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-344583728", - "method": "channels.editAdmin", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "role", - "type": "ChannelParticipantRole" - } - ], - "type": "Updates" - }, - { - "id": "1450044624", - "method": "channels.editTitle", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-248621111", - "method": "channels.editPhoto", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-1432183160", - "method": "channels.toggleComments", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "283557164", - "method": "channels.checkUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "890549214", - "method": "channels.updateUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "615851205", - "method": "channels.joinChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-130635115", - "method": "channels.leaveChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "429865580", - "method": "channels.inviteToChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "-1502421484", - "method": "channels.kickFromChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "kicked", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-950663035", - "method": "channels.exportInvite", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "-1072619549", - "method": "channels.deleteChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-1154295872", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-326379039", - "method": "messages.toggleChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1444503762", - "method": "messages.editChatAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "is_admin", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "363051235", - "method": "messages.migrateChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1640190800", - "method": "messages.searchGlobal", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "936873859", - "method": "help.getTermsOfService", - "params": [ - { - "name": "lang_code", - "type": "string" - } - ], - "type": "help.TermsOfService" - }, - { - "id": "-1613775824", - "method": "messages.reorderStickerSets", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "864953444", - "method": "messages.getDocumentByHash", - "params": [ - { - "name": "sha256", - "type": "bytes" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "Document" - }, - { - "id": "-1080395925", - "method": "messages.searchGifs", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.FoundGifs" - }, - { - "id": "-2084618926", - "method": "messages.getSavedGifs", - "params": [ - { - "name": "hash", - "type": "int" - } - ], - "type": "messages.SavedGifs" - }, - { - "id": "846868683", - "method": "messages.saveGif", - "params": [ - { - "name": "id", - "type": "InputDocument" - }, - { - "name": "unsave", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "1364105629", - "method": "messages.getInlineBotResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "geo_point", - "type": "flags.0?InputGeoPoint" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "offset", - "type": "string" - } - ], - "type": "messages.BotResults" - }, - { - "id": "-346119674", - "method": "messages.setInlineBotResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "gallery", - "type": "flags.0?true" - }, - { - "name": "private", - "type": "flags.1?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "results", - "type": "Vector" - }, - { - "name": "cache_time", - "type": "int" - }, - { - "name": "next_offset", - "type": "flags.2?string" - }, - { - "name": "switch_pm", - "type": "flags.3?InlineBotSwitchPM" - } - ], - "type": "Bool" - }, - { - "id": "-1318189314", - "method": "messages.sendInlineBotResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.4?true" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "id", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1231065863", - "method": "channels.toggleInvites", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-934882771", - "method": "channels.exportMessageLink", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "ExportedMessageLink" - }, - { - "id": "527021574", - "method": "channels.toggleSignatures", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1490162350", - "method": "channels.updatePinnedMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "silent", - "type": "flags.0?true" - }, - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1056025023", - "method": "auth.resendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "520357240", - "method": "auth.cancelCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-39416522", - "method": "messages.getMessageEditData", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "messages.MessageEditData" - }, - { - "id": "-829299510", - "method": "messages.editMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "message", - "type": "flags.11?string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "319564933", - "method": "messages.editInlineBotMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "InputBotInlineMessageID" - }, - { - "name": "message", - "type": "flags.11?string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1494659324", - "method": "messages.getBotCallbackAnswer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "msg_id", - "type": "int" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.BotCallbackAnswer" - }, - { - "id": "1209817370", - "method": "messages.setBotCallbackAnswer", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "alert", - "type": "flags.1?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "message", - "type": "flags.0?string" - } - ], - "type": "Bool" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v53.json b/src/danog/MadelineProto/TL_telegram_v53.json deleted file mode 100644 index 2194afaa..00000000 --- a/src/danog/MadelineProto/TL_telegram_v53.json +++ /dev/null @@ -1,9805 +0,0 @@ -{ - "constructors": [ - { - "id": "-1132882121", - "predicate": "boolFalse", - "params": [], - "type": "Bool" - }, - { - "id": "-1720552011", - "predicate": "boolTrue", - "params": [], - "type": "Bool" - }, - { - "id": "1072550713", - "predicate": "true", - "params": [], - "type": "True" - }, - { - "id": "481674261", - "predicate": "vector", - "params": [], - "type": "Vector t" - }, - { - "id": "-994444869", - "predicate": "error", - "params": [ - { - "name": "code", - "type": "int" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "Error" - }, - { - "id": "1450380236", - "predicate": "null", - "params": [], - "type": "Null" - }, - { - "id": "2134579434", - "predicate": "inputPeerEmpty", - "params": [], - "type": "InputPeer" - }, - { - "id": "2107670217", - "predicate": "inputPeerSelf", - "params": [], - "type": "InputPeer" - }, - { - "id": "396093539", - "predicate": "inputPeerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "InputPeer" - }, - { - "id": "-1182234929", - "predicate": "inputUserEmpty", - "params": [], - "type": "InputUser" - }, - { - "id": "-138301121", - "predicate": "inputUserSelf", - "params": [], - "type": "InputUser" - }, - { - "id": "-208488460", - "predicate": "inputPhoneContact", - "params": [ - { - "name": "client_id", - "type": "long" - }, - { - "name": "phone", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputContact" - }, - { - "id": "-181407105", - "predicate": "inputFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - }, - { - "name": "md5_checksum", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "-1771768449", - "predicate": "inputMediaEmpty", - "params": [], - "type": "InputMedia" - }, - { - "id": "-139464256", - "predicate": "inputMediaUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-373312269", - "predicate": "inputMediaPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-104578748", - "predicate": "inputMediaGeoPoint", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - } - ], - "type": "InputMedia" - }, - { - "id": "-1494984313", - "predicate": "inputMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "480546647", - "predicate": "inputChatPhotoEmpty", - "params": [], - "type": "InputChatPhoto" - }, - { - "id": "-1809496270", - "predicate": "inputChatUploadedPhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-1293828344", - "predicate": "inputChatPhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "InputChatPhoto" - }, - { - "id": "-457104426", - "predicate": "inputGeoPointEmpty", - "params": [], - "type": "InputGeoPoint" - }, - { - "id": "-206066487", - "predicate": "inputGeoPoint", - "params": [ - { - "name": "lat", - "type": "double" - }, - { - "name": "long", - "type": "double" - } - ], - "type": "InputGeoPoint" - }, - { - "id": "483901197", - "predicate": "inputPhotoEmpty", - "params": [], - "type": "InputPhoto" - }, - { - "id": "-74070332", - "predicate": "inputPhoto", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPhoto" - }, - { - "id": "342061462", - "predicate": "inputFileLocation", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-1377390588", - "predicate": "inputPhotoCropAuto", - "params": [], - "type": "InputPhotoCrop" - }, - { - "id": "-644787419", - "predicate": "inputPhotoCrop", - "params": [ - { - "name": "crop_left", - "type": "double" - }, - { - "name": "crop_top", - "type": "double" - }, - { - "name": "crop_width", - "type": "double" - } - ], - "type": "InputPhotoCrop" - }, - { - "id": "1996904104", - "predicate": "inputAppEvent", - "params": [ - { - "name": "time", - "type": "double" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "peer", - "type": "long" - }, - { - "name": "data", - "type": "string" - } - ], - "type": "InputAppEvent" - }, - { - "id": "-1649296275", - "predicate": "peerUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1160714821", - "predicate": "peerChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "-1432995067", - "predicate": "storage.fileUnknown", - "params": [], - "type": "storage.FileType" - }, - { - "id": "8322574", - "predicate": "storage.fileJpeg", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-891180321", - "predicate": "storage.fileGif", - "params": [], - "type": "storage.FileType" - }, - { - "id": "172975040", - "predicate": "storage.filePng", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1373745011", - "predicate": "storage.filePdf", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1384777335", - "predicate": "storage.fileMp3", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1258941372", - "predicate": "storage.fileMov", - "params": [], - "type": "storage.FileType" - }, - { - "id": "1086091090", - "predicate": "storage.filePartial", - "params": [], - "type": "storage.FileType" - }, - { - "id": "-1278304028", - "predicate": "storage.fileMp4", - "params": [], - "type": "storage.FileType" - }, - { - "id": "276907596", - "predicate": "storage.fileWebp", - "params": [], - "type": "storage.FileType" - }, - { - "id": "2086234950", - "predicate": "fileLocationUnavailable", - "params": [ - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "1406570614", - "predicate": "fileLocation", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "volume_id", - "type": "long" - }, - { - "name": "local_id", - "type": "int" - }, - { - "name": "secret", - "type": "long" - } - ], - "type": "FileLocation" - }, - { - "id": "537022650", - "predicate": "userEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "User" - }, - { - "id": "1326562017", - "predicate": "userProfilePhotoEmpty", - "params": [], - "type": "UserProfilePhoto" - }, - { - "id": "-715532088", - "predicate": "userProfilePhoto", - "params": [ - { - "name": "photo_id", - "type": "long" - }, - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "164646985", - "predicate": "userStatusEmpty", - "params": [], - "type": "UserStatus" - }, - { - "id": "-306628279", - "predicate": "userStatusOnline", - "params": [ - { - "name": "expires", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "9203775", - "predicate": "userStatusOffline", - "params": [ - { - "name": "was_online", - "type": "int" - } - ], - "type": "UserStatus" - }, - { - "id": "-1683826688", - "predicate": "chatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "-652419756", - "predicate": "chat", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "admins_enabled", - "type": "flags.3?true" - }, - { - "name": "admin", - "type": "flags.4?true" - }, - { - "name": "deactivated", - "type": "flags.5?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "migrated_to", - "type": "flags.6?InputChannel" - } - ], - "type": "Chat" - }, - { - "id": "120753115", - "predicate": "chatForbidden", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "771925524", - "predicate": "chatFull", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "participants", - "type": "ChatParticipants" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - } - ], - "type": "ChatFull" - }, - { - "id": "-925415106", - "predicate": "chatParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-57668565", - "predicate": "chatParticipantsForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "self_participant", - "type": "flags.0?ChatParticipant" - } - ], - "type": "ChatParticipants" - }, - { - "id": "1061556205", - "predicate": "chatParticipants", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "ChatParticipants" - }, - { - "id": "935395612", - "predicate": "chatPhotoEmpty", - "params": [], - "type": "ChatPhoto" - }, - { - "id": "1632839530", - "predicate": "chatPhoto", - "params": [ - { - "name": "photo_small", - "type": "FileLocation" - }, - { - "name": "photo_big", - "type": "FileLocation" - } - ], - "type": "ChatPhoto" - }, - { - "id": "-2082087340", - "predicate": "messageEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "Message" - }, - { - "id": "-1063525281", - "predicate": "message", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "post", - "type": "flags.14?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "fwd_from", - "type": "flags.2?MessageFwdHeader" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "reply_markup", - "type": "flags.6?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.7?Vector" - }, - { - "name": "views", - "type": "flags.10?int" - }, - { - "name": "edit_date", - "type": "flags.15?int" - } - ], - "type": "Message" - }, - { - "id": "-1642487306", - "predicate": "messageService", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "post", - "type": "flags.14?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "flags.8?int" - }, - { - "name": "to_id", - "type": "Peer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "Message" - }, - { - "id": "1038967584", - "predicate": "messageMediaEmpty", - "params": [], - "type": "MessageMedia" - }, - { - "id": "1032643901", - "predicate": "messageMediaPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1457575028", - "predicate": "messageMediaGeo", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - } - ], - "type": "MessageMedia" - }, - { - "id": "1585262393", - "predicate": "messageMediaContact", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1618676578", - "predicate": "messageMediaUnsupported", - "params": [], - "type": "MessageMedia" - }, - { - "id": "-1230047312", - "predicate": "messageActionEmpty", - "params": [], - "type": "MessageAction" - }, - { - "id": "-1503425638", - "predicate": "messageActionChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1247687078", - "predicate": "messageActionChatEditTitle", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "2144015272", - "predicate": "messageActionChatEditPhoto", - "params": [ - { - "name": "photo", - "type": "Photo" - } - ], - "type": "MessageAction" - }, - { - "id": "-1780220945", - "predicate": "messageActionChatDeletePhoto", - "params": [], - "type": "MessageAction" - }, - { - "id": "1217033015", - "predicate": "messageActionChatAddUser", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "MessageAction" - }, - { - "id": "-1297179892", - "predicate": "messageActionChatDeleteUser", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1728035348", - "predicate": "dialog", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "Peer" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "read_outbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "pts", - "type": "flags.0?int" - }, - { - "name": "draft", - "type": "flags.1?DraftMessage" - } - ], - "type": "Dialog" - }, - { - "id": "590459437", - "predicate": "photoEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Photo" - }, - { - "id": "-840088834", - "predicate": "photo", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "sizes", - "type": "Vector" - } - ], - "type": "Photo" - }, - { - "id": "236446268", - "predicate": "photoSizeEmpty", - "params": [ - { - "name": "type", - "type": "string" - } - ], - "type": "PhotoSize" - }, - { - "id": "2009052699", - "predicate": "photoSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "size", - "type": "int" - } - ], - "type": "PhotoSize" - }, - { - "id": "-374917894", - "predicate": "photoCachedSize", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "location", - "type": "FileLocation" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "PhotoSize" - }, - { - "id": "286776671", - "predicate": "geoPointEmpty", - "params": [], - "type": "GeoPoint" - }, - { - "id": "541710092", - "predicate": "geoPoint", - "params": [ - { - "name": "long", - "type": "double" - }, - { - "name": "lat", - "type": "double" - } - ], - "type": "GeoPoint" - }, - { - "id": "-2128698738", - "predicate": "auth.checkedPhone", - "params": [ - { - "name": "phone_registered", - "type": "Bool" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "1577067778", - "predicate": "auth.sentCode", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "phone_registered", - "type": "flags.0?true" - }, - { - "name": "type", - "type": "auth.SentCodeType" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "next_type", - "type": "flags.1?auth.CodeType" - }, - { - "name": "timeout", - "type": "flags.2?int" - } - ], - "type": "auth.SentCode" - }, - { - "id": "-16553231", - "predicate": "auth.authorization", - "params": [ - { - "name": "user", - "type": "User" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-543777747", - "predicate": "auth.exportedAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-1195615476", - "predicate": "inputNotifyPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "423314455", - "predicate": "inputNotifyUsers", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "1251338318", - "predicate": "inputNotifyChats", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-1540769658", - "predicate": "inputNotifyAll", - "params": [], - "type": "InputNotifyPeer" - }, - { - "id": "-265263912", - "predicate": "inputPeerNotifyEventsEmpty", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "-395694988", - "predicate": "inputPeerNotifyEventsAll", - "params": [], - "type": "InputPeerNotifyEvents" - }, - { - "id": "949182130", - "predicate": "inputPeerNotifySettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "show_previews", - "type": "flags.0?true" - }, - { - "name": "silent", - "type": "flags.1?true" - }, - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - } - ], - "type": "InputPeerNotifySettings" - }, - { - "id": "-1378534221", - "predicate": "peerNotifyEventsEmpty", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1830677896", - "predicate": "peerNotifyEventsAll", - "params": [], - "type": "PeerNotifyEvents" - }, - { - "id": "1889961234", - "predicate": "peerNotifySettingsEmpty", - "params": [], - "type": "PeerNotifySettings" - }, - { - "id": "-1697798976", - "predicate": "peerNotifySettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "show_previews", - "type": "flags.0?true" - }, - { - "name": "silent", - "type": "flags.1?true" - }, - { - "name": "mute_until", - "type": "int" - }, - { - "name": "sound", - "type": "string" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-2122045747", - "predicate": "peerSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "report_spam", - "type": "flags.0?true" - } - ], - "type": "PeerSettings" - }, - { - "id": "-860866985", - "predicate": "wallPaper", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "sizes", - "type": "Vector" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "1490799288", - "predicate": "inputReportReasonSpam", - "params": [], - "type": "ReportReason" - }, - { - "id": "505595789", - "predicate": "inputReportReasonViolence", - "params": [], - "type": "ReportReason" - }, - { - "id": "777640226", - "predicate": "inputReportReasonPornography", - "params": [], - "type": "ReportReason" - }, - { - "id": "-512463606", - "predicate": "inputReportReasonOther", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "ReportReason" - }, - { - "id": "1496513539", - "predicate": "userFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "blocked", - "type": "flags.0?true" - }, - { - "name": "user", - "type": "User" - }, - { - "name": "about", - "type": "flags.1?string" - }, - { - "name": "link", - "type": "contacts.Link" - }, - { - "name": "profile_photo", - "type": "flags.2?Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "bot_info", - "type": "flags.3?BotInfo" - } - ], - "type": "UserFull" - }, - { - "id": "-116274796", - "predicate": "contact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual", - "type": "Bool" - } - ], - "type": "Contact" - }, - { - "id": "-805141448", - "predicate": "importedContact", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "client_id", - "type": "long" - } - ], - "type": "ImportedContact" - }, - { - "id": "1444661369", - "predicate": "contactBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ContactBlocked" - }, - { - "id": "-748155807", - "predicate": "contactStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "ContactStatus" - }, - { - "id": "986597452", - "predicate": "contacts.link", - "params": [ - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "contacts.Link" - }, - { - "id": "-1219778094", - "predicate": "contacts.contactsNotModified", - "params": [], - "type": "contacts.Contacts" - }, - { - "id": "1871416498", - "predicate": "contacts.contacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-1387117803", - "predicate": "contacts.importedContacts", - "params": [ - { - "name": "imported", - "type": "Vector" - }, - { - "name": "retry_contacts", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "471043349", - "predicate": "contacts.blocked", - "params": [ - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-1878523231", - "predicate": "contacts.blockedSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "blocked", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "364538944", - "predicate": "messages.dialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "1910543603", - "predicate": "messages.dialogsSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1938715001", - "predicate": "messages.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "189033187", - "predicate": "messages.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1694474197", - "predicate": "messages.chats", - "params": [ - { - "name": "chats", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "-438840932", - "predicate": "messages.chatFull", - "params": [ - { - "name": "full_chat", - "type": "ChatFull" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-1269012015", - "predicate": "messages.affectedHistory", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "1474492012", - "predicate": "inputMessagesFilterEmpty", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1777752804", - "predicate": "inputMessagesFilterPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1614803355", - "predicate": "inputMessagesFilterVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "1458172132", - "predicate": "inputMessagesFilterPhotoVideo", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-648121413", - "predicate": "inputMessagesFilterPhotoVideoDocuments", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1629621880", - "predicate": "inputMessagesFilterDocument", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "2129714567", - "predicate": "inputMessagesFilterUrl", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-3644025", - "predicate": "inputMessagesFilterGif", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "522914557", - "predicate": "updateNewMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1318109142", - "predicate": "updateMessageID", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Update" - }, - { - "id": "-1576161051", - "predicate": "updateDeleteMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1548249383", - "predicate": "updateUserTyping", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "-1704596961", - "predicate": "updateChatUserTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Update" - }, - { - "id": "125178264", - "predicate": "updateChatParticipants", - "params": [ - { - "name": "participants", - "type": "ChatParticipants" - } - ], - "type": "Update" - }, - { - "id": "469489699", - "predicate": "updateUserStatus", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "status", - "type": "UserStatus" - } - ], - "type": "Update" - }, - { - "id": "-1489818765", - "predicate": "updateUserName", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1791935732", - "predicate": "updateUserPhoto", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "photo", - "type": "UserProfilePhoto" - }, - { - "name": "previous", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "628472761", - "predicate": "updateContactRegistered", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1657903163", - "predicate": "updateContactLink", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "my_link", - "type": "ContactLink" - }, - { - "name": "foreign_link", - "type": "ContactLink" - } - ], - "type": "Update" - }, - { - "id": "-1895411046", - "predicate": "updateNewAuthorization", - "params": [ - { - "name": "auth_key_id", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "device", - "type": "string" - }, - { - "name": "location", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "-1519637954", - "predicate": "updates.state", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "qts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - } - ], - "type": "updates.State" - }, - { - "id": "1567990072", - "predicate": "updates.differenceEmpty", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "16030880", - "predicate": "updates.difference", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-1459938943", - "predicate": "updates.differenceSlice", - "params": [ - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "new_encrypted_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "intermediate_state", - "type": "updates.State" - } - ], - "type": "updates.Difference" - }, - { - "id": "-484987010", - "predicate": "updatesTooLong", - "params": [], - "type": "Updates" - }, - { - "id": "-1857044719", - "predicate": "updateShortMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from", - "type": "flags.2?MessageFwdHeader" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "377562760", - "predicate": "updateShortChatMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "mentioned", - "type": "flags.4?true" - }, - { - "name": "media_unread", - "type": "flags.5?true" - }, - { - "name": "silent", - "type": "flags.13?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "fwd_from", - "type": "flags.2?MessageFwdHeader" - }, - { - "name": "via_bot_id", - "type": "flags.11?int" - }, - { - "name": "reply_to_msg_id", - "type": "flags.3?int" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "2027216577", - "predicate": "updateShort", - "params": [ - { - "name": "update", - "type": "Update" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1918567619", - "predicate": "updatesCombined", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq_start", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1957577280", - "predicate": "updates", - "params": [ - { - "name": "updates", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1916114267", - "predicate": "photos.photos", - "params": [ - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "352657236", - "predicate": "photos.photosSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "photos", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photos" - }, - { - "id": "539045032", - "predicate": "photos.photo", - "params": [ - { - "name": "photo", - "type": "Photo" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "photos.Photo" - }, - { - "id": "157948117", - "predicate": "upload.file", - "params": [ - { - "name": "type", - "type": "storage.FileType" - }, - { - "name": "mtime", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "upload.File" - }, - { - "id": "98092748", - "predicate": "dcOption", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "ipv6", - "type": "flags.0?true" - }, - { - "name": "media_only", - "type": "flags.1?true" - }, - { - "name": "tcpo_only", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "ip_address", - "type": "string" - }, - { - "name": "port", - "type": "int" - } - ], - "type": "DcOption" - }, - { - "id": "-918482040", - "predicate": "config", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "expires", - "type": "int" - }, - { - "name": "test_mode", - "type": "Bool" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "dc_options", - "type": "Vector" - }, - { - "name": "chat_size_max", - "type": "int" - }, - { - "name": "megagroup_size_max", - "type": "int" - }, - { - "name": "forwarded_count_max", - "type": "int" - }, - { - "name": "online_update_period_ms", - "type": "int" - }, - { - "name": "offline_blur_timeout_ms", - "type": "int" - }, - { - "name": "offline_idle_timeout_ms", - "type": "int" - }, - { - "name": "online_cloud_timeout_ms", - "type": "int" - }, - { - "name": "notify_cloud_delay_ms", - "type": "int" - }, - { - "name": "notify_default_delay_ms", - "type": "int" - }, - { - "name": "chat_big_size", - "type": "int" - }, - { - "name": "push_chat_period_ms", - "type": "int" - }, - { - "name": "push_chat_limit", - "type": "int" - }, - { - "name": "saved_gifs_limit", - "type": "int" - }, - { - "name": "edit_time_limit", - "type": "int" - }, - { - "name": "rating_e_decay", - "type": "int" - }, - { - "name": "disabled_features", - "type": "Vector" - } - ], - "type": "Config" - }, - { - "id": "-1910892683", - "predicate": "nearestDc", - "params": [ - { - "name": "country", - "type": "string" - }, - { - "name": "this_dc", - "type": "int" - }, - { - "name": "nearest_dc", - "type": "int" - } - ], - "type": "NearestDc" - }, - { - "id": "-1987579119", - "predicate": "help.appUpdate", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "critical", - "type": "Bool" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppUpdate" - }, - { - "id": "-1000708810", - "predicate": "help.noAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "415997816", - "predicate": "help.inviteText", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "help.InviteText" - }, - { - "id": "1662091044", - "predicate": "wallPaperSolid", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "bg_color", - "type": "int" - }, - { - "name": "color", - "type": "int" - } - ], - "type": "WallPaper" - }, - { - "id": "314359194", - "predicate": "updateNewEncryptedMessage", - "params": [ - { - "name": "message", - "type": "EncryptedMessage" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "386986326", - "predicate": "updateEncryptedChatTyping", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1264392051", - "predicate": "updateEncryption", - "params": [ - { - "name": "chat", - "type": "EncryptedChat" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "956179895", - "predicate": "updateEncryptedMessagesRead", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1417756512", - "predicate": "encryptedChatEmpty", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1006044124", - "predicate": "encryptedChatWaiting", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-931638658", - "predicate": "encryptedChatRequested", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-94974410", - "predicate": "encryptedChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "admin_id", - "type": "int" - }, - { - "name": "participant_id", - "type": "int" - }, - { - "name": "g_a_or_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "332848423", - "predicate": "encryptedChatDiscarded", - "params": [ - { - "name": "id", - "type": "int" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-247351839", - "predicate": "inputEncryptedChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedChat" - }, - { - "id": "-1038136962", - "predicate": "encryptedFileEmpty", - "params": [], - "type": "EncryptedFile" - }, - { - "id": "1248893260", - "predicate": "encryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "EncryptedFile" - }, - { - "id": "406307684", - "predicate": "inputEncryptedFileEmpty", - "params": [], - "type": "InputEncryptedFile" - }, - { - "id": "1690108678", - "predicate": "inputEncryptedFileUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "md5_checksum", - "type": "string" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "1511503333", - "predicate": "inputEncryptedFile", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-182231723", - "predicate": "inputEncryptedFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "-317144808", - "predicate": "encryptedMessage", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "594758406", - "predicate": "encryptedMessageService", - "params": [ - { - "name": "random_id", - "type": "long" - }, - { - "name": "chat_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "EncryptedMessage" - }, - { - "id": "-1058912715", - "predicate": "messages.dhConfigNotModified", - "params": [ - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "740433629", - "predicate": "messages.dhConfig", - "params": [ - { - "name": "g", - "type": "int" - }, - { - "name": "p", - "type": "bytes" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "random", - "type": "bytes" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "1443858741", - "predicate": "messages.sentEncryptedMessage", - "params": [ - { - "name": "date", - "type": "int" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1802240206", - "predicate": "messages.sentEncryptedFile", - "params": [ - { - "name": "date", - "type": "int" - }, - { - "name": "file", - "type": "EncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-95482955", - "predicate": "inputFileBig", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "name", - "type": "string" - } - ], - "type": "InputFile" - }, - { - "id": "767652808", - "predicate": "inputEncryptedFileBigUploaded", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "parts", - "type": "int" - }, - { - "name": "key_fingerprint", - "type": "int" - } - ], - "type": "InputEncryptedFile" - }, - { - "id": "-364179876", - "predicate": "updateChatParticipantAdd", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1851755554", - "predicate": "updateChatParticipantDelete", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1906403213", - "predicate": "updateDcOptions", - "params": [ - { - "name": "dc_options", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "495530093", - "predicate": "inputMediaUploadedDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-1386138479", - "predicate": "inputMediaUploadedThumbDocument", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "thumb", - "type": "InputFile" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "attributes", - "type": "Vector" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "444068508", - "predicate": "inputMediaDocument", - "params": [ - { - "name": "id", - "type": "InputDocument" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "-203411800", - "predicate": "messageMediaDocument", - "params": [ - { - "name": "document", - "type": "Document" - }, - { - "name": "caption", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "1928391342", - "predicate": "inputDocumentEmpty", - "params": [], - "type": "InputDocument" - }, - { - "id": "410618194", - "predicate": "inputDocument", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputDocument" - }, - { - "id": "1313188841", - "predicate": "inputDocumentFileLocation", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputFileLocation" - }, - { - "id": "922273905", - "predicate": "documentEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "Document" - }, - { - "id": "-106717361", - "predicate": "document", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "thumb", - "type": "PhotoSize" - }, - { - "name": "dc_id", - "type": "int" - }, - { - "name": "attributes", - "type": "Vector" - } - ], - "type": "Document" - }, - { - "id": "398898678", - "predicate": "help.support", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "user", - "type": "User" - } - ], - "type": "help.Support" - }, - { - "id": "-1613493288", - "predicate": "notifyPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - } - ], - "type": "NotifyPeer" - }, - { - "id": "-1261946036", - "predicate": "notifyUsers", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-1073230141", - "predicate": "notifyChats", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "1959820384", - "predicate": "notifyAll", - "params": [], - "type": "NotifyPeer" - }, - { - "id": "-2131957734", - "predicate": "updateUserBlocked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "blocked", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-1094555409", - "predicate": "updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "NotifyPeer" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - } - ], - "type": "Update" - }, - { - "id": "381645902", - "predicate": "sendMessageTypingAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-44119819", - "predicate": "sendMessageCancelAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-1584933265", - "predicate": "sendMessageRecordVideoAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-378127636", - "predicate": "sendMessageUploadVideoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-718310409", - "predicate": "sendMessageRecordAudioAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "-212740181", - "predicate": "sendMessageUploadAudioAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-774682074", - "predicate": "sendMessageUploadPhotoAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "-1441998364", - "predicate": "sendMessageUploadDocumentAction", - "params": [ - { - "name": "progress", - "type": "int" - } - ], - "type": "SendMessageAction" - }, - { - "id": "393186209", - "predicate": "sendMessageGeoLocationAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "1653390447", - "predicate": "sendMessageChooseContactAction", - "params": [], - "type": "SendMessageAction" - }, - { - "id": "446822276", - "predicate": "contacts.found", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Found" - }, - { - "id": "942527460", - "predicate": "updateServiceNotification", - "params": [ - { - "name": "type", - "type": "string" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - }, - { - "name": "popup", - "type": "Bool" - } - ], - "type": "Update" - }, - { - "id": "-496024847", - "predicate": "userStatusRecently", - "params": [], - "type": "UserStatus" - }, - { - "id": "129960444", - "predicate": "userStatusLastWeek", - "params": [], - "type": "UserStatus" - }, - { - "id": "2011940674", - "predicate": "userStatusLastMonth", - "params": [], - "type": "UserStatus" - }, - { - "id": "-298113238", - "predicate": "updatePrivacy", - "params": [ - { - "name": "key", - "type": "PrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1335282456", - "predicate": "inputPrivacyKeyStatusTimestamp", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "-1137792208", - "predicate": "privacyKeyStatusTimestamp", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "218751099", - "predicate": "inputPrivacyValueAllowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "407582158", - "predicate": "inputPrivacyValueAllowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "320652927", - "predicate": "inputPrivacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "195371015", - "predicate": "inputPrivacyValueDisallowContacts", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-697604407", - "predicate": "inputPrivacyValueDisallowAll", - "params": [], - "type": "InputPrivacyRule" - }, - { - "id": "-1877932953", - "predicate": "inputPrivacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "InputPrivacyRule" - }, - { - "id": "-123988", - "predicate": "privacyValueAllowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1698855810", - "predicate": "privacyValueAllowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "1297858060", - "predicate": "privacyValueAllowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "-125240806", - "predicate": "privacyValueDisallowContacts", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "-1955338397", - "predicate": "privacyValueDisallowAll", - "params": [], - "type": "PrivacyRule" - }, - { - "id": "209668535", - "predicate": "privacyValueDisallowUsers", - "params": [ - { - "name": "users", - "type": "Vector" - } - ], - "type": "PrivacyRule" - }, - { - "id": "1430961007", - "predicate": "account.privacyRules", - "params": [ - { - "name": "rules", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-1194283041", - "predicate": "accountDaysTTL", - "params": [ - { - "name": "days", - "type": "int" - } - ], - "type": "AccountDaysTTL" - }, - { - "id": "314130811", - "predicate": "updateUserPhone", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "phone", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "1815593308", - "predicate": "documentAttributeImageSize", - "params": [ - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "297109817", - "predicate": "documentAttributeAnimated", - "params": [], - "type": "DocumentAttribute" - }, - { - "id": "978674434", - "predicate": "documentAttributeSticker", - "params": [ - { - "name": "alt", - "type": "string" - }, - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "1494273227", - "predicate": "documentAttributeVideo", - "params": [ - { - "name": "duration", - "type": "int" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-1739392570", - "predicate": "documentAttributeAudio", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "voice", - "type": "flags.10?true" - }, - { - "name": "duration", - "type": "int" - }, - { - "name": "title", - "type": "flags.0?string" - }, - { - "name": "performer", - "type": "flags.1?string" - }, - { - "name": "waveform", - "type": "flags.2?bytes" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "358154344", - "predicate": "documentAttributeFilename", - "params": [ - { - "name": "file_name", - "type": "string" - } - ], - "type": "DocumentAttribute" - }, - { - "id": "-244016606", - "predicate": "messages.stickersNotModified", - "params": [], - "type": "messages.Stickers" - }, - { - "id": "-1970352846", - "predicate": "messages.stickers", - "params": [ - { - "name": "hash", - "type": "string" - }, - { - "name": "stickers", - "type": "Vector" - } - ], - "type": "messages.Stickers" - }, - { - "id": "313694676", - "predicate": "stickerPack", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "StickerPack" - }, - { - "id": "-395967805", - "predicate": "messages.allStickersNotModified", - "params": [], - "type": "messages.AllStickers" - }, - { - "id": "-302170017", - "predicate": "messages.allStickers", - "params": [ - { - "name": "hash", - "type": "int" - }, - { - "name": "sets", - "type": "Vector" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "-1369215196", - "predicate": "disabledFeature", - "params": [ - { - "name": "feature", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "DisabledFeature" - }, - { - "id": "-1721631396", - "predicate": "updateReadHistoryInbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "791617983", - "predicate": "updateReadHistoryOutbox", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-2066640507", - "predicate": "messages.affectedMessages", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "1599050311", - "predicate": "contactLinkUnknown", - "params": [], - "type": "ContactLink" - }, - { - "id": "-17968211", - "predicate": "contactLinkNone", - "params": [], - "type": "ContactLink" - }, - { - "id": "646922073", - "predicate": "contactLinkHasPhone", - "params": [], - "type": "ContactLink" - }, - { - "id": "-721239344", - "predicate": "contactLinkContact", - "params": [], - "type": "ContactLink" - }, - { - "id": "2139689491", - "predicate": "updateWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-350980120", - "predicate": "webPageEmpty", - "params": [ - { - "name": "id", - "type": "long" - } - ], - "type": "WebPage" - }, - { - "id": "-981018084", - "predicate": "webPagePending", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "WebPage" - }, - { - "id": "-897446185", - "predicate": "webPage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "display_url", - "type": "string" - }, - { - "name": "type", - "type": "flags.0?string" - }, - { - "name": "site_name", - "type": "flags.1?string" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "photo", - "type": "flags.4?Photo" - }, - { - "name": "embed_url", - "type": "flags.5?string" - }, - { - "name": "embed_type", - "type": "flags.5?string" - }, - { - "name": "embed_width", - "type": "flags.6?int" - }, - { - "name": "embed_height", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "author", - "type": "flags.8?string" - }, - { - "name": "document", - "type": "flags.9?Document" - } - ], - "type": "WebPage" - }, - { - "id": "-1557277184", - "predicate": "messageMediaWebPage", - "params": [ - { - "name": "webpage", - "type": "WebPage" - } - ], - "type": "MessageMedia" - }, - { - "id": "2079516406", - "predicate": "authorization", - "params": [ - { - "name": "hash", - "type": "long" - }, - { - "name": "flags", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "platform", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "app_name", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "date_created", - "type": "int" - }, - { - "name": "date_active", - "type": "int" - }, - { - "name": "ip", - "type": "string" - }, - { - "name": "country", - "type": "string" - }, - { - "name": "region", - "type": "string" - } - ], - "type": "Authorization" - }, - { - "id": "307276766", - "predicate": "account.authorizations", - "params": [ - { - "name": "authorizations", - "type": "Vector" - } - ], - "type": "account.Authorizations" - }, - { - "id": "-1764049896", - "predicate": "account.noPassword", - "params": [ - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "2081952796", - "predicate": "account.password", - "params": [ - { - "name": "current_salt", - "type": "bytes" - }, - { - "name": "new_salt", - "type": "bytes" - }, - { - "name": "hint", - "type": "string" - }, - { - "name": "has_recovery", - "type": "Bool" - }, - { - "name": "email_unconfirmed_pattern", - "type": "string" - } - ], - "type": "account.Password" - }, - { - "id": "-1212732749", - "predicate": "account.passwordSettings", - "params": [ - { - "name": "email", - "type": "string" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-2037289493", - "predicate": "account.passwordInputSettings", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "new_salt", - "type": "flags.0?bytes" - }, - { - "name": "new_password_hash", - "type": "flags.0?bytes" - }, - { - "name": "hint", - "type": "flags.0?string" - }, - { - "name": "email", - "type": "flags.1?string" - } - ], - "type": "account.PasswordInputSettings" - }, - { - "id": "326715557", - "predicate": "auth.passwordRecovery", - "params": [ - { - "name": "email_pattern", - "type": "string" - } - ], - "type": "auth.PasswordRecovery" - }, - { - "id": "673687578", - "predicate": "inputMediaVenue", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "2031269663", - "predicate": "messageMediaVenue", - "params": [ - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-1551583367", - "predicate": "receivedNotifyMessage", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "flags", - "type": "int" - } - ], - "type": "ReceivedNotifyMessage" - }, - { - "id": "1776236393", - "predicate": "chatInviteEmpty", - "params": [], - "type": "ExportedChatInvite" - }, - { - "id": "-64092740", - "predicate": "chatInviteExported", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1516793212", - "predicate": "chatInviteAlready", - "params": [ - { - "name": "chat", - "type": "Chat" - } - ], - "type": "ChatInvite" - }, - { - "id": "-1813406880", - "predicate": "chatInvite", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel", - "type": "flags.0?true" - }, - { - "name": "broadcast", - "type": "flags.1?true" - }, - { - "name": "public", - "type": "flags.2?true" - }, - { - "name": "megagroup", - "type": "flags.3?true" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "-123931160", - "predicate": "messageActionChatJoinedByLink", - "params": [ - { - "name": "inviter_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "1757493555", - "predicate": "updateReadMessagesContents", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-4838507", - "predicate": "inputStickerSetEmpty", - "params": [], - "type": "InputStickerSet" - }, - { - "id": "-1645763991", - "predicate": "inputStickerSetID", - "params": [ - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-2044933984", - "predicate": "inputStickerSetShortName", - "params": [ - { - "name": "short_name", - "type": "string" - } - ], - "type": "InputStickerSet" - }, - { - "id": "-852477119", - "predicate": "stickerSet", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "installed", - "type": "flags.0?true" - }, - { - "name": "disabled", - "type": "flags.1?true" - }, - { - "name": "official", - "type": "flags.2?true" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "short_name", - "type": "string" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "StickerSet" - }, - { - "id": "-1240849242", - "predicate": "messages.stickerSet", - "params": [ - { - "name": "set", - "type": "StickerSet" - }, - { - "name": "packs", - "type": "Vector" - }, - { - "name": "documents", - "type": "Vector" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "-787638374", - "predicate": "user", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "self", - "type": "flags.10?true" - }, - { - "name": "contact", - "type": "flags.11?true" - }, - { - "name": "mutual_contact", - "type": "flags.12?true" - }, - { - "name": "deleted", - "type": "flags.13?true" - }, - { - "name": "bot", - "type": "flags.14?true" - }, - { - "name": "bot_chat_history", - "type": "flags.15?true" - }, - { - "name": "bot_nochats", - "type": "flags.16?true" - }, - { - "name": "verified", - "type": "flags.17?true" - }, - { - "name": "restricted", - "type": "flags.18?true" - }, - { - "name": "min", - "type": "flags.20?true" - }, - { - "name": "bot_inline_geo", - "type": "flags.21?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.0?long" - }, - { - "name": "first_name", - "type": "flags.1?string" - }, - { - "name": "last_name", - "type": "flags.2?string" - }, - { - "name": "username", - "type": "flags.3?string" - }, - { - "name": "phone", - "type": "flags.4?string" - }, - { - "name": "photo", - "type": "flags.5?UserProfilePhoto" - }, - { - "name": "status", - "type": "flags.6?UserStatus" - }, - { - "name": "bot_info_version", - "type": "flags.14?int" - }, - { - "name": "restriction_reason", - "type": "flags.18?string" - }, - { - "name": "bot_inline_placeholder", - "type": "flags.19?string" - } - ], - "type": "User" - }, - { - "id": "-1032140601", - "predicate": "botCommand", - "params": [ - { - "name": "command", - "type": "string" - }, - { - "name": "description", - "type": "string" - } - ], - "type": "BotCommand" - }, - { - "id": "-1729618630", - "predicate": "botInfo", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "description", - "type": "string" - }, - { - "name": "commands", - "type": "Vector" - } - ], - "type": "BotInfo" - }, - { - "id": "-1560655744", - "predicate": "keyboardButton", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "2002815875", - "predicate": "keyboardButtonRow", - "params": [ - { - "name": "buttons", - "type": "Vector" - } - ], - "type": "KeyboardButtonRow" - }, - { - "id": "-1606526075", - "predicate": "replyKeyboardHide", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "-200242528", - "predicate": "replyKeyboardForceReply", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "889353612", - "predicate": "replyKeyboardMarkup", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "resize", - "type": "flags.0?true" - }, - { - "name": "single_use", - "type": "flags.1?true" - }, - { - "name": "selective", - "type": "flags.2?true" - }, - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "2072935910", - "predicate": "inputPeerUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-668391402", - "predicate": "inputUser", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputUser" - }, - { - "id": "-1350696044", - "predicate": "help.appChangelogEmpty", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "1181279933", - "predicate": "help.appChangelog", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.AppChangelog" - }, - { - "id": "-1148011883", - "predicate": "messageEntityUnknown", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-100378723", - "predicate": "messageEntityMention", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1868782349", - "predicate": "messageEntityHashtag", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1827637959", - "predicate": "messageEntityBotCommand", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1859134776", - "predicate": "messageEntityUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1692693954", - "predicate": "messageEntityEmail", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-1117713463", - "predicate": "messageEntityBold", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "-2106619040", - "predicate": "messageEntityItalic", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "681706865", - "predicate": "messageEntityCode", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "1938967520", - "predicate": "messageEntityPre", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "language", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "1990644519", - "predicate": "messageEntityTextUrl", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "MessageEntity" - }, - { - "id": "301019932", - "predicate": "updateShortSentMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "out", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "media", - "type": "flags.9?MessageMedia" - }, - { - "name": "entities", - "type": "flags.7?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-292807034", - "predicate": "inputChannelEmpty", - "params": [], - "type": "InputChannel" - }, - { - "id": "-1343524562", - "predicate": "inputChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputChannel" - }, - { - "id": "-1109531342", - "predicate": "peerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Peer" - }, - { - "id": "548253432", - "predicate": "inputPeerChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputPeer" - }, - { - "id": "-1588737454", - "predicate": "channel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "creator", - "type": "flags.0?true" - }, - { - "name": "kicked", - "type": "flags.1?true" - }, - { - "name": "left", - "type": "flags.2?true" - }, - { - "name": "editor", - "type": "flags.3?true" - }, - { - "name": "moderator", - "type": "flags.4?true" - }, - { - "name": "broadcast", - "type": "flags.5?true" - }, - { - "name": "verified", - "type": "flags.7?true" - }, - { - "name": "megagroup", - "type": "flags.8?true" - }, - { - "name": "restricted", - "type": "flags.9?true" - }, - { - "name": "democracy", - "type": "flags.10?true" - }, - { - "name": "signatures", - "type": "flags.11?true" - }, - { - "name": "min", - "type": "flags.12?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "flags.13?long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "username", - "type": "flags.6?string" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "version", - "type": "int" - }, - { - "name": "restriction_reason", - "type": "flags.9?string" - } - ], - "type": "Chat" - }, - { - "id": "-2059962289", - "predicate": "channelForbidden", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.5?true" - }, - { - "name": "megagroup", - "type": "flags.8?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Chat" - }, - { - "id": "2131196633", - "predicate": "contacts.resolvedPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "-1009430225", - "predicate": "channelFull", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "can_view_participants", - "type": "flags.3?true" - }, - { - "name": "can_set_username", - "type": "flags.6?true" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "about", - "type": "string" - }, - { - "name": "participants_count", - "type": "flags.0?int" - }, - { - "name": "admins_count", - "type": "flags.1?int" - }, - { - "name": "kicked_count", - "type": "flags.2?int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "read_outbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "chat_photo", - "type": "Photo" - }, - { - "name": "notify_settings", - "type": "PeerNotifySettings" - }, - { - "name": "exported_invite", - "type": "ExportedChatInvite" - }, - { - "name": "bot_info", - "type": "Vector" - }, - { - "name": "migrated_from_chat_id", - "type": "flags.4?int" - }, - { - "name": "migrated_from_max_id", - "type": "flags.4?int" - }, - { - "name": "pinned_msg_id", - "type": "flags.5?int" - } - ], - "type": "ChatFull" - }, - { - "id": "182649427", - "predicate": "messageRange", - "params": [ - { - "name": "min_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "MessageRange" - }, - { - "id": "-1725551049", - "predicate": "messages.channelMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "-1781355374", - "predicate": "messageActionChannelCreate", - "params": [ - { - "name": "title", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "-352032773", - "predicate": "updateChannelTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "channel_id", - "type": "int" - }, - { - "name": "pts", - "type": "flags.0?int" - } - ], - "type": "Update" - }, - { - "id": "-1227598250", - "predicate": "updateChannel", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1656358105", - "predicate": "updateNewChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1108669311", - "predicate": "updateReadChannelInbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1015733815", - "predicate": "updateDeleteChannelMessages", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1734268085", - "predicate": "updateChannelMessageViews", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "views", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1041346555", - "predicate": "updates.channelDifferenceEmpty", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "1091431943", - "predicate": "updates.channelDifferenceTooLong", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "top_message", - "type": "int" - }, - { - "name": "read_inbox_max_id", - "type": "int" - }, - { - "name": "read_outbox_max_id", - "type": "int" - }, - { - "name": "unread_count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "543450958", - "predicate": "updates.channelDifference", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "final", - "type": "flags.0?true" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "timeout", - "type": "flags.1?int" - }, - { - "name": "new_messages", - "type": "Vector" - }, - { - "name": "other_updates", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-1798033689", - "predicate": "channelMessagesFilterEmpty", - "params": [], - "type": "ChannelMessagesFilter" - }, - { - "id": "-847783593", - "predicate": "channelMessagesFilter", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "exclude_new_messages", - "type": "flags.1?true" - }, - { - "name": "ranges", - "type": "Vector" - } - ], - "type": "ChannelMessagesFilter" - }, - { - "id": "367766557", - "predicate": "channelParticipant", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1557620115", - "predicate": "channelParticipantSelf", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1861910545", - "predicate": "channelParticipantModerator", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1743180447", - "predicate": "channelParticipantEditor", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-1933187430", - "predicate": "channelParticipantKicked", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "kicked_by", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-471670279", - "predicate": "channelParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChannelParticipant" - }, - { - "id": "-566281095", - "predicate": "channelParticipantsRecent", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1268741783", - "predicate": "channelParticipantsAdmins", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "1010285434", - "predicate": "channelParticipantsKicked", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-1299865402", - "predicate": "channelRoleEmpty", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-1776756363", - "predicate": "channelRoleModerator", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-2113143156", - "predicate": "channelRoleEditor", - "params": [], - "type": "ChannelParticipantRole" - }, - { - "id": "-177282392", - "predicate": "channels.channelParticipants", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "participants", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "-791039645", - "predicate": "channels.channelParticipant", - "params": [ - { - "name": "participant", - "type": "ChannelParticipant" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "-636267638", - "predicate": "chatParticipantCreator", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "-489233354", - "predicate": "chatParticipantAdmin", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "inviter_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "ChatParticipant" - }, - { - "id": "1855224129", - "predicate": "updateChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1232070311", - "predicate": "updateChatParticipantAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "is_admin", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "1371385889", - "predicate": "messageActionChatMigrateTo", - "params": [ - { - "name": "channel_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1336546578", - "predicate": "messageActionChannelMigrateFrom", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "chat_id", - "type": "int" - } - ], - "type": "MessageAction" - }, - { - "id": "-1328445861", - "predicate": "channelParticipantsBots", - "params": [], - "type": "ChannelParticipantsFilter" - }, - { - "id": "-236044656", - "predicate": "help.termsOfService", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "help.TermsOfService" - }, - { - "id": "1753886890", - "predicate": "updateNewStickerSet", - "params": [ - { - "name": "stickerset", - "type": "messages.StickerSet" - } - ], - "type": "Update" - }, - { - "id": "-253774767", - "predicate": "updateStickerSetsOrder", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Update" - }, - { - "id": "1135492588", - "predicate": "updateStickerSets", - "params": [], - "type": "Update" - }, - { - "id": "372165663", - "predicate": "foundGif", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "thumb_url", - "type": "string" - }, - { - "name": "content_url", - "type": "string" - }, - { - "name": "content_type", - "type": "string" - }, - { - "name": "w", - "type": "int" - }, - { - "name": "h", - "type": "int" - } - ], - "type": "FoundGif" - }, - { - "id": "-1670052855", - "predicate": "foundGifCached", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "photo", - "type": "Photo" - }, - { - "name": "document", - "type": "Document" - } - ], - "type": "FoundGif" - }, - { - "id": "1212395773", - "predicate": "inputMediaGifExternal", - "params": [ - { - "name": "url", - "type": "string" - }, - { - "name": "q", - "type": "string" - } - ], - "type": "InputMedia" - }, - { - "id": "1158290442", - "predicate": "messages.foundGifs", - "params": [ - { - "name": "next_offset", - "type": "int" - }, - { - "name": "results", - "type": "Vector" - } - ], - "type": "messages.FoundGifs" - }, - { - "id": "-402498398", - "predicate": "messages.savedGifsNotModified", - "params": [], - "type": "messages.SavedGifs" - }, - { - "id": "772213157", - "predicate": "messages.savedGifs", - "params": [ - { - "name": "hash", - "type": "int" - }, - { - "name": "gifs", - "type": "Vector" - } - ], - "type": "messages.SavedGifs" - }, - { - "id": "-1821035490", - "predicate": "updateSavedGifs", - "params": [], - "type": "Update" - }, - { - "id": "691006739", - "predicate": "inputBotInlineMessageMediaAuto", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "1036876423", - "predicate": "inputBotInlineMessageText", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.0?true" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.1?Vector" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "750510426", - "predicate": "inputBotInlineResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "url", - "type": "flags.3?string" - }, - { - "name": "thumb_url", - "type": "flags.4?string" - }, - { - "name": "content_url", - "type": "flags.5?string" - }, - { - "name": "content_type", - "type": "flags.5?string" - }, - { - "name": "w", - "type": "flags.6?int" - }, - { - "name": "h", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "send_message", - "type": "InputBotInlineMessage" - } - ], - "type": "InputBotInlineResult" - }, - { - "id": "175419739", - "predicate": "botInlineMessageMediaAuto", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-1937807902", - "predicate": "botInlineMessageText", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.0?true" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.1?Vector" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-1679053127", - "predicate": "botInlineResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "url", - "type": "flags.3?string" - }, - { - "name": "thumb_url", - "type": "flags.4?string" - }, - { - "name": "content_url", - "type": "flags.5?string" - }, - { - "name": "content_type", - "type": "flags.5?string" - }, - { - "name": "w", - "type": "flags.6?int" - }, - { - "name": "h", - "type": "flags.6?int" - }, - { - "name": "duration", - "type": "flags.7?int" - }, - { - "name": "send_message", - "type": "BotInlineMessage" - } - ], - "type": "BotInlineResult" - }, - { - "id": "627509670", - "predicate": "messages.botResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "gallery", - "type": "flags.0?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "next_offset", - "type": "flags.1?string" - }, - { - "name": "switch_pm", - "type": "flags.2?InlineBotSwitchPM" - }, - { - "name": "results", - "type": "Vector" - } - ], - "type": "messages.BotResults" - }, - { - "id": "1417832080", - "predicate": "updateBotInlineQuery", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "geo", - "type": "flags.0?GeoPoint" - }, - { - "name": "offset", - "type": "string" - } - ], - "type": "Update" - }, - { - "id": "239663460", - "predicate": "updateBotInlineSend", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "geo", - "type": "flags.0?GeoPoint" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "msg_id", - "type": "flags.1?InputBotInlineMessageID" - } - ], - "type": "Update" - }, - { - "id": "1358283666", - "predicate": "inputMessagesFilterVoice", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "928101534", - "predicate": "inputMessagesFilterMusic", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "-1107622874", - "predicate": "inputPrivacyKeyChatInvite", - "params": [], - "type": "InputPrivacyKey" - }, - { - "id": "1343122938", - "predicate": "privacyKeyChatInvite", - "params": [], - "type": "PrivacyKey" - }, - { - "id": "524838915", - "predicate": "exportedMessageLink", - "params": [ - { - "name": "link", - "type": "string" - } - ], - "type": "ExportedMessageLink" - }, - { - "id": "-947462709", - "predicate": "messageFwdHeader", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "from_id", - "type": "flags.0?int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "channel_id", - "type": "flags.1?int" - }, - { - "name": "channel_post", - "type": "flags.2?int" - } - ], - "type": "MessageFwdHeader" - }, - { - "id": "457133559", - "predicate": "updateEditChannelMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1738988427", - "predicate": "updateChannelPinnedMessage", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-1799538451", - "predicate": "messageActionPinMessage", - "params": [], - "type": "MessageAction" - }, - { - "id": "1923290508", - "predicate": "auth.codeTypeSms", - "params": [], - "type": "auth.CodeType" - }, - { - "id": "1948046307", - "predicate": "auth.codeTypeCall", - "params": [], - "type": "auth.CodeType" - }, - { - "id": "577556219", - "predicate": "auth.codeTypeFlashCall", - "params": [], - "type": "auth.CodeType" - }, - { - "id": "1035688326", - "predicate": "auth.sentCodeTypeApp", - "params": [ - { - "name": "length", - "type": "int" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "-1073693790", - "predicate": "auth.sentCodeTypeSms", - "params": [ - { - "name": "length", - "type": "int" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "1398007207", - "predicate": "auth.sentCodeTypeCall", - "params": [ - { - "name": "length", - "type": "int" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "-1425815847", - "predicate": "auth.sentCodeTypeFlashCall", - "params": [ - { - "name": "pattern", - "type": "string" - } - ], - "type": "auth.SentCodeType" - }, - { - "id": "629866245", - "predicate": "keyboardButtonUrl", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "url", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "1748655686", - "predicate": "keyboardButtonCallback", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "KeyboardButton" - }, - { - "id": "-1318425559", - "predicate": "keyboardButtonRequestPhone", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "-59151553", - "predicate": "keyboardButtonRequestGeoLocation", - "params": [ - { - "name": "text", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "-367298028", - "predicate": "keyboardButtonSwitchInline", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "query", - "type": "string" - } - ], - "type": "KeyboardButton" - }, - { - "id": "1218642516", - "predicate": "replyInlineMarkup", - "params": [ - { - "name": "rows", - "type": "Vector" - } - ], - "type": "ReplyMarkup" - }, - { - "id": "308605382", - "predicate": "messages.botCallbackAnswer", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "alert", - "type": "flags.1?true" - }, - { - "name": "message", - "type": "flags.0?string" - } - ], - "type": "messages.BotCallbackAnswer" - }, - { - "id": "-1500747636", - "predicate": "updateBotCallbackQuery", - "params": [ - { - "name": "query_id", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "peer", - "type": "Peer" - }, - { - "name": "msg_id", - "type": "int" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "Update" - }, - { - "id": "649453030", - "predicate": "messages.messageEditData", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "caption", - "type": "flags.0?true" - } - ], - "type": "messages.MessageEditData" - }, - { - "id": "-469536605", - "predicate": "updateEditMessage", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "pts_count", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-190472735", - "predicate": "inputBotInlineMessageMediaGeo", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "-1431327288", - "predicate": "inputBotInlineMessageMediaVenue", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "766443943", - "predicate": "inputBotInlineMessageMediaContact", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "InputBotInlineMessage" - }, - { - "id": "982505656", - "predicate": "botInlineMessageMediaGeo", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "1130767150", - "predicate": "botInlineMessageMediaVenue", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "venue_id", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "904770772", - "predicate": "botInlineMessageMediaContact", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "BotInlineMessage" - }, - { - "id": "-1462213465", - "predicate": "inputBotInlineResultPhoto", - "params": [ - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "photo", - "type": "InputPhoto" - }, - { - "name": "send_message", - "type": "InputBotInlineMessage" - } - ], - "type": "InputBotInlineResult" - }, - { - "id": "-459324", - "predicate": "inputBotInlineResultDocument", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "title", - "type": "flags.1?string" - }, - { - "name": "description", - "type": "flags.2?string" - }, - { - "name": "document", - "type": "InputDocument" - }, - { - "name": "send_message", - "type": "InputBotInlineMessage" - } - ], - "type": "InputBotInlineResult" - }, - { - "id": "400266251", - "predicate": "botInlineMediaResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "id", - "type": "string" - }, - { - "name": "type", - "type": "string" - }, - { - "name": "photo", - "type": "flags.0?Photo" - }, - { - "name": "document", - "type": "flags.1?Document" - }, - { - "name": "title", - "type": "flags.2?string" - }, - { - "name": "description", - "type": "flags.3?string" - }, - { - "name": "send_message", - "type": "BotInlineMessage" - } - ], - "type": "BotInlineResult" - }, - { - "id": "-1995686519", - "predicate": "inputBotInlineMessageID", - "params": [ - { - "name": "dc_id", - "type": "int" - }, - { - "name": "id", - "type": "long" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputBotInlineMessageID" - }, - { - "id": "750622127", - "predicate": "updateInlineBotCallbackQuery", - "params": [ - { - "name": "query_id", - "type": "long" - }, - { - "name": "user_id", - "type": "int" - }, - { - "name": "msg_id", - "type": "InputBotInlineMessageID" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "Update" - }, - { - "id": "1008755359", - "predicate": "inlineBotSwitchPM", - "params": [ - { - "name": "text", - "type": "string" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "InlineBotSwitchPM" - }, - { - "id": "863093588", - "predicate": "messages.peerDialogs", - "params": [ - { - "name": "dialogs", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "state", - "type": "updates.State" - } - ], - "type": "messages.PeerDialogs" - }, - { - "id": "-305282981", - "predicate": "topPeer", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "rating", - "type": "double" - } - ], - "type": "TopPeer" - }, - { - "id": "-1419371685", - "predicate": "topPeerCategoryBotsPM", - "params": [], - "type": "TopPeerCategory" - }, - { - "id": "344356834", - "predicate": "topPeerCategoryBotsInline", - "params": [], - "type": "TopPeerCategory" - }, - { - "id": "104314861", - "predicate": "topPeerCategoryCorrespondents", - "params": [], - "type": "TopPeerCategory" - }, - { - "id": "-1122524854", - "predicate": "topPeerCategoryGroups", - "params": [], - "type": "TopPeerCategory" - }, - { - "id": "371037736", - "predicate": "topPeerCategoryChannels", - "params": [], - "type": "TopPeerCategory" - }, - { - "id": "-75283823", - "predicate": "topPeerCategoryPeers", - "params": [ - { - "name": "category", - "type": "TopPeerCategory" - }, - { - "name": "count", - "type": "int" - }, - { - "name": "peers", - "type": "Vector" - } - ], - "type": "TopPeerCategoryPeers" - }, - { - "id": "-567906571", - "predicate": "contacts.topPeersNotModified", - "params": [], - "type": "contacts.TopPeers" - }, - { - "id": "1891070632", - "predicate": "contacts.topPeers", - "params": [ - { - "name": "categories", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.TopPeers" - }, - { - "id": "892193368", - "predicate": "messageEntityMentionName", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "user_id", - "type": "int" - } - ], - "type": "MessageEntity" - }, - { - "id": "546203849", - "predicate": "inputMessageEntityMentionName", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "length", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "MessageEntity" - }, - { - "id": "975236280", - "predicate": "inputMessagesFilterChatPhotos", - "params": [], - "type": "MessagesFilter" - }, - { - "id": "634833351", - "predicate": "updateReadChannelOutbox", - "params": [ - { - "name": "channel_id", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Update" - }, - { - "id": "-299124375", - "predicate": "updateDraftMessage", - "params": [ - { - "name": "peer", - "type": "Peer" - }, - { - "name": "draft", - "type": "DraftMessage" - } - ], - "type": "Update" - }, - { - "id": "-1169445179", - "predicate": "draftMessageEmpty", - "params": [], - "type": "DraftMessage" - }, - { - "id": "-40996577", - "predicate": "draftMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.3?Vector" - }, - { - "name": "date", - "type": "int" - } - ], - "type": "DraftMessage" - }, - { - "id": "-1615153660", - "predicate": "messageActionHistoryClear", - "params": [], - "type": "MessageAction" - } - ], - "methods": [ - { - "id": "-878758099", - "method": "invokeAfterMsg", - "params": [ - { - "name": "msg_id", - "type": "long" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1036301552", - "method": "invokeAfterMsgs", - "params": [ - { - "name": "msg_ids", - "type": "Vector" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "1877286395", - "method": "auth.checkPhone", - "params": [ - { - "name": "phone_number", - "type": "string" - } - ], - "type": "auth.CheckedPhone" - }, - { - "id": "-2035355412", - "method": "auth.sendCode", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "allow_flashcall", - "type": "flags.0?true" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "current_number", - "type": "flags.0?Bool" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "453408308", - "method": "auth.signUp", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - }, - { - "name": "first_name", - "type": "string" - }, - { - "name": "last_name", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1126886015", - "method": "auth.signIn", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "1461180992", - "method": "auth.logOut", - "params": [], - "type": "Bool" - }, - { - "id": "-1616179942", - "method": "auth.resetAuthorizations", - "params": [], - "type": "Bool" - }, - { - "id": "1998331287", - "method": "auth.sendInvites", - "params": [ - { - "name": "phone_numbers", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-440401971", - "method": "auth.exportAuthorization", - "params": [ - { - "name": "dc_id", - "type": "int" - } - ], - "type": "auth.ExportedAuthorization" - }, - { - "id": "-470837741", - "method": "auth.importAuthorization", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-841733627", - "method": "auth.bindTempAuthKey", - "params": [ - { - "name": "perm_auth_key_id", - "type": "long" - }, - { - "name": "nonce", - "type": "long" - }, - { - "name": "expires_at", - "type": "int" - }, - { - "name": "encrypted_message", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1669245048", - "method": "account.registerDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1707432768", - "method": "account.unregisterDevice", - "params": [ - { - "name": "token_type", - "type": "int" - }, - { - "name": "token", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-2067899501", - "method": "account.updateNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - }, - { - "name": "settings", - "type": "InputPeerNotifySettings" - } - ], - "type": "Bool" - }, - { - "id": "313765169", - "method": "account.getNotifySettings", - "params": [ - { - "name": "peer", - "type": "InputNotifyPeer" - } - ], - "type": "PeerNotifySettings" - }, - { - "id": "-612493497", - "method": "account.resetNotifySettings", - "params": [], - "type": "Bool" - }, - { - "id": "2018596725", - "method": "account.updateProfile", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "first_name", - "type": "flags.0?string" - }, - { - "name": "last_name", - "type": "flags.1?string" - }, - { - "name": "about", - "type": "flags.2?string" - } - ], - "type": "User" - }, - { - "id": "1713919532", - "method": "account.updateStatus", - "params": [ - { - "name": "offline", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-1068696894", - "method": "account.getWallPapers", - "params": [], - "type": "Vector" - }, - { - "id": "-1374118561", - "method": "account.reportPeer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reason", - "type": "ReportReason" - } - ], - "type": "Bool" - }, - { - "id": "227648840", - "method": "users.getUsers", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-902781519", - "method": "users.getFullUser", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "UserFull" - }, - { - "id": "-995929106", - "method": "contacts.getStatuses", - "params": [], - "type": "Vector" - }, - { - "id": "583445000", - "method": "contacts.getContacts", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "contacts.Contacts" - }, - { - "id": "-634342611", - "method": "contacts.importContacts", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "replace", - "type": "Bool" - } - ], - "type": "contacts.ImportedContacts" - }, - { - "id": "-1902823612", - "method": "contacts.deleteContact", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "contacts.Link" - }, - { - "id": "1504393374", - "method": "contacts.deleteContacts", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "858475004", - "method": "contacts.block", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-448724803", - "method": "contacts.unblock", - "params": [ - { - "name": "id", - "type": "InputUser" - } - ], - "type": "Bool" - }, - { - "id": "-176409329", - "method": "contacts.getBlocked", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Blocked" - }, - { - "id": "-2065352905", - "method": "contacts.exportCard", - "params": [], - "type": "Vector" - }, - { - "id": "1340184318", - "method": "contacts.importCard", - "params": [ - { - "name": "export_card", - "type": "Vector" - } - ], - "type": "User" - }, - { - "id": "1109588596", - "method": "messages.getMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "1799878989", - "method": "messages.getDialogs", - "params": [ - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Dialogs" - }, - { - "id": "-1347868602", - "method": "messages.getHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "add_offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "min_id", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "-732523960", - "method": "messages.search", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "238054714", - "method": "messages.readHistory", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "469850889", - "method": "messages.deleteHistory", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "just_clear", - "type": "flags.0?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-1510897371", - "method": "messages.deleteMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "94983360", - "method": "messages.receivedMessages", - "params": [ - { - "name": "max_id", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-1551737264", - "method": "messages.setTyping", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "action", - "type": "SendMessageAction" - } - ], - "type": "Bool" - }, - { - "id": "-91733382", - "method": "messages.sendMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "clear_draft", - "type": "flags.7?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "-923703407", - "method": "messages.sendMedia", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "clear_draft", - "type": "flags.7?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - } - ], - "type": "Updates" - }, - { - "id": "1888354709", - "method": "messages.forwardMessages", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "from_peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "to_peer", - "type": "InputPeer" - } - ], - "type": "Updates" - }, - { - "id": "-820669733", - "method": "messages.reportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "-1460572005", - "method": "messages.hideReportSpam", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "913498268", - "method": "messages.getPeerSettings", - "params": [ - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "PeerSettings" - }, - { - "id": "1013621127", - "method": "messages.getChats", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "998448230", - "method": "messages.getFullChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-599447467", - "method": "messages.editChatTitle", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-900957736", - "method": "messages.editChatPhoto", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "-106911223", - "method": "messages.addChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "fwd_limit", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-530505962", - "method": "messages.deleteChatUser", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "Updates" - }, - { - "id": "164303470", - "method": "messages.createChat", - "params": [ - { - "name": "users", - "type": "Vector" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-304838614", - "method": "updates.getState", - "params": [], - "type": "updates.State" - }, - { - "id": "168039573", - "method": "updates.getDifference", - "params": [ - { - "name": "pts", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "qts", - "type": "int" - } - ], - "type": "updates.Difference" - }, - { - "id": "-285902432", - "method": "photos.updateProfilePhoto", - "params": [ - { - "name": "id", - "type": "InputPhoto" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "UserProfilePhoto" - }, - { - "id": "-720397176", - "method": "photos.uploadProfilePhoto", - "params": [ - { - "name": "file", - "type": "InputFile" - }, - { - "name": "caption", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "crop", - "type": "InputPhotoCrop" - } - ], - "type": "photos.Photo" - }, - { - "id": "-2016444625", - "method": "photos.deletePhotos", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, - { - "id": "-1291540959", - "method": "upload.saveFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "-475607115", - "method": "upload.getFile", - "params": [ - { - "name": "location", - "type": "InputFileLocation" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "upload.File" - }, - { - "id": "-990308245", - "method": "help.getConfig", - "params": [], - "type": "Config" - }, - { - "id": "531836966", - "method": "help.getNearestDc", - "params": [], - "type": "NearestDc" - }, - { - "id": "-1372724842", - "method": "help.getAppUpdate", - "params": [], - "type": "help.AppUpdate" - }, - { - "id": "1862465352", - "method": "help.saveAppLog", - "params": [ - { - "name": "events", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "1295590211", - "method": "help.getInviteText", - "params": [], - "type": "help.InviteText" - }, - { - "id": "-1848823128", - "method": "photos.getUserPhotos", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "long" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "photos.Photos" - }, - { - "id": "865483769", - "method": "messages.forwardMessage", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "Updates" - }, - { - "id": "-1082919718", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "random_id", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "Updates" - }, - { - "id": "651135312", - "method": "messages.getDhConfig", - "params": [ - { - "name": "version", - "type": "int" - }, - { - "name": "random_length", - "type": "int" - } - ], - "type": "messages.DhConfig" - }, - { - "id": "-162681021", - "method": "messages.requestEncryption", - "params": [ - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "random_id", - "type": "int" - }, - { - "name": "g_a", - "type": "bytes" - } - ], - "type": "EncryptedChat" - }, - { - "id": "1035731989", - "method": "messages.acceptEncryption", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "g_b", - "type": "bytes" - }, - { - "name": "key_fingerprint", - "type": "long" - } - ], - "type": "EncryptedChat" - }, - { - "id": "-304536635", - "method": "messages.discardEncryption", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "2031374829", - "method": "messages.setEncryptedTyping", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "2135648522", - "method": "messages.readEncryptedHistory", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "max_date", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-1451792525", - "method": "messages.sendEncrypted", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "-1701831834", - "method": "messages.sendEncryptedFile", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - }, - { - "name": "file", - "type": "InputEncryptedFile" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "852769188", - "method": "messages.sendEncryptedService", - "params": [ - { - "name": "peer", - "type": "InputEncryptedChat" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.SentEncryptedMessage" - }, - { - "id": "1436924774", - "method": "messages.receivedQueue", - "params": [ - { - "name": "max_qts", - "type": "int" - } - ], - "type": "Vector" - }, - { - "id": "-562337987", - "method": "upload.saveBigFilePart", - "params": [ - { - "name": "file_id", - "type": "long" - }, - { - "name": "file_part", - "type": "int" - }, - { - "name": "file_total_parts", - "type": "int" - }, - { - "name": "bytes", - "type": "bytes" - } - ], - "type": "Bool" - }, - { - "id": "1769565673", - "method": "initConnection", - "params": [ - { - "name": "api_id", - "type": "int" - }, - { - "name": "device_model", - "type": "string" - }, - { - "name": "system_version", - "type": "string" - }, - { - "name": "app_version", - "type": "string" - }, - { - "name": "lang_code", - "type": "string" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-1663104819", - "method": "help.getSupport", - "params": [], - "type": "help.Support" - }, - { - "id": "916930423", - "method": "messages.readMessageContents", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "655677548", - "method": "account.checkUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "1040964988", - "method": "account.updateUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "301470424", - "method": "contacts.search", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Found" - }, - { - "id": "-623130288", - "method": "account.getPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "-906486552", - "method": "account.setPrivacy", - "params": [ - { - "name": "key", - "type": "InputPrivacyKey" - }, - { - "name": "rules", - "type": "Vector" - } - ], - "type": "account.PrivacyRules" - }, - { - "id": "1099779595", - "method": "account.deleteAccount", - "params": [ - { - "name": "reason", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "150761757", - "method": "account.getAccountTTL", - "params": [], - "type": "AccountDaysTTL" - }, - { - "id": "608323678", - "method": "account.setAccountTTL", - "params": [ - { - "name": "ttl", - "type": "AccountDaysTTL" - } - ], - "type": "Bool" - }, - { - "id": "-627372787", - "method": "invokeWithLayer", - "params": [ - { - "name": "layer", - "type": "int" - }, - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "-113456221", - "method": "contacts.resolveUsername", - "params": [ - { - "name": "username", - "type": "string" - } - ], - "type": "contacts.ResolvedPeer" - }, - { - "id": "149257707", - "method": "account.sendChangePhoneCode", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "allow_flashcall", - "type": "flags.0?true" - }, - { - "name": "phone_number", - "type": "string" - }, - { - "name": "current_number", - "type": "flags.0?Bool" - } - ], - "type": "auth.SentCode" - }, - { - "id": "1891839707", - "method": "account.changePhone", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - }, - { - "name": "phone_code", - "type": "string" - } - ], - "type": "User" - }, - { - "id": "-1373446075", - "method": "messages.getStickers", - "params": [ - { - "name": "emoticon", - "type": "string" - }, - { - "name": "hash", - "type": "string" - } - ], - "type": "messages.Stickers" - }, - { - "id": "479598769", - "method": "messages.getAllStickers", - "params": [ - { - "name": "hash", - "type": "int" - } - ], - "type": "messages.AllStickers" - }, - { - "id": "954152242", - "method": "account.updateDeviceLocked", - "params": [ - { - "name": "period", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "1738800940", - "method": "auth.importBotAuthorization", - "params": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "api_id", - "type": "int" - }, - { - "name": "api_hash", - "type": "string" - }, - { - "name": "bot_auth_token", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "623001124", - "method": "messages.getWebPagePreview", - "params": [ - { - "name": "message", - "type": "string" - } - ], - "type": "MessageMedia" - }, - { - "id": "-484392616", - "method": "account.getAuthorizations", - "params": [], - "type": "account.Authorizations" - }, - { - "id": "-545786948", - "method": "account.resetAuthorization", - "params": [ - { - "name": "hash", - "type": "long" - } - ], - "type": "Bool" - }, - { - "id": "1418342645", - "method": "account.getPassword", - "params": [], - "type": "account.Password" - }, - { - "id": "-1131605573", - "method": "account.getPasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - } - ], - "type": "account.PasswordSettings" - }, - { - "id": "-92517498", - "method": "account.updatePasswordSettings", - "params": [ - { - "name": "current_password_hash", - "type": "bytes" - }, - { - "name": "new_settings", - "type": "account.PasswordInputSettings" - } - ], - "type": "Bool" - }, - { - "id": "174260510", - "method": "auth.checkPassword", - "params": [ - { - "name": "password_hash", - "type": "bytes" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-661144474", - "method": "auth.requestPasswordRecovery", - "params": [], - "type": "auth.PasswordRecovery" - }, - { - "id": "1319464594", - "method": "auth.recoverPassword", - "params": [ - { - "name": "code", - "type": "string" - } - ], - "type": "auth.Authorization" - }, - { - "id": "-1080796745", - "method": "invokeWithoutUpdates", - "params": [ - { - "name": "query", - "type": "!X" - } - ], - "type": "X" - }, - { - "id": "2106086025", - "method": "messages.exportChatInvite", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "1051570619", - "method": "messages.checkChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "ChatInvite" - }, - { - "id": "1817183516", - "method": "messages.importChatInvite", - "params": [ - { - "name": "hash", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "639215886", - "method": "messages.getStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "messages.StickerSet" - }, - { - "id": "2066793382", - "method": "messages.installStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - }, - { - "name": "disabled", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "-110209570", - "method": "messages.uninstallStickerSet", - "params": [ - { - "name": "stickerset", - "type": "InputStickerSet" - } - ], - "type": "Bool" - }, - { - "id": "-421563528", - "method": "messages.startBot", - "params": [ - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "start_param", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-1189013126", - "method": "help.getAppChangelog", - "params": [], - "type": "help.AppChangelog" - }, - { - "id": "-993483427", - "method": "messages.getMessagesViews", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "Vector" - }, - { - "name": "increment", - "type": "Bool" - } - ], - "type": "Vector" - }, - { - "id": "-871347913", - "method": "channels.readHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "max_id", - "type": "int" - } - ], - "type": "Bool" - }, - { - "id": "-2067661490", - "method": "channels.deleteMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.AffectedMessages" - }, - { - "id": "-787622117", - "method": "channels.deleteUserHistory", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "messages.AffectedHistory" - }, - { - "id": "-32999408", - "method": "channels.reportSpam", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1814580409", - "method": "channels.getMessages", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Messages" - }, - { - "id": "618237842", - "method": "channels.getParticipants", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelParticipantsFilter" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "channels.ChannelParticipants" - }, - { - "id": "1416484774", - "method": "channels.getParticipant", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - } - ], - "type": "channels.ChannelParticipant" - }, - { - "id": "176122811", - "method": "channels.getChannels", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "messages.Chats" - }, - { - "id": "141781513", - "method": "channels.getFullChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "-192332417", - "method": "channels.createChannel", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "broadcast", - "type": "flags.0?true" - }, - { - "name": "megagroup", - "type": "flags.1?true" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "333610782", - "method": "channels.editAbout", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "about", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-344583728", - "method": "channels.editAdmin", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "role", - "type": "ChannelParticipantRole" - } - ], - "type": "Updates" - }, - { - "id": "1450044624", - "method": "channels.editTitle", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "title", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "-248621111", - "method": "channels.editPhoto", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "Updates" - }, - { - "id": "283557164", - "method": "channels.checkUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "890549214", - "method": "channels.updateUsername", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "username", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "615851205", - "method": "channels.joinChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-130635115", - "method": "channels.leaveChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "429865580", - "method": "channels.inviteToChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "Updates" - }, - { - "id": "-1502421484", - "method": "channels.kickFromChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "kicked", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-950663035", - "method": "channels.exportInvite", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "ExportedChatInvite" - }, - { - "id": "-1072619549", - "method": "channels.deleteChannel", - "params": [ - { - "name": "channel", - "type": "InputChannel" - } - ], - "type": "Updates" - }, - { - "id": "-1154295872", - "method": "updates.getChannelDifference", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "filter", - "type": "ChannelMessagesFilter" - }, - { - "name": "pts", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "updates.ChannelDifference" - }, - { - "id": "-326379039", - "method": "messages.toggleChatAdmins", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1444503762", - "method": "messages.editChatAdmin", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "user_id", - "type": "InputUser" - }, - { - "name": "is_admin", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "363051235", - "method": "messages.migrateChat", - "params": [ - { - "name": "chat_id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "-1640190800", - "method": "messages.searchGlobal", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset_date", - "type": "int" - }, - { - "name": "offset_peer", - "type": "InputPeer" - }, - { - "name": "offset_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "messages.Messages" - }, - { - "id": "889286899", - "method": "help.getTermsOfService", - "params": [], - "type": "help.TermsOfService" - }, - { - "id": "-1613775824", - "method": "messages.reorderStickerSets", - "params": [ - { - "name": "order", - "type": "Vector" - } - ], - "type": "Bool" - }, - { - "id": "864953444", - "method": "messages.getDocumentByHash", - "params": [ - { - "name": "sha256", - "type": "bytes" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "mime_type", - "type": "string" - } - ], - "type": "Document" - }, - { - "id": "-1080395925", - "method": "messages.searchGifs", - "params": [ - { - "name": "q", - "type": "string" - }, - { - "name": "offset", - "type": "int" - } - ], - "type": "messages.FoundGifs" - }, - { - "id": "-2084618926", - "method": "messages.getSavedGifs", - "params": [ - { - "name": "hash", - "type": "int" - } - ], - "type": "messages.SavedGifs" - }, - { - "id": "846868683", - "method": "messages.saveGif", - "params": [ - { - "name": "id", - "type": "InputDocument" - }, - { - "name": "unsave", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "1364105629", - "method": "messages.getInlineBotResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "bot", - "type": "InputUser" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "geo_point", - "type": "flags.0?InputGeoPoint" - }, - { - "name": "query", - "type": "string" - }, - { - "name": "offset", - "type": "string" - } - ], - "type": "messages.BotResults" - }, - { - "id": "-346119674", - "method": "messages.setInlineBotResults", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "gallery", - "type": "flags.0?true" - }, - { - "name": "private", - "type": "flags.1?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "results", - "type": "Vector" - }, - { - "name": "cache_time", - "type": "int" - }, - { - "name": "next_offset", - "type": "flags.2?string" - }, - { - "name": "switch_pm", - "type": "flags.3?InlineBotSwitchPM" - } - ], - "type": "Bool" - }, - { - "id": "-1318189314", - "method": "messages.sendInlineBotResult", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "silent", - "type": "flags.5?true" - }, - { - "name": "background", - "type": "flags.6?true" - }, - { - "name": "clear_draft", - "type": "flags.7?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "random_id", - "type": "long" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "id", - "type": "string" - } - ], - "type": "Updates" - }, - { - "id": "1231065863", - "method": "channels.toggleInvites", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-934882771", - "method": "channels.exportMessageLink", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "ExportedMessageLink" - }, - { - "id": "527021574", - "method": "channels.toggleSignatures", - "params": [ - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "enabled", - "type": "Bool" - } - ], - "type": "Updates" - }, - { - "id": "-1490162350", - "method": "channels.updatePinnedMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "silent", - "type": "flags.0?true" - }, - { - "name": "channel", - "type": "InputChannel" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "Updates" - }, - { - "id": "1056025023", - "method": "auth.resendCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "auth.SentCode" - }, - { - "id": "520357240", - "method": "auth.cancelCode", - "params": [ - { - "name": "phone_number", - "type": "string" - }, - { - "name": "phone_code_hash", - "type": "string" - } - ], - "type": "Bool" - }, - { - "id": "-39416522", - "method": "messages.getMessageEditData", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "messages.MessageEditData" - }, - { - "id": "-829299510", - "method": "messages.editMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "message", - "type": "flags.11?string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Updates" - }, - { - "id": "319564933", - "method": "messages.editInlineBotMessage", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "id", - "type": "InputBotInlineMessageID" - }, - { - "name": "message", - "type": "flags.11?string" - }, - { - "name": "reply_markup", - "type": "flags.2?ReplyMarkup" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Bool" - }, - { - "id": "-1494659324", - "method": "messages.getBotCallbackAnswer", - "params": [ - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "msg_id", - "type": "int" - }, - { - "name": "data", - "type": "bytes" - } - ], - "type": "messages.BotCallbackAnswer" - }, - { - "id": "1209817370", - "method": "messages.setBotCallbackAnswer", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "alert", - "type": "flags.1?true" - }, - { - "name": "query_id", - "type": "long" - }, - { - "name": "message", - "type": "flags.0?string" - } - ], - "type": "Bool" - }, - { - "id": "-728224331", - "method": "contacts.getTopPeers", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "correspondents", - "type": "flags.0?true" - }, - { - "name": "bots_pm", - "type": "flags.1?true" - }, - { - "name": "bots_inline", - "type": "flags.2?true" - }, - { - "name": "groups", - "type": "flags.10?true" - }, - { - "name": "channels", - "type": "flags.15?true" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - }, - { - "name": "hash", - "type": "int" - } - ], - "type": "contacts.TopPeers" - }, - { - "id": "451113900", - "method": "contacts.resetTopPeerRating", - "params": [ - { - "name": "category", - "type": "TopPeerCategory" - }, - { - "name": "peer", - "type": "InputPeer" - } - ], - "type": "Bool" - }, - { - "id": "764901049", - "method": "messages.getPeerDialogs", - "params": [ - { - "name": "peers", - "type": "Vector" - } - ], - "type": "messages.PeerDialogs" - }, - { - "id": "-1137057461", - "method": "messages.saveDraft", - "params": [ - { - "name": "flags", - "type": "#" - }, - { - "name": "no_webpage", - "type": "flags.1?true" - }, - { - "name": "reply_to_msg_id", - "type": "flags.0?int" - }, - { - "name": "peer", - "type": "InputPeer" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "entities", - "type": "flags.3?Vector" - } - ], - "type": "Bool" - }, - { - "id": "1782549861", - "method": "messages.getAllDrafts", - "params": [], - "type": "Updates" - } - ] -} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v55.json b/src/danog/MadelineProto/TL_telegram_v55.json deleted file mode 100644 index 28b7db4a..00000000 --- a/src/danog/MadelineProto/TL_telegram_v55.json +++ /dev/null @@ -1 +0,0 @@ -{"constructors":[{"id":"-1132882121","predicate":"boolFalse","params":[],"type":"Bool"},{"id":"-1720552011","predicate":"boolTrue","params":[],"type":"Bool"},{"id":"1072550713","predicate":"true","params":[],"type":"True"},{"id":"481674261","predicate":"vector","params":[],"type":"Vector t"},{"id":"-994444869","predicate":"error","params":[{"name":"code","type":"int"},{"name":"text","type":"string"}],"type":"Error"},{"id":"1450380236","predicate":"null","params":[],"type":"Null"},{"id":"2134579434","predicate":"inputPeerEmpty","params":[],"type":"InputPeer"},{"id":"2107670217","predicate":"inputPeerSelf","params":[],"type":"InputPeer"},{"id":"396093539","predicate":"inputPeerChat","params":[{"name":"chat_id","type":"int"}],"type":"InputPeer"},{"id":"-1182234929","predicate":"inputUserEmpty","params":[],"type":"InputUser"},{"id":"-138301121","predicate":"inputUserSelf","params":[],"type":"InputUser"},{"id":"-208488460","predicate":"inputPhoneContact","params":[{"name":"client_id","type":"long"},{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"InputContact"},{"id":"-181407105","predicate":"inputFile","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"},{"name":"md5_checksum","type":"string"}],"type":"InputFile"},{"id":"-1771768449","predicate":"inputMediaEmpty","params":[],"type":"InputMedia"},{"id":"-139464256","predicate":"inputMediaUploadedPhoto","params":[{"name":"file","type":"InputFile"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"-373312269","predicate":"inputMediaPhoto","params":[{"name":"id","type":"InputPhoto"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"-104578748","predicate":"inputMediaGeoPoint","params":[{"name":"geo_point","type":"InputGeoPoint"}],"type":"InputMedia"},{"id":"-1494984313","predicate":"inputMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"InputMedia"},{"id":"480546647","predicate":"inputChatPhotoEmpty","params":[],"type":"InputChatPhoto"},{"id":"-1809496270","predicate":"inputChatUploadedPhoto","params":[{"name":"file","type":"InputFile"},{"name":"crop","type":"InputPhotoCrop"}],"type":"InputChatPhoto"},{"id":"-1293828344","predicate":"inputChatPhoto","params":[{"name":"id","type":"InputPhoto"},{"name":"crop","type":"InputPhotoCrop"}],"type":"InputChatPhoto"},{"id":"-457104426","predicate":"inputGeoPointEmpty","params":[],"type":"InputGeoPoint"},{"id":"-206066487","predicate":"inputGeoPoint","params":[{"name":"lat","type":"double"},{"name":"long","type":"double"}],"type":"InputGeoPoint"},{"id":"483901197","predicate":"inputPhotoEmpty","params":[],"type":"InputPhoto"},{"id":"-74070332","predicate":"inputPhoto","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPhoto"},{"id":"342061462","predicate":"inputFileLocation","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"InputFileLocation"},{"id":"-1377390588","predicate":"inputPhotoCropAuto","params":[],"type":"InputPhotoCrop"},{"id":"-644787419","predicate":"inputPhotoCrop","params":[{"name":"crop_left","type":"double"},{"name":"crop_top","type":"double"},{"name":"crop_width","type":"double"}],"type":"InputPhotoCrop"},{"id":"1996904104","predicate":"inputAppEvent","params":[{"name":"time","type":"double"},{"name":"type","type":"string"},{"name":"peer","type":"long"},{"name":"data","type":"string"}],"type":"InputAppEvent"},{"id":"-1649296275","predicate":"peerUser","params":[{"name":"user_id","type":"int"}],"type":"Peer"},{"id":"-1160714821","predicate":"peerChat","params":[{"name":"chat_id","type":"int"}],"type":"Peer"},{"id":"-1432995067","predicate":"storage.fileUnknown","params":[],"type":"storage.FileType"},{"id":"8322574","predicate":"storage.fileJpeg","params":[],"type":"storage.FileType"},{"id":"-891180321","predicate":"storage.fileGif","params":[],"type":"storage.FileType"},{"id":"172975040","predicate":"storage.filePng","params":[],"type":"storage.FileType"},{"id":"-1373745011","predicate":"storage.filePdf","params":[],"type":"storage.FileType"},{"id":"1384777335","predicate":"storage.fileMp3","params":[],"type":"storage.FileType"},{"id":"1258941372","predicate":"storage.fileMov","params":[],"type":"storage.FileType"},{"id":"1086091090","predicate":"storage.filePartial","params":[],"type":"storage.FileType"},{"id":"-1278304028","predicate":"storage.fileMp4","params":[],"type":"storage.FileType"},{"id":"276907596","predicate":"storage.fileWebp","params":[],"type":"storage.FileType"},{"id":"2086234950","predicate":"fileLocationUnavailable","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"FileLocation"},{"id":"1406570614","predicate":"fileLocation","params":[{"name":"dc_id","type":"int"},{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"FileLocation"},{"id":"537022650","predicate":"userEmpty","params":[{"name":"id","type":"int"}],"type":"User"},{"id":"1326562017","predicate":"userProfilePhotoEmpty","params":[],"type":"UserProfilePhoto"},{"id":"-715532088","predicate":"userProfilePhoto","params":[{"name":"photo_id","type":"long"},{"name":"photo_small","type":"FileLocation"},{"name":"photo_big","type":"FileLocation"}],"type":"UserProfilePhoto"},{"id":"164646985","predicate":"userStatusEmpty","params":[],"type":"UserStatus"},{"id":"-306628279","predicate":"userStatusOnline","params":[{"name":"expires","type":"int"}],"type":"UserStatus"},{"id":"9203775","predicate":"userStatusOffline","params":[{"name":"was_online","type":"int"}],"type":"UserStatus"},{"id":"-1683826688","predicate":"chatEmpty","params":[{"name":"id","type":"int"}],"type":"Chat"},{"id":"-652419756","predicate":"chat","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"kicked","type":"flags.1?true"},{"name":"left","type":"flags.2?true"},{"name":"admins_enabled","type":"flags.3?true"},{"name":"admin","type":"flags.4?true"},{"name":"deactivated","type":"flags.5?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"photo","type":"ChatPhoto"},{"name":"participants_count","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"migrated_to","type":"flags.6?InputChannel"}],"type":"Chat"},{"id":"120753115","predicate":"chatForbidden","params":[{"name":"id","type":"int"},{"name":"title","type":"string"}],"type":"Chat"},{"id":"771925524","predicate":"chatFull","params":[{"name":"id","type":"int"},{"name":"participants","type":"ChatParticipants"},{"name":"chat_photo","type":"Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"ExportedChatInvite"},{"name":"bot_info","type":"Vector"}],"type":"ChatFull"},{"id":"-925415106","predicate":"chatParticipant","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-57668565","predicate":"chatParticipantsForbidden","params":[{"name":"flags","type":"#"},{"name":"chat_id","type":"int"},{"name":"self_participant","type":"flags.0?ChatParticipant"}],"type":"ChatParticipants"},{"id":"1061556205","predicate":"chatParticipants","params":[{"name":"chat_id","type":"int"},{"name":"participants","type":"Vector"},{"name":"version","type":"int"}],"type":"ChatParticipants"},{"id":"935395612","predicate":"chatPhotoEmpty","params":[],"type":"ChatPhoto"},{"id":"1632839530","predicate":"chatPhoto","params":[{"name":"photo_small","type":"FileLocation"},{"name":"photo_big","type":"FileLocation"}],"type":"ChatPhoto"},{"id":"-2082087340","predicate":"messageEmpty","params":[{"name":"id","type":"int"}],"type":"Message"},{"id":"-1063525281","predicate":"message","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?int"},{"name":"to_id","type":"Peer"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"date","type":"int"},{"name":"message","type":"string"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"reply_markup","type":"flags.6?ReplyMarkup"},{"name":"entities","type":"flags.7?Vector"},{"name":"views","type":"flags.10?int"},{"name":"edit_date","type":"flags.15?int"}],"type":"Message"},{"id":"-1642487306","predicate":"messageService","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?int"},{"name":"to_id","type":"Peer"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"date","type":"int"},{"name":"action","type":"MessageAction"}],"type":"Message"},{"id":"1038967584","predicate":"messageMediaEmpty","params":[],"type":"MessageMedia"},{"id":"1032643901","predicate":"messageMediaPhoto","params":[{"name":"photo","type":"Photo"},{"name":"caption","type":"string"}],"type":"MessageMedia"},{"id":"1457575028","predicate":"messageMediaGeo","params":[{"name":"geo","type":"GeoPoint"}],"type":"MessageMedia"},{"id":"1585262393","predicate":"messageMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"user_id","type":"int"}],"type":"MessageMedia"},{"id":"-1618676578","predicate":"messageMediaUnsupported","params":[],"type":"MessageMedia"},{"id":"-1230047312","predicate":"messageActionEmpty","params":[],"type":"MessageAction"},{"id":"-1503425638","predicate":"messageActionChatCreate","params":[{"name":"title","type":"string"},{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1247687078","predicate":"messageActionChatEditTitle","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"2144015272","predicate":"messageActionChatEditPhoto","params":[{"name":"photo","type":"Photo"}],"type":"MessageAction"},{"id":"-1780220945","predicate":"messageActionChatDeletePhoto","params":[],"type":"MessageAction"},{"id":"1217033015","predicate":"messageActionChatAddUser","params":[{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1297179892","predicate":"messageActionChatDeleteUser","params":[{"name":"user_id","type":"int"}],"type":"MessageAction"},{"id":"1728035348","predicate":"dialog","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"pts","type":"flags.0?int"},{"name":"draft","type":"flags.1?DraftMessage"}],"type":"Dialog"},{"id":"590459437","predicate":"photoEmpty","params":[{"name":"id","type":"long"}],"type":"Photo"},{"id":"-840088834","predicate":"photo","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"sizes","type":"Vector"}],"type":"Photo"},{"id":"236446268","predicate":"photoSizeEmpty","params":[{"name":"type","type":"string"}],"type":"PhotoSize"},{"id":"2009052699","predicate":"photoSize","params":[{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"}],"type":"PhotoSize"},{"id":"-374917894","predicate":"photoCachedSize","params":[{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"286776671","predicate":"geoPointEmpty","params":[],"type":"GeoPoint"},{"id":"541710092","predicate":"geoPoint","params":[{"name":"long","type":"double"},{"name":"lat","type":"double"}],"type":"GeoPoint"},{"id":"-2128698738","predicate":"auth.checkedPhone","params":[{"name":"phone_registered","type":"Bool"}],"type":"auth.CheckedPhone"},{"id":"1577067778","predicate":"auth.sentCode","params":[{"name":"flags","type":"#"},{"name":"phone_registered","type":"flags.0?true"},{"name":"type","type":"auth.SentCodeType"},{"name":"phone_code_hash","type":"string"},{"name":"next_type","type":"flags.1?auth.CodeType"},{"name":"timeout","type":"flags.2?int"}],"type":"auth.SentCode"},{"id":"-855308010","predicate":"auth.authorization","params":[{"name":"flags","type":"#"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"user","type":"User"}],"type":"auth.Authorization"},{"id":"-543777747","predicate":"auth.exportedAuthorization","params":[{"name":"id","type":"int"},{"name":"bytes","type":"bytes"}],"type":"auth.ExportedAuthorization"},{"id":"-1195615476","predicate":"inputNotifyPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputNotifyPeer"},{"id":"423314455","predicate":"inputNotifyUsers","params":[],"type":"InputNotifyPeer"},{"id":"1251338318","predicate":"inputNotifyChats","params":[],"type":"InputNotifyPeer"},{"id":"-1540769658","predicate":"inputNotifyAll","params":[],"type":"InputNotifyPeer"},{"id":"-265263912","predicate":"inputPeerNotifyEventsEmpty","params":[],"type":"InputPeerNotifyEvents"},{"id":"-395694988","predicate":"inputPeerNotifyEventsAll","params":[],"type":"InputPeerNotifyEvents"},{"id":"949182130","predicate":"inputPeerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?true"},{"name":"silent","type":"flags.1?true"},{"name":"mute_until","type":"int"},{"name":"sound","type":"string"}],"type":"InputPeerNotifySettings"},{"id":"-1378534221","predicate":"peerNotifyEventsEmpty","params":[],"type":"PeerNotifyEvents"},{"id":"1830677896","predicate":"peerNotifyEventsAll","params":[],"type":"PeerNotifyEvents"},{"id":"1889961234","predicate":"peerNotifySettingsEmpty","params":[],"type":"PeerNotifySettings"},{"id":"-1697798976","predicate":"peerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?true"},{"name":"silent","type":"flags.1?true"},{"name":"mute_until","type":"int"},{"name":"sound","type":"string"}],"type":"PeerNotifySettings"},{"id":"-2122045747","predicate":"peerSettings","params":[{"name":"flags","type":"#"},{"name":"report_spam","type":"flags.0?true"}],"type":"PeerSettings"},{"id":"-860866985","predicate":"wallPaper","params":[{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"sizes","type":"Vector"},{"name":"color","type":"int"}],"type":"WallPaper"},{"id":"1490799288","predicate":"inputReportReasonSpam","params":[],"type":"ReportReason"},{"id":"505595789","predicate":"inputReportReasonViolence","params":[],"type":"ReportReason"},{"id":"777640226","predicate":"inputReportReasonPornography","params":[],"type":"ReportReason"},{"id":"-512463606","predicate":"inputReportReasonOther","params":[{"name":"text","type":"string"}],"type":"ReportReason"},{"id":"1496513539","predicate":"userFull","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"user","type":"User"},{"name":"about","type":"flags.1?string"},{"name":"link","type":"contacts.Link"},{"name":"profile_photo","type":"flags.2?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"bot_info","type":"flags.3?BotInfo"}],"type":"UserFull"},{"id":"-116274796","predicate":"contact","params":[{"name":"user_id","type":"int"},{"name":"mutual","type":"Bool"}],"type":"Contact"},{"id":"-805141448","predicate":"importedContact","params":[{"name":"user_id","type":"int"},{"name":"client_id","type":"long"}],"type":"ImportedContact"},{"id":"1444661369","predicate":"contactBlocked","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"ContactBlocked"},{"id":"-748155807","predicate":"contactStatus","params":[{"name":"user_id","type":"int"},{"name":"status","type":"UserStatus"}],"type":"ContactStatus"},{"id":"986597452","predicate":"contacts.link","params":[{"name":"my_link","type":"ContactLink"},{"name":"foreign_link","type":"ContactLink"},{"name":"user","type":"User"}],"type":"contacts.Link"},{"id":"-1219778094","predicate":"contacts.contactsNotModified","params":[],"type":"contacts.Contacts"},{"id":"1871416498","predicate":"contacts.contacts","params":[{"name":"contacts","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Contacts"},{"id":"-1387117803","predicate":"contacts.importedContacts","params":[{"name":"imported","type":"Vector"},{"name":"retry_contacts","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"471043349","predicate":"contacts.blocked","params":[{"name":"blocked","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"-1878523231","predicate":"contacts.blockedSlice","params":[{"name":"count","type":"int"},{"name":"blocked","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"364538944","predicate":"messages.dialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"1910543603","predicate":"messages.dialogsSlice","params":[{"name":"count","type":"int"},{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"-1938715001","predicate":"messages.messages","params":[{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"189033187","predicate":"messages.messagesSlice","params":[{"name":"count","type":"int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"1694474197","predicate":"messages.chats","params":[{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-438840932","predicate":"messages.chatFull","params":[{"name":"full_chat","type":"ChatFull"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatFull"},{"id":"-1269012015","predicate":"messages.affectedHistory","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"offset","type":"int"}],"type":"messages.AffectedHistory"},{"id":"1474492012","predicate":"inputMessagesFilterEmpty","params":[],"type":"MessagesFilter"},{"id":"-1777752804","predicate":"inputMessagesFilterPhotos","params":[],"type":"MessagesFilter"},{"id":"-1614803355","predicate":"inputMessagesFilterVideo","params":[],"type":"MessagesFilter"},{"id":"1458172132","predicate":"inputMessagesFilterPhotoVideo","params":[],"type":"MessagesFilter"},{"id":"-648121413","predicate":"inputMessagesFilterPhotoVideoDocuments","params":[],"type":"MessagesFilter"},{"id":"-1629621880","predicate":"inputMessagesFilterDocument","params":[],"type":"MessagesFilter"},{"id":"2129714567","predicate":"inputMessagesFilterUrl","params":[],"type":"MessagesFilter"},{"id":"-3644025","predicate":"inputMessagesFilterGif","params":[],"type":"MessagesFilter"},{"id":"522914557","predicate":"updateNewMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1318109142","predicate":"updateMessageID","params":[{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Update"},{"id":"-1576161051","predicate":"updateDeleteMessages","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1548249383","predicate":"updateUserTyping","params":[{"name":"user_id","type":"int"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-1704596961","predicate":"updateChatUserTyping","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"125178264","predicate":"updateChatParticipants","params":[{"name":"participants","type":"ChatParticipants"}],"type":"Update"},{"id":"469489699","predicate":"updateUserStatus","params":[{"name":"user_id","type":"int"},{"name":"status","type":"UserStatus"}],"type":"Update"},{"id":"-1489818765","predicate":"updateUserName","params":[{"name":"user_id","type":"int"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"username","type":"string"}],"type":"Update"},{"id":"-1791935732","predicate":"updateUserPhoto","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"},{"name":"photo","type":"UserProfilePhoto"},{"name":"previous","type":"Bool"}],"type":"Update"},{"id":"628472761","predicate":"updateContactRegistered","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"Update"},{"id":"-1657903163","predicate":"updateContactLink","params":[{"name":"user_id","type":"int"},{"name":"my_link","type":"ContactLink"},{"name":"foreign_link","type":"ContactLink"}],"type":"Update"},{"id":"-1895411046","predicate":"updateNewAuthorization","params":[{"name":"auth_key_id","type":"long"},{"name":"date","type":"int"},{"name":"device","type":"string"},{"name":"location","type":"string"}],"type":"Update"},{"id":"-1519637954","predicate":"updates.state","params":[{"name":"pts","type":"int"},{"name":"qts","type":"int"},{"name":"date","type":"int"},{"name":"seq","type":"int"},{"name":"unread_count","type":"int"}],"type":"updates.State"},{"id":"1567990072","predicate":"updates.differenceEmpty","params":[{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"updates.Difference"},{"id":"16030880","predicate":"updates.difference","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-1459938943","predicate":"updates.differenceSlice","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"intermediate_state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-484987010","predicate":"updatesTooLong","params":[],"type":"Updates"},{"id":"-1857044719","predicate":"updateShortMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"user_id","type":"int"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"377562760","predicate":"updateShortChatMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"from_id","type":"int"},{"name":"chat_id","type":"int"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"2027216577","predicate":"updateShort","params":[{"name":"update","type":"Update"},{"name":"date","type":"int"}],"type":"Updates"},{"id":"1918567619","predicate":"updatesCombined","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq_start","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"1957577280","predicate":"updates","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"-1916114267","predicate":"photos.photos","params":[{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"352657236","predicate":"photos.photosSlice","params":[{"name":"count","type":"int"},{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"539045032","predicate":"photos.photo","params":[{"name":"photo","type":"Photo"},{"name":"users","type":"Vector"}],"type":"photos.Photo"},{"id":"157948117","predicate":"upload.file","params":[{"name":"type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.File"},{"id":"98092748","predicate":"dcOption","params":[{"name":"flags","type":"#"},{"name":"ipv6","type":"flags.0?true"},{"name":"media_only","type":"flags.1?true"},{"name":"tcpo_only","type":"flags.2?true"},{"name":"id","type":"int"},{"name":"ip_address","type":"string"},{"name":"port","type":"int"}],"type":"DcOption"},{"id":"-1704251862","predicate":"config","params":[{"name":"flags","type":"#"},{"name":"date","type":"int"},{"name":"expires","type":"int"},{"name":"test_mode","type":"Bool"},{"name":"this_dc","type":"int"},{"name":"dc_options","type":"Vector"},{"name":"chat_size_max","type":"int"},{"name":"megagroup_size_max","type":"int"},{"name":"forwarded_count_max","type":"int"},{"name":"online_update_period_ms","type":"int"},{"name":"offline_blur_timeout_ms","type":"int"},{"name":"offline_idle_timeout_ms","type":"int"},{"name":"online_cloud_timeout_ms","type":"int"},{"name":"notify_cloud_delay_ms","type":"int"},{"name":"notify_default_delay_ms","type":"int"},{"name":"chat_big_size","type":"int"},{"name":"push_chat_period_ms","type":"int"},{"name":"push_chat_limit","type":"int"},{"name":"saved_gifs_limit","type":"int"},{"name":"edit_time_limit","type":"int"},{"name":"rating_e_decay","type":"int"},{"name":"stickers_recent_limit","type":"int"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"disabled_features","type":"Vector"}],"type":"Config"},{"id":"-1910892683","predicate":"nearestDc","params":[{"name":"country","type":"string"},{"name":"this_dc","type":"int"},{"name":"nearest_dc","type":"int"}],"type":"NearestDc"},{"id":"-1987579119","predicate":"help.appUpdate","params":[{"name":"id","type":"int"},{"name":"critical","type":"Bool"},{"name":"url","type":"string"},{"name":"text","type":"string"}],"type":"help.AppUpdate"},{"id":"-1000708810","predicate":"help.noAppUpdate","params":[],"type":"help.AppUpdate"},{"id":"415997816","predicate":"help.inviteText","params":[{"name":"message","type":"string"}],"type":"help.InviteText"},{"id":"1662091044","predicate":"wallPaperSolid","params":[{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"bg_color","type":"int"},{"name":"color","type":"int"}],"type":"WallPaper"},{"id":"314359194","predicate":"updateNewEncryptedMessage","params":[{"name":"message","type":"EncryptedMessage"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"386986326","predicate":"updateEncryptedChatTyping","params":[{"name":"chat_id","type":"int"}],"type":"Update"},{"id":"-1264392051","predicate":"updateEncryption","params":[{"name":"chat","type":"EncryptedChat"},{"name":"date","type":"int"}],"type":"Update"},{"id":"956179895","predicate":"updateEncryptedMessagesRead","params":[{"name":"chat_id","type":"int"},{"name":"max_date","type":"int"},{"name":"date","type":"int"}],"type":"Update"},{"id":"-1417756512","predicate":"encryptedChatEmpty","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"1006044124","predicate":"encryptedChatWaiting","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"}],"type":"EncryptedChat"},{"id":"-931638658","predicate":"encryptedChatRequested","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"-94974410","predicate":"encryptedChat","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"332848423","predicate":"encryptedChatDiscarded","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"-247351839","predicate":"inputEncryptedChat","params":[{"name":"chat_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedChat"},{"id":"-1038136962","predicate":"encryptedFileEmpty","params":[],"type":"EncryptedFile"},{"id":"1248893260","predicate":"encryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"int"},{"name":"dc_id","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"EncryptedFile"},{"id":"406307684","predicate":"inputEncryptedFileEmpty","params":[],"type":"InputEncryptedFile"},{"id":"1690108678","predicate":"inputEncryptedFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"1511503333","predicate":"inputEncryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedFile"},{"id":"-182231723","predicate":"inputEncryptedFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"-317144808","predicate":"encryptedMessage","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"},{"name":"file","type":"EncryptedFile"}],"type":"EncryptedMessage"},{"id":"594758406","predicate":"encryptedMessageService","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"}],"type":"EncryptedMessage"},{"id":"-1058912715","predicate":"messages.dhConfigNotModified","params":[{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"740433629","predicate":"messages.dhConfig","params":[{"name":"g","type":"int"},{"name":"p","type":"bytes"},{"name":"version","type":"int"},{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"1443858741","predicate":"messages.sentEncryptedMessage","params":[{"name":"date","type":"int"}],"type":"messages.SentEncryptedMessage"},{"id":"-1802240206","predicate":"messages.sentEncryptedFile","params":[{"name":"date","type":"int"},{"name":"file","type":"EncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"-95482955","predicate":"inputFileBig","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"}],"type":"InputFile"},{"id":"767652808","predicate":"inputEncryptedFileBigUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"-364179876","predicate":"updateChatParticipantAdd","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"1851755554","predicate":"updateChatParticipantDelete","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-1906403213","predicate":"updateDcOptions","params":[{"name":"dc_options","type":"Vector"}],"type":"Update"},{"id":"495530093","predicate":"inputMediaUploadedDocument","params":[{"name":"file","type":"InputFile"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"-1386138479","predicate":"inputMediaUploadedThumbDocument","params":[{"name":"file","type":"InputFile"},{"name":"thumb","type":"InputFile"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"444068508","predicate":"inputMediaDocument","params":[{"name":"id","type":"InputDocument"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"-203411800","predicate":"messageMediaDocument","params":[{"name":"document","type":"Document"},{"name":"caption","type":"string"}],"type":"MessageMedia"},{"id":"1928391342","predicate":"inputDocumentEmpty","params":[],"type":"InputDocument"},{"id":"410618194","predicate":"inputDocument","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputDocument"},{"id":"1125058340","predicate":"inputDocumentFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"version","type":"int"}],"type":"InputFileLocation"},{"id":"922273905","predicate":"documentEmpty","params":[{"name":"id","type":"long"}],"type":"Document"},{"id":"-2027738169","predicate":"document","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"mime_type","type":"string"},{"name":"size","type":"int"},{"name":"thumb","type":"PhotoSize"},{"name":"dc_id","type":"int"},{"name":"version","type":"int"},{"name":"attributes","type":"Vector"}],"type":"Document"},{"id":"398898678","predicate":"help.support","params":[{"name":"phone_number","type":"string"},{"name":"user","type":"User"}],"type":"help.Support"},{"id":"-1613493288","predicate":"notifyPeer","params":[{"name":"peer","type":"Peer"}],"type":"NotifyPeer"},{"id":"-1261946036","predicate":"notifyUsers","params":[],"type":"NotifyPeer"},{"id":"-1073230141","predicate":"notifyChats","params":[],"type":"NotifyPeer"},{"id":"1959820384","predicate":"notifyAll","params":[],"type":"NotifyPeer"},{"id":"-2131957734","predicate":"updateUserBlocked","params":[{"name":"user_id","type":"int"},{"name":"blocked","type":"Bool"}],"type":"Update"},{"id":"-1094555409","predicate":"updateNotifySettings","params":[{"name":"peer","type":"NotifyPeer"},{"name":"notify_settings","type":"PeerNotifySettings"}],"type":"Update"},{"id":"381645902","predicate":"sendMessageTypingAction","params":[],"type":"SendMessageAction"},{"id":"-44119819","predicate":"sendMessageCancelAction","params":[],"type":"SendMessageAction"},{"id":"-1584933265","predicate":"sendMessageRecordVideoAction","params":[],"type":"SendMessageAction"},{"id":"-378127636","predicate":"sendMessageUploadVideoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-718310409","predicate":"sendMessageRecordAudioAction","params":[],"type":"SendMessageAction"},{"id":"-212740181","predicate":"sendMessageUploadAudioAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-774682074","predicate":"sendMessageUploadPhotoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-1441998364","predicate":"sendMessageUploadDocumentAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"393186209","predicate":"sendMessageGeoLocationAction","params":[],"type":"SendMessageAction"},{"id":"1653390447","predicate":"sendMessageChooseContactAction","params":[],"type":"SendMessageAction"},{"id":"446822276","predicate":"contacts.found","params":[{"name":"results","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Found"},{"id":"942527460","predicate":"updateServiceNotification","params":[{"name":"type","type":"string"},{"name":"message","type":"string"},{"name":"media","type":"MessageMedia"},{"name":"popup","type":"Bool"}],"type":"Update"},{"id":"-496024847","predicate":"userStatusRecently","params":[],"type":"UserStatus"},{"id":"129960444","predicate":"userStatusLastWeek","params":[],"type":"UserStatus"},{"id":"2011940674","predicate":"userStatusLastMonth","params":[],"type":"UserStatus"},{"id":"-298113238","predicate":"updatePrivacy","params":[{"name":"key","type":"PrivacyKey"},{"name":"rules","type":"Vector"}],"type":"Update"},{"id":"1335282456","predicate":"inputPrivacyKeyStatusTimestamp","params":[],"type":"InputPrivacyKey"},{"id":"-1137792208","predicate":"privacyKeyStatusTimestamp","params":[],"type":"PrivacyKey"},{"id":"218751099","predicate":"inputPrivacyValueAllowContacts","params":[],"type":"InputPrivacyRule"},{"id":"407582158","predicate":"inputPrivacyValueAllowAll","params":[],"type":"InputPrivacyRule"},{"id":"320652927","predicate":"inputPrivacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"195371015","predicate":"inputPrivacyValueDisallowContacts","params":[],"type":"InputPrivacyRule"},{"id":"-697604407","predicate":"inputPrivacyValueDisallowAll","params":[],"type":"InputPrivacyRule"},{"id":"-1877932953","predicate":"inputPrivacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-123988","predicate":"privacyValueAllowContacts","params":[],"type":"PrivacyRule"},{"id":"1698855810","predicate":"privacyValueAllowAll","params":[],"type":"PrivacyRule"},{"id":"1297858060","predicate":"privacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"-125240806","predicate":"privacyValueDisallowContacts","params":[],"type":"PrivacyRule"},{"id":"-1955338397","predicate":"privacyValueDisallowAll","params":[],"type":"PrivacyRule"},{"id":"209668535","predicate":"privacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"1430961007","predicate":"account.privacyRules","params":[{"name":"rules","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"-1194283041","predicate":"accountDaysTTL","params":[{"name":"days","type":"int"}],"type":"AccountDaysTTL"},{"id":"314130811","predicate":"updateUserPhone","params":[{"name":"user_id","type":"int"},{"name":"phone","type":"string"}],"type":"Update"},{"id":"1815593308","predicate":"documentAttributeImageSize","params":[{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"297109817","predicate":"documentAttributeAnimated","params":[],"type":"DocumentAttribute"},{"id":"978674434","predicate":"documentAttributeSticker","params":[{"name":"alt","type":"string"},{"name":"stickerset","type":"InputStickerSet"}],"type":"DocumentAttribute"},{"id":"1494273227","predicate":"documentAttributeVideo","params":[{"name":"duration","type":"int"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"-1739392570","predicate":"documentAttributeAudio","params":[{"name":"flags","type":"#"},{"name":"voice","type":"flags.10?true"},{"name":"duration","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"performer","type":"flags.1?string"},{"name":"waveform","type":"flags.2?bytes"}],"type":"DocumentAttribute"},{"id":"358154344","predicate":"documentAttributeFilename","params":[{"name":"file_name","type":"string"}],"type":"DocumentAttribute"},{"id":"-244016606","predicate":"messages.stickersNotModified","params":[],"type":"messages.Stickers"},{"id":"-1970352846","predicate":"messages.stickers","params":[{"name":"hash","type":"string"},{"name":"stickers","type":"Vector"}],"type":"messages.Stickers"},{"id":"313694676","predicate":"stickerPack","params":[{"name":"emoticon","type":"string"},{"name":"documents","type":"Vector"}],"type":"StickerPack"},{"id":"-395967805","predicate":"messages.allStickersNotModified","params":[],"type":"messages.AllStickers"},{"id":"-302170017","predicate":"messages.allStickers","params":[{"name":"hash","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.AllStickers"},{"id":"-1369215196","predicate":"disabledFeature","params":[{"name":"feature","type":"string"},{"name":"description","type":"string"}],"type":"DisabledFeature"},{"id":"-1721631396","predicate":"updateReadHistoryInbox","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"791617983","predicate":"updateReadHistoryOutbox","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-2066640507","predicate":"messages.affectedMessages","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"messages.AffectedMessages"},{"id":"1599050311","predicate":"contactLinkUnknown","params":[],"type":"ContactLink"},{"id":"-17968211","predicate":"contactLinkNone","params":[],"type":"ContactLink"},{"id":"646922073","predicate":"contactLinkHasPhone","params":[],"type":"ContactLink"},{"id":"-721239344","predicate":"contactLinkContact","params":[],"type":"ContactLink"},{"id":"2139689491","predicate":"updateWebPage","params":[{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-350980120","predicate":"webPageEmpty","params":[{"name":"id","type":"long"}],"type":"WebPage"},{"id":"-981018084","predicate":"webPagePending","params":[{"name":"id","type":"long"},{"name":"date","type":"int"}],"type":"WebPage"},{"id":"-897446185","predicate":"webPage","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"url","type":"string"},{"name":"display_url","type":"string"},{"name":"type","type":"flags.0?string"},{"name":"site_name","type":"flags.1?string"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"photo","type":"flags.4?Photo"},{"name":"embed_url","type":"flags.5?string"},{"name":"embed_type","type":"flags.5?string"},{"name":"embed_width","type":"flags.6?int"},{"name":"embed_height","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"author","type":"flags.8?string"},{"name":"document","type":"flags.9?Document"}],"type":"WebPage"},{"id":"-1557277184","predicate":"messageMediaWebPage","params":[{"name":"webpage","type":"WebPage"}],"type":"MessageMedia"},{"id":"2079516406","predicate":"authorization","params":[{"name":"hash","type":"long"},{"name":"flags","type":"int"},{"name":"device_model","type":"string"},{"name":"platform","type":"string"},{"name":"system_version","type":"string"},{"name":"api_id","type":"int"},{"name":"app_name","type":"string"},{"name":"app_version","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"country","type":"string"},{"name":"region","type":"string"}],"type":"Authorization"},{"id":"307276766","predicate":"account.authorizations","params":[{"name":"authorizations","type":"Vector"}],"type":"account.Authorizations"},{"id":"-1764049896","predicate":"account.noPassword","params":[{"name":"new_salt","type":"bytes"},{"name":"email_unconfirmed_pattern","type":"string"}],"type":"account.Password"},{"id":"2081952796","predicate":"account.password","params":[{"name":"current_salt","type":"bytes"},{"name":"new_salt","type":"bytes"},{"name":"hint","type":"string"},{"name":"has_recovery","type":"Bool"},{"name":"email_unconfirmed_pattern","type":"string"}],"type":"account.Password"},{"id":"-1212732749","predicate":"account.passwordSettings","params":[{"name":"email","type":"string"}],"type":"account.PasswordSettings"},{"id":"-2037289493","predicate":"account.passwordInputSettings","params":[{"name":"flags","type":"#"},{"name":"new_salt","type":"flags.0?bytes"},{"name":"new_password_hash","type":"flags.0?bytes"},{"name":"hint","type":"flags.0?string"},{"name":"email","type":"flags.1?string"}],"type":"account.PasswordInputSettings"},{"id":"326715557","predicate":"auth.passwordRecovery","params":[{"name":"email_pattern","type":"string"}],"type":"auth.PasswordRecovery"},{"id":"673687578","predicate":"inputMediaVenue","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"}],"type":"InputMedia"},{"id":"2031269663","predicate":"messageMediaVenue","params":[{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"}],"type":"MessageMedia"},{"id":"-1551583367","predicate":"receivedNotifyMessage","params":[{"name":"id","type":"int"},{"name":"flags","type":"int"}],"type":"ReceivedNotifyMessage"},{"id":"1776236393","predicate":"chatInviteEmpty","params":[],"type":"ExportedChatInvite"},{"id":"-64092740","predicate":"chatInviteExported","params":[{"name":"link","type":"string"}],"type":"ExportedChatInvite"},{"id":"1516793212","predicate":"chatInviteAlready","params":[{"name":"chat","type":"Chat"}],"type":"ChatInvite"},{"id":"-613092008","predicate":"chatInvite","params":[{"name":"flags","type":"#"},{"name":"channel","type":"flags.0?true"},{"name":"broadcast","type":"flags.1?true"},{"name":"public","type":"flags.2?true"},{"name":"megagroup","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"photo","type":"ChatPhoto"},{"name":"participants_count","type":"int"},{"name":"participants","type":"flags.4?Vector"}],"type":"ChatInvite"},{"id":"-123931160","predicate":"messageActionChatJoinedByLink","params":[{"name":"inviter_id","type":"int"}],"type":"MessageAction"},{"id":"1757493555","predicate":"updateReadMessagesContents","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-4838507","predicate":"inputStickerSetEmpty","params":[],"type":"InputStickerSet"},{"id":"-1645763991","predicate":"inputStickerSetID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputStickerSet"},{"id":"-2044933984","predicate":"inputStickerSetShortName","params":[{"name":"short_name","type":"string"}],"type":"InputStickerSet"},{"id":"-852477119","predicate":"stickerSet","params":[{"name":"flags","type":"#"},{"name":"installed","type":"flags.0?true"},{"name":"archived","type":"flags.1?true"},{"name":"official","type":"flags.2?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"count","type":"int"},{"name":"hash","type":"int"}],"type":"StickerSet"},{"id":"-1240849242","predicate":"messages.stickerSet","params":[{"name":"set","type":"StickerSet"},{"name":"packs","type":"Vector"},{"name":"documents","type":"Vector"}],"type":"messages.StickerSet"},{"id":"-787638374","predicate":"user","params":[{"name":"flags","type":"#"},{"name":"self","type":"flags.10?true"},{"name":"contact","type":"flags.11?true"},{"name":"mutual_contact","type":"flags.12?true"},{"name":"deleted","type":"flags.13?true"},{"name":"bot","type":"flags.14?true"},{"name":"bot_chat_history","type":"flags.15?true"},{"name":"bot_nochats","type":"flags.16?true"},{"name":"verified","type":"flags.17?true"},{"name":"restricted","type":"flags.18?true"},{"name":"min","type":"flags.20?true"},{"name":"bot_inline_geo","type":"flags.21?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"flags.0?long"},{"name":"first_name","type":"flags.1?string"},{"name":"last_name","type":"flags.2?string"},{"name":"username","type":"flags.3?string"},{"name":"phone","type":"flags.4?string"},{"name":"photo","type":"flags.5?UserProfilePhoto"},{"name":"status","type":"flags.6?UserStatus"},{"name":"bot_info_version","type":"flags.14?int"},{"name":"restriction_reason","type":"flags.18?string"},{"name":"bot_inline_placeholder","type":"flags.19?string"}],"type":"User"},{"id":"-1032140601","predicate":"botCommand","params":[{"name":"command","type":"string"},{"name":"description","type":"string"}],"type":"BotCommand"},{"id":"-1729618630","predicate":"botInfo","params":[{"name":"user_id","type":"int"},{"name":"description","type":"string"},{"name":"commands","type":"Vector"}],"type":"BotInfo"},{"id":"-1560655744","predicate":"keyboardButton","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"2002815875","predicate":"keyboardButtonRow","params":[{"name":"buttons","type":"Vector"}],"type":"KeyboardButtonRow"},{"id":"-1606526075","predicate":"replyKeyboardHide","params":[{"name":"flags","type":"#"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"-200242528","predicate":"replyKeyboardForceReply","params":[{"name":"flags","type":"#"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"889353612","predicate":"replyKeyboardMarkup","params":[{"name":"flags","type":"#"},{"name":"resize","type":"flags.0?true"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"},{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"2072935910","predicate":"inputPeerUser","params":[{"name":"user_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-668391402","predicate":"inputUser","params":[{"name":"user_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputUser"},{"id":"-1350696044","predicate":"help.appChangelogEmpty","params":[],"type":"help.AppChangelog"},{"id":"1181279933","predicate":"help.appChangelog","params":[{"name":"text","type":"string"}],"type":"help.AppChangelog"},{"id":"-1148011883","predicate":"messageEntityUnknown","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-100378723","predicate":"messageEntityMention","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1868782349","predicate":"messageEntityHashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1827637959","predicate":"messageEntityBotCommand","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1859134776","predicate":"messageEntityUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1692693954","predicate":"messageEntityEmail","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1117713463","predicate":"messageEntityBold","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-2106619040","predicate":"messageEntityItalic","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"681706865","predicate":"messageEntityCode","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1938967520","predicate":"messageEntityPre","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"language","type":"string"}],"type":"MessageEntity"},{"id":"1990644519","predicate":"messageEntityTextUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"url","type":"string"}],"type":"MessageEntity"},{"id":"301019932","predicate":"updateShortSentMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"-292807034","predicate":"inputChannelEmpty","params":[],"type":"InputChannel"},{"id":"-1343524562","predicate":"inputChannel","params":[{"name":"channel_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputChannel"},{"id":"-1109531342","predicate":"peerChannel","params":[{"name":"channel_id","type":"int"}],"type":"Peer"},{"id":"548253432","predicate":"inputPeerChannel","params":[{"name":"channel_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-1588737454","predicate":"channel","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"kicked","type":"flags.1?true"},{"name":"left","type":"flags.2?true"},{"name":"editor","type":"flags.3?true"},{"name":"moderator","type":"flags.4?true"},{"name":"broadcast","type":"flags.5?true"},{"name":"verified","type":"flags.7?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"restricted","type":"flags.9?true"},{"name":"democracy","type":"flags.10?true"},{"name":"signatures","type":"flags.11?true"},{"name":"min","type":"flags.12?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"flags.13?long"},{"name":"title","type":"string"},{"name":"username","type":"flags.6?string"},{"name":"photo","type":"ChatPhoto"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"restriction_reason","type":"flags.9?string"}],"type":"Chat"},{"id":"-2059962289","predicate":"channelForbidden","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.5?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"}],"type":"Chat"},{"id":"2131196633","predicate":"contacts.resolvedPeer","params":[{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ResolvedPeer"},{"id":"-1009430225","predicate":"channelFull","params":[{"name":"flags","type":"#"},{"name":"can_view_participants","type":"flags.3?true"},{"name":"can_set_username","type":"flags.6?true"},{"name":"id","type":"int"},{"name":"about","type":"string"},{"name":"participants_count","type":"flags.0?int"},{"name":"admins_count","type":"flags.1?int"},{"name":"kicked_count","type":"flags.2?int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"chat_photo","type":"Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"ExportedChatInvite"},{"name":"bot_info","type":"Vector"},{"name":"migrated_from_chat_id","type":"flags.4?int"},{"name":"migrated_from_max_id","type":"flags.4?int"},{"name":"pinned_msg_id","type":"flags.5?int"}],"type":"ChatFull"},{"id":"182649427","predicate":"messageRange","params":[{"name":"min_id","type":"int"},{"name":"max_id","type":"int"}],"type":"MessageRange"},{"id":"-1725551049","predicate":"messages.channelMessages","params":[{"name":"flags","type":"#"},{"name":"pts","type":"int"},{"name":"count","type":"int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"-1781355374","predicate":"messageActionChannelCreate","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"-352032773","predicate":"updateChannelTooLong","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"int"},{"name":"pts","type":"flags.0?int"}],"type":"Update"},{"id":"-1227598250","predicate":"updateChannel","params":[{"name":"channel_id","type":"int"}],"type":"Update"},{"id":"1656358105","predicate":"updateNewChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1108669311","predicate":"updateReadChannelInbox","params":[{"name":"channel_id","type":"int"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"-1015733815","predicate":"updateDeleteChannelMessages","params":[{"name":"channel_id","type":"int"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1734268085","predicate":"updateChannelMessageViews","params":[{"name":"channel_id","type":"int"},{"name":"id","type":"int"},{"name":"views","type":"int"}],"type":"Update"},{"id":"1041346555","predicate":"updates.channelDifferenceEmpty","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"}],"type":"updates.ChannelDifference"},{"id":"1091431943","predicate":"updates.channelDifferenceTooLong","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"543450958","predicate":"updates.channelDifference","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"},{"name":"new_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"-1798033689","predicate":"channelMessagesFilterEmpty","params":[],"type":"ChannelMessagesFilter"},{"id":"-847783593","predicate":"channelMessagesFilter","params":[{"name":"flags","type":"#"},{"name":"exclude_new_messages","type":"flags.1?true"},{"name":"ranges","type":"Vector"}],"type":"ChannelMessagesFilter"},{"id":"367766557","predicate":"channelParticipant","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1557620115","predicate":"channelParticipantSelf","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1861910545","predicate":"channelParticipantModerator","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1743180447","predicate":"channelParticipantEditor","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1933187430","predicate":"channelParticipantKicked","params":[{"name":"user_id","type":"int"},{"name":"kicked_by","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-471670279","predicate":"channelParticipantCreator","params":[{"name":"user_id","type":"int"}],"type":"ChannelParticipant"},{"id":"-566281095","predicate":"channelParticipantsRecent","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1268741783","predicate":"channelParticipantsAdmins","params":[],"type":"ChannelParticipantsFilter"},{"id":"1010285434","predicate":"channelParticipantsKicked","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1299865402","predicate":"channelRoleEmpty","params":[],"type":"ChannelParticipantRole"},{"id":"-1776756363","predicate":"channelRoleModerator","params":[],"type":"ChannelParticipantRole"},{"id":"-2113143156","predicate":"channelRoleEditor","params":[],"type":"ChannelParticipantRole"},{"id":"-177282392","predicate":"channels.channelParticipants","params":[{"name":"count","type":"int"},{"name":"participants","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipants"},{"id":"-791039645","predicate":"channels.channelParticipant","params":[{"name":"participant","type":"ChannelParticipant"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipant"},{"id":"-636267638","predicate":"chatParticipantCreator","params":[{"name":"user_id","type":"int"}],"type":"ChatParticipant"},{"id":"-489233354","predicate":"chatParticipantAdmin","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"1855224129","predicate":"updateChatAdmins","params":[{"name":"chat_id","type":"int"},{"name":"enabled","type":"Bool"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-1232070311","predicate":"updateChatParticipantAdmin","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"is_admin","type":"Bool"},{"name":"version","type":"int"}],"type":"Update"},{"id":"1371385889","predicate":"messageActionChatMigrateTo","params":[{"name":"channel_id","type":"int"}],"type":"MessageAction"},{"id":"-1336546578","predicate":"messageActionChannelMigrateFrom","params":[{"name":"title","type":"string"},{"name":"chat_id","type":"int"}],"type":"MessageAction"},{"id":"-1328445861","predicate":"channelParticipantsBots","params":[],"type":"ChannelParticipantsFilter"},{"id":"-236044656","predicate":"help.termsOfService","params":[{"name":"text","type":"string"}],"type":"help.TermsOfService"},{"id":"1753886890","predicate":"updateNewStickerSet","params":[{"name":"stickerset","type":"messages.StickerSet"}],"type":"Update"},{"id":"-253774767","predicate":"updateStickerSetsOrder","params":[{"name":"order","type":"Vector"}],"type":"Update"},{"id":"1135492588","predicate":"updateStickerSets","params":[],"type":"Update"},{"id":"372165663","predicate":"foundGif","params":[{"name":"url","type":"string"},{"name":"thumb_url","type":"string"},{"name":"content_url","type":"string"},{"name":"content_type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"FoundGif"},{"id":"-1670052855","predicate":"foundGifCached","params":[{"name":"url","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"Document"}],"type":"FoundGif"},{"id":"1212395773","predicate":"inputMediaGifExternal","params":[{"name":"url","type":"string"},{"name":"q","type":"string"}],"type":"InputMedia"},{"id":"1158290442","predicate":"messages.foundGifs","params":[{"name":"next_offset","type":"int"},{"name":"results","type":"Vector"}],"type":"messages.FoundGifs"},{"id":"-402498398","predicate":"messages.savedGifsNotModified","params":[],"type":"messages.SavedGifs"},{"id":"772213157","predicate":"messages.savedGifs","params":[{"name":"hash","type":"int"},{"name":"gifs","type":"Vector"}],"type":"messages.SavedGifs"},{"id":"-1821035490","predicate":"updateSavedGifs","params":[],"type":"Update"},{"id":"691006739","predicate":"inputBotInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"caption","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1036876423","predicate":"inputBotInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"750510426","predicate":"inputBotInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb_url","type":"flags.4?string"},{"name":"content_url","type":"flags.5?string"},{"name":"content_type","type":"flags.5?string"},{"name":"w","type":"flags.6?int"},{"name":"h","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"175419739","predicate":"botInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"caption","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1937807902","predicate":"botInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1679053127","predicate":"botInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb_url","type":"flags.4?string"},{"name":"content_url","type":"flags.5?string"},{"name":"content_type","type":"flags.5?string"},{"name":"w","type":"flags.6?int"},{"name":"h","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"627509670","predicate":"messages.botResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"query_id","type":"long"},{"name":"next_offset","type":"flags.1?string"},{"name":"switch_pm","type":"flags.2?InlineBotSwitchPM"},{"name":"results","type":"Vector"}],"type":"messages.BotResults"},{"id":"1417832080","predicate":"updateBotInlineQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"offset","type":"string"}],"type":"Update"},{"id":"239663460","predicate":"updateBotInlineSend","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"int"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"id","type":"string"},{"name":"msg_id","type":"flags.1?InputBotInlineMessageID"}],"type":"Update"},{"id":"1358283666","predicate":"inputMessagesFilterVoice","params":[],"type":"MessagesFilter"},{"id":"928101534","predicate":"inputMessagesFilterMusic","params":[],"type":"MessagesFilter"},{"id":"-1107622874","predicate":"inputPrivacyKeyChatInvite","params":[],"type":"InputPrivacyKey"},{"id":"1343122938","predicate":"privacyKeyChatInvite","params":[],"type":"PrivacyKey"},{"id":"524838915","predicate":"exportedMessageLink","params":[{"name":"link","type":"string"}],"type":"ExportedMessageLink"},{"id":"-947462709","predicate":"messageFwdHeader","params":[{"name":"flags","type":"#"},{"name":"from_id","type":"flags.0?int"},{"name":"date","type":"int"},{"name":"channel_id","type":"flags.1?int"},{"name":"channel_post","type":"flags.2?int"}],"type":"MessageFwdHeader"},{"id":"457133559","predicate":"updateEditChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1738988427","predicate":"updateChannelPinnedMessage","params":[{"name":"channel_id","type":"int"},{"name":"id","type":"int"}],"type":"Update"},{"id":"-1799538451","predicate":"messageActionPinMessage","params":[],"type":"MessageAction"},{"id":"1923290508","predicate":"auth.codeTypeSms","params":[],"type":"auth.CodeType"},{"id":"1948046307","predicate":"auth.codeTypeCall","params":[],"type":"auth.CodeType"},{"id":"577556219","predicate":"auth.codeTypeFlashCall","params":[],"type":"auth.CodeType"},{"id":"1035688326","predicate":"auth.sentCodeTypeApp","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1073693790","predicate":"auth.sentCodeTypeSms","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"1398007207","predicate":"auth.sentCodeTypeCall","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1425815847","predicate":"auth.sentCodeTypeFlashCall","params":[{"name":"pattern","type":"string"}],"type":"auth.SentCodeType"},{"id":"629866245","predicate":"keyboardButtonUrl","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"1748655686","predicate":"keyboardButtonCallback","params":[{"name":"text","type":"string"},{"name":"data","type":"bytes"}],"type":"KeyboardButton"},{"id":"-1318425559","predicate":"keyboardButtonRequestPhone","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-59151553","predicate":"keyboardButtonRequestGeoLocation","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-367298028","predicate":"keyboardButtonSwitchInline","params":[{"name":"text","type":"string"},{"name":"query","type":"string"}],"type":"KeyboardButton"},{"id":"1218642516","predicate":"replyInlineMarkup","params":[{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"-1324486149","predicate":"messages.botCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"}],"type":"messages.BotCallbackAnswer"},{"id":"-1500747636","predicate":"updateBotCallbackQuery","params":[{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"data","type":"bytes"}],"type":"Update"},{"id":"649453030","predicate":"messages.messageEditData","params":[{"name":"flags","type":"#"},{"name":"caption","type":"flags.0?true"}],"type":"messages.MessageEditData"},{"id":"-469536605","predicate":"updateEditMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-190472735","predicate":"inputBotInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-1431327288","predicate":"inputBotInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"766443943","predicate":"inputBotInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"982505656","predicate":"botInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"1130767150","predicate":"botInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"904770772","predicate":"botInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1462213465","predicate":"inputBotInlineResultPhoto","params":[{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"InputPhoto"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"-459324","predicate":"inputBotInlineResultDocument","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"document","type":"InputDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"400266251","predicate":"botInlineMediaResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"flags.0?Photo"},{"name":"document","type":"flags.1?Document"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-1995686519","predicate":"inputBotInlineMessageID","params":[{"name":"dc_id","type":"int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputBotInlineMessageID"},{"id":"750622127","predicate":"updateInlineBotCallbackQuery","params":[{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"msg_id","type":"InputBotInlineMessageID"},{"name":"data","type":"bytes"}],"type":"Update"},{"id":"1008755359","predicate":"inlineBotSwitchPM","params":[{"name":"text","type":"string"},{"name":"start_param","type":"string"}],"type":"InlineBotSwitchPM"},{"id":"863093588","predicate":"messages.peerDialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"messages.PeerDialogs"},{"id":"-305282981","predicate":"topPeer","params":[{"name":"peer","type":"Peer"},{"name":"rating","type":"double"}],"type":"TopPeer"},{"id":"-1419371685","predicate":"topPeerCategoryBotsPM","params":[],"type":"TopPeerCategory"},{"id":"344356834","predicate":"topPeerCategoryBotsInline","params":[],"type":"TopPeerCategory"},{"id":"104314861","predicate":"topPeerCategoryCorrespondents","params":[],"type":"TopPeerCategory"},{"id":"-1122524854","predicate":"topPeerCategoryGroups","params":[],"type":"TopPeerCategory"},{"id":"371037736","predicate":"topPeerCategoryChannels","params":[],"type":"TopPeerCategory"},{"id":"-75283823","predicate":"topPeerCategoryPeers","params":[{"name":"category","type":"TopPeerCategory"},{"name":"count","type":"int"},{"name":"peers","type":"Vector"}],"type":"TopPeerCategoryPeers"},{"id":"-567906571","predicate":"contacts.topPeersNotModified","params":[],"type":"contacts.TopPeers"},{"id":"1891070632","predicate":"contacts.topPeers","params":[{"name":"categories","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.TopPeers"},{"id":"892193368","predicate":"messageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"int"}],"type":"MessageEntity"},{"id":"546203849","predicate":"inputMessageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"MessageEntity"},{"id":"975236280","predicate":"inputMessagesFilterChatPhotos","params":[],"type":"MessagesFilter"},{"id":"634833351","predicate":"updateReadChannelOutbox","params":[{"name":"channel_id","type":"int"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"-299124375","predicate":"updateDraftMessage","params":[{"name":"peer","type":"Peer"},{"name":"draft","type":"DraftMessage"}],"type":"Update"},{"id":"-1169445179","predicate":"draftMessageEmpty","params":[],"type":"DraftMessage"},{"id":"-40996577","predicate":"draftMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"},{"name":"date","type":"int"}],"type":"DraftMessage"},{"id":"-1615153660","predicate":"messageActionHistoryClear","params":[],"type":"MessageAction"},{"id":"82699215","predicate":"messages.featuredStickersNotModified","params":[],"type":"messages.FeaturedStickers"},{"id":"-123893531","predicate":"messages.featuredStickers","params":[{"name":"hash","type":"int"},{"name":"sets","type":"Vector"},{"name":"unread","type":"Vector"}],"type":"messages.FeaturedStickers"},{"id":"1461528386","predicate":"updateReadFeaturedStickers","params":[],"type":"Update"},{"id":"186120336","predicate":"messages.recentStickersNotModified","params":[],"type":"messages.RecentStickers"},{"id":"1558317424","predicate":"messages.recentStickers","params":[{"name":"hash","type":"int"},{"name":"stickers","type":"Vector"}],"type":"messages.RecentStickers"},{"id":"-1706939360","predicate":"updateRecentStickers","params":[],"type":"Update"},{"id":"1338747336","predicate":"messages.archivedStickers","params":[{"name":"count","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.ArchivedStickers"},{"id":"946083368","predicate":"messages.stickerSetInstallResultSuccess","params":[],"type":"messages.StickerSetInstallResult"},{"id":"904138920","predicate":"messages.stickerSetInstallResultArchive","params":[{"name":"sets","type":"Vector"}],"type":"messages.StickerSetInstallResult"},{"id":"1678812626","predicate":"stickerSetCovered","params":[{"name":"set","type":"StickerSet"},{"name":"cover","type":"Document"}],"type":"StickerSetCovered"}],"methods":[{"id":"-878758099","method":"invokeAfterMsg","params":[{"name":"msg_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"1036301552","method":"invokeAfterMsgs","params":[{"name":"msg_ids","type":"Vector"},{"name":"query","type":"!X"}],"type":"X"},{"id":"1877286395","method":"auth.checkPhone","params":[{"name":"phone_number","type":"string"}],"type":"auth.CheckedPhone"},{"id":"-2035355412","method":"auth.sendCode","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"phone_number","type":"string"},{"name":"current_number","type":"flags.0?Bool"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"}],"type":"auth.SentCode"},{"id":"453408308","method":"auth.signUp","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"auth.Authorization"},{"id":"-1126886015","method":"auth.signIn","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"auth.Authorization"},{"id":"1461180992","method":"auth.logOut","params":[],"type":"Bool"},{"id":"-1616179942","method":"auth.resetAuthorizations","params":[],"type":"Bool"},{"id":"1998331287","method":"auth.sendInvites","params":[{"name":"phone_numbers","type":"Vector"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"-440401971","method":"auth.exportAuthorization","params":[{"name":"dc_id","type":"int"}],"type":"auth.ExportedAuthorization"},{"id":"-470837741","method":"auth.importAuthorization","params":[{"name":"id","type":"int"},{"name":"bytes","type":"bytes"}],"type":"auth.Authorization"},{"id":"-841733627","method":"auth.bindTempAuthKey","params":[{"name":"perm_auth_key_id","type":"long"},{"name":"nonce","type":"long"},{"name":"expires_at","type":"int"},{"name":"encrypted_message","type":"bytes"}],"type":"Bool"},{"id":"1669245048","method":"account.registerDevice","params":[{"name":"token_type","type":"int"},{"name":"token","type":"string"}],"type":"Bool"},{"id":"1707432768","method":"account.unregisterDevice","params":[{"name":"token_type","type":"int"},{"name":"token","type":"string"}],"type":"Bool"},{"id":"-2067899501","method":"account.updateNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"},{"name":"settings","type":"InputPeerNotifySettings"}],"type":"Bool"},{"id":"313765169","method":"account.getNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"}],"type":"PeerNotifySettings"},{"id":"-612493497","method":"account.resetNotifySettings","params":[],"type":"Bool"},{"id":"2018596725","method":"account.updateProfile","params":[{"name":"flags","type":"#"},{"name":"first_name","type":"flags.0?string"},{"name":"last_name","type":"flags.1?string"},{"name":"about","type":"flags.2?string"}],"type":"User"},{"id":"1713919532","method":"account.updateStatus","params":[{"name":"offline","type":"Bool"}],"type":"Bool"},{"id":"-1068696894","method":"account.getWallPapers","params":[],"type":"Vector"},{"id":"-1374118561","method":"account.reportPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"reason","type":"ReportReason"}],"type":"Bool"},{"id":"227648840","method":"users.getUsers","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-902781519","method":"users.getFullUser","params":[{"name":"id","type":"InputUser"}],"type":"UserFull"},{"id":"-995929106","method":"contacts.getStatuses","params":[],"type":"Vector"},{"id":"583445000","method":"contacts.getContacts","params":[{"name":"hash","type":"string"}],"type":"contacts.Contacts"},{"id":"-634342611","method":"contacts.importContacts","params":[{"name":"contacts","type":"Vector"},{"name":"replace","type":"Bool"}],"type":"contacts.ImportedContacts"},{"id":"-1902823612","method":"contacts.deleteContact","params":[{"name":"id","type":"InputUser"}],"type":"contacts.Link"},{"id":"1504393374","method":"contacts.deleteContacts","params":[{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"858475004","method":"contacts.block","params":[{"name":"id","type":"InputUser"}],"type":"Bool"},{"id":"-448724803","method":"contacts.unblock","params":[{"name":"id","type":"InputUser"}],"type":"Bool"},{"id":"-176409329","method":"contacts.getBlocked","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"contacts.Blocked"},{"id":"-2065352905","method":"contacts.exportCard","params":[],"type":"Vector"},{"id":"1340184318","method":"contacts.importCard","params":[{"name":"export_card","type":"Vector"}],"type":"User"},{"id":"1109588596","method":"messages.getMessages","params":[{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"1799878989","method":"messages.getDialogs","params":[{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"limit","type":"int"}],"type":"messages.Dialogs"},{"id":"-1347868602","method":"messages.getHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"}],"type":"messages.Messages"},{"id":"-732523960","method":"messages.search","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"q","type":"string"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset","type":"int"},{"name":"max_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"238054714","method":"messages.readHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedMessages"},{"id":"469850889","method":"messages.deleteHistory","params":[{"name":"flags","type":"#"},{"name":"just_clear","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedHistory"},{"id":"-1510897371","method":"messages.deleteMessages","params":[{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"94983360","method":"messages.receivedMessages","params":[{"name":"max_id","type":"int"}],"type":"Vector"},{"id":"-1551737264","method":"messages.setTyping","params":[{"name":"peer","type":"InputPeer"},{"name":"action","type":"SendMessageAction"}],"type":"Bool"},{"id":"-91733382","method":"messages.sendMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Updates"},{"id":"-923703407","method":"messages.sendMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"media","type":"InputMedia"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"Updates"},{"id":"1888354709","method":"messages.forwardMessages","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"from_peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"random_id","type":"Vector"},{"name":"to_peer","type":"InputPeer"}],"type":"Updates"},{"id":"-820669733","method":"messages.reportSpam","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-1460572005","method":"messages.hideReportSpam","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"913498268","method":"messages.getPeerSettings","params":[{"name":"peer","type":"InputPeer"}],"type":"PeerSettings"},{"id":"1013621127","method":"messages.getChats","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"998448230","method":"messages.getFullChat","params":[{"name":"chat_id","type":"int"}],"type":"messages.ChatFull"},{"id":"-599447467","method":"messages.editChatTitle","params":[{"name":"chat_id","type":"int"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-900957736","method":"messages.editChatPhoto","params":[{"name":"chat_id","type":"int"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"-106911223","method":"messages.addChatUser","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"fwd_limit","type":"int"}],"type":"Updates"},{"id":"-530505962","method":"messages.deleteChatUser","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"Updates"},{"id":"164303470","method":"messages.createChat","params":[{"name":"users","type":"Vector"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-304838614","method":"updates.getState","params":[],"type":"updates.State"},{"id":"168039573","method":"updates.getDifference","params":[{"name":"pts","type":"int"},{"name":"date","type":"int"},{"name":"qts","type":"int"}],"type":"updates.Difference"},{"id":"-285902432","method":"photos.updateProfilePhoto","params":[{"name":"id","type":"InputPhoto"},{"name":"crop","type":"InputPhotoCrop"}],"type":"UserProfilePhoto"},{"id":"-720397176","method":"photos.uploadProfilePhoto","params":[{"name":"file","type":"InputFile"},{"name":"caption","type":"string"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"crop","type":"InputPhotoCrop"}],"type":"photos.Photo"},{"id":"-2016444625","method":"photos.deletePhotos","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1291540959","method":"upload.saveFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-475607115","method":"upload.getFile","params":[{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"upload.File"},{"id":"-990308245","method":"help.getConfig","params":[],"type":"Config"},{"id":"531836966","method":"help.getNearestDc","params":[],"type":"NearestDc"},{"id":"-1372724842","method":"help.getAppUpdate","params":[],"type":"help.AppUpdate"},{"id":"1862465352","method":"help.saveAppLog","params":[{"name":"events","type":"Vector"}],"type":"Bool"},{"id":"1295590211","method":"help.getInviteText","params":[],"type":"help.InviteText"},{"id":"-1848823128","method":"photos.getUserPhotos","params":[{"name":"user_id","type":"InputUser"},{"name":"offset","type":"int"},{"name":"max_id","type":"long"},{"name":"limit","type":"int"}],"type":"photos.Photos"},{"id":"865483769","method":"messages.forwardMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Updates"},{"id":"-1082919718","method":"messages.sendBroadcast","params":[{"name":"contacts","type":"Vector"},{"name":"random_id","type":"Vector"},{"name":"message","type":"string"},{"name":"media","type":"InputMedia"}],"type":"Updates"},{"id":"651135312","method":"messages.getDhConfig","params":[{"name":"version","type":"int"},{"name":"random_length","type":"int"}],"type":"messages.DhConfig"},{"id":"-162681021","method":"messages.requestEncryption","params":[{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"1035731989","method":"messages.acceptEncryption","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"g_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"-304536635","method":"messages.discardEncryption","params":[{"name":"chat_id","type":"int"}],"type":"Bool"},{"id":"2031374829","method":"messages.setEncryptedTyping","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"typing","type":"Bool"}],"type":"Bool"},{"id":"2135648522","method":"messages.readEncryptedHistory","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"max_date","type":"int"}],"type":"Bool"},{"id":"-1451792525","method":"messages.sendEncrypted","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"-1701831834","method":"messages.sendEncryptedFile","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"},{"name":"file","type":"InputEncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"852769188","method":"messages.sendEncryptedService","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1436924774","method":"messages.receivedQueue","params":[{"name":"max_qts","type":"int"}],"type":"Vector"},{"id":"-562337987","method":"upload.saveBigFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"file_total_parts","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"1769565673","method":"initConnection","params":[{"name":"api_id","type":"int"},{"name":"device_model","type":"string"},{"name":"system_version","type":"string"},{"name":"app_version","type":"string"},{"name":"lang_code","type":"string"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1663104819","method":"help.getSupport","params":[],"type":"help.Support"},{"id":"916930423","method":"messages.readMessageContents","params":[{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"655677548","method":"account.checkUsername","params":[{"name":"username","type":"string"}],"type":"Bool"},{"id":"1040964988","method":"account.updateUsername","params":[{"name":"username","type":"string"}],"type":"User"},{"id":"301470424","method":"contacts.search","params":[{"name":"q","type":"string"},{"name":"limit","type":"int"}],"type":"contacts.Found"},{"id":"-623130288","method":"account.getPrivacy","params":[{"name":"key","type":"InputPrivacyKey"}],"type":"account.PrivacyRules"},{"id":"-906486552","method":"account.setPrivacy","params":[{"name":"key","type":"InputPrivacyKey"},{"name":"rules","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"1099779595","method":"account.deleteAccount","params":[{"name":"reason","type":"string"}],"type":"Bool"},{"id":"150761757","method":"account.getAccountTTL","params":[],"type":"AccountDaysTTL"},{"id":"608323678","method":"account.setAccountTTL","params":[{"name":"ttl","type":"AccountDaysTTL"}],"type":"Bool"},{"id":"-627372787","method":"invokeWithLayer","params":[{"name":"layer","type":"int"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-113456221","method":"contacts.resolveUsername","params":[{"name":"username","type":"string"}],"type":"contacts.ResolvedPeer"},{"id":"149257707","method":"account.sendChangePhoneCode","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"phone_number","type":"string"},{"name":"current_number","type":"flags.0?Bool"}],"type":"auth.SentCode"},{"id":"1891839707","method":"account.changePhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"User"},{"id":"-1373446075","method":"messages.getStickers","params":[{"name":"emoticon","type":"string"},{"name":"hash","type":"string"}],"type":"messages.Stickers"},{"id":"479598769","method":"messages.getAllStickers","params":[{"name":"hash","type":"int"}],"type":"messages.AllStickers"},{"id":"954152242","method":"account.updateDeviceLocked","params":[{"name":"period","type":"int"}],"type":"Bool"},{"id":"1738800940","method":"auth.importBotAuthorization","params":[{"name":"flags","type":"int"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"bot_auth_token","type":"string"}],"type":"auth.Authorization"},{"id":"623001124","method":"messages.getWebPagePreview","params":[{"name":"message","type":"string"}],"type":"MessageMedia"},{"id":"-484392616","method":"account.getAuthorizations","params":[],"type":"account.Authorizations"},{"id":"-545786948","method":"account.resetAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1418342645","method":"account.getPassword","params":[],"type":"account.Password"},{"id":"-1131605573","method":"account.getPasswordSettings","params":[{"name":"current_password_hash","type":"bytes"}],"type":"account.PasswordSettings"},{"id":"-92517498","method":"account.updatePasswordSettings","params":[{"name":"current_password_hash","type":"bytes"},{"name":"new_settings","type":"account.PasswordInputSettings"}],"type":"Bool"},{"id":"174260510","method":"auth.checkPassword","params":[{"name":"password_hash","type":"bytes"}],"type":"auth.Authorization"},{"id":"-661144474","method":"auth.requestPasswordRecovery","params":[],"type":"auth.PasswordRecovery"},{"id":"1319464594","method":"auth.recoverPassword","params":[{"name":"code","type":"string"}],"type":"auth.Authorization"},{"id":"-1080796745","method":"invokeWithoutUpdates","params":[{"name":"query","type":"!X"}],"type":"X"},{"id":"2106086025","method":"messages.exportChatInvite","params":[{"name":"chat_id","type":"int"}],"type":"ExportedChatInvite"},{"id":"1051570619","method":"messages.checkChatInvite","params":[{"name":"hash","type":"string"}],"type":"ChatInvite"},{"id":"1817183516","method":"messages.importChatInvite","params":[{"name":"hash","type":"string"}],"type":"Updates"},{"id":"639215886","method":"messages.getStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"messages.StickerSet"},{"id":"-946871200","method":"messages.installStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"archived","type":"Bool"}],"type":"messages.StickerSetInstallResult"},{"id":"-110209570","method":"messages.uninstallStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"-421563528","method":"messages.startBot","params":[{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"random_id","type":"long"},{"name":"start_param","type":"string"}],"type":"Updates"},{"id":"-1189013126","method":"help.getAppChangelog","params":[],"type":"help.AppChangelog"},{"id":"-993483427","method":"messages.getMessagesViews","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"increment","type":"Bool"}],"type":"Vector"},{"id":"-871347913","method":"channels.readHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Bool"},{"id":"-2067661490","method":"channels.deleteMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"-787622117","method":"channels.deleteUserHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"}],"type":"messages.AffectedHistory"},{"id":"-32999408","method":"channels.reportSpam","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-1814580409","method":"channels.getMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"618237842","method":"channels.getParticipants","params":[{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelParticipantsFilter"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"channels.ChannelParticipants"},{"id":"1416484774","method":"channels.getParticipant","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"}],"type":"channels.ChannelParticipant"},{"id":"176122811","method":"channels.getChannels","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"141781513","method":"channels.getFullChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.ChatFull"},{"id":"-192332417","method":"channels.createChannel","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.0?true"},{"name":"megagroup","type":"flags.1?true"},{"name":"title","type":"string"},{"name":"about","type":"string"}],"type":"Updates"},{"id":"333610782","method":"channels.editAbout","params":[{"name":"channel","type":"InputChannel"},{"name":"about","type":"string"}],"type":"Bool"},{"id":"-344583728","method":"channels.editAdmin","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"role","type":"ChannelParticipantRole"}],"type":"Updates"},{"id":"1450044624","method":"channels.editTitle","params":[{"name":"channel","type":"InputChannel"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-248621111","method":"channels.editPhoto","params":[{"name":"channel","type":"InputChannel"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"283557164","method":"channels.checkUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"890549214","method":"channels.updateUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"615851205","method":"channels.joinChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"-130635115","method":"channels.leaveChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"429865580","method":"channels.inviteToChannel","params":[{"name":"channel","type":"InputChannel"},{"name":"users","type":"Vector"}],"type":"Updates"},{"id":"-1502421484","method":"channels.kickFromChannel","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"kicked","type":"Bool"}],"type":"Updates"},{"id":"-950663035","method":"channels.exportInvite","params":[{"name":"channel","type":"InputChannel"}],"type":"ExportedChatInvite"},{"id":"-1072619549","method":"channels.deleteChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"-1154295872","method":"updates.getChannelDifference","params":[{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelMessagesFilter"},{"name":"pts","type":"int"},{"name":"limit","type":"int"}],"type":"updates.ChannelDifference"},{"id":"-326379039","method":"messages.toggleChatAdmins","params":[{"name":"chat_id","type":"int"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1444503762","method":"messages.editChatAdmin","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"is_admin","type":"Bool"}],"type":"Bool"},{"id":"363051235","method":"messages.migrateChat","params":[{"name":"chat_id","type":"int"}],"type":"Updates"},{"id":"-1640190800","method":"messages.searchGlobal","params":[{"name":"q","type":"string"},{"name":"offset_date","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"889286899","method":"help.getTermsOfService","params":[],"type":"help.TermsOfService"},{"id":"-1613775824","method":"messages.reorderStickerSets","params":[{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"864953444","method":"messages.getDocumentByHash","params":[{"name":"sha256","type":"bytes"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"-1080395925","method":"messages.searchGifs","params":[{"name":"q","type":"string"},{"name":"offset","type":"int"}],"type":"messages.FoundGifs"},{"id":"-2084618926","method":"messages.getSavedGifs","params":[{"name":"hash","type":"int"}],"type":"messages.SavedGifs"},{"id":"846868683","method":"messages.saveGif","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"1364105629","method":"messages.getInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"geo_point","type":"flags.0?InputGeoPoint"},{"name":"query","type":"string"},{"name":"offset","type":"string"}],"type":"messages.BotResults"},{"id":"-346119674","method":"messages.setInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"private","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"next_offset","type":"flags.2?string"},{"name":"switch_pm","type":"flags.3?InlineBotSwitchPM"}],"type":"Bool"},{"id":"-1318189314","method":"messages.sendInlineBotResult","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"random_id","type":"long"},{"name":"query_id","type":"long"},{"name":"id","type":"string"}],"type":"Updates"},{"id":"1231065863","method":"channels.toggleInvites","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-934882771","method":"channels.exportMessageLink","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"int"}],"type":"ExportedMessageLink"},{"id":"527021574","method":"channels.toggleSignatures","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1490162350","method":"channels.updatePinnedMessage","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"id","type":"int"}],"type":"Updates"},{"id":"1056025023","method":"auth.resendCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"auth.SentCode"},{"id":"520357240","method":"auth.cancelCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"Bool"},{"id":"-39416522","method":"messages.getMessageEditData","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"messages.MessageEditData"},{"id":"-829299510","method":"messages.editMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"message","type":"flags.11?string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Updates"},{"id":"319564933","method":"messages.editInlineBotMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"message","type":"flags.11?string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"-1494659324","method":"messages.getBotCallbackAnswer","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"data","type":"bytes"}],"type":"messages.BotCallbackAnswer"},{"id":"-920136629","method":"messages.setBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"}],"type":"Bool"},{"id":"-728224331","method":"contacts.getTopPeers","params":[{"name":"flags","type":"#"},{"name":"correspondents","type":"flags.0?true"},{"name":"bots_pm","type":"flags.1?true"},{"name":"bots_inline","type":"flags.2?true"},{"name":"groups","type":"flags.10?true"},{"name":"channels","type":"flags.15?true"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"int"}],"type":"contacts.TopPeers"},{"id":"451113900","method":"contacts.resetTopPeerRating","params":[{"name":"category","type":"TopPeerCategory"},{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"764901049","method":"messages.getPeerDialogs","params":[{"name":"peers","type":"Vector"}],"type":"messages.PeerDialogs"},{"id":"-1137057461","method":"messages.saveDraft","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"peer","type":"InputPeer"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"1782549861","method":"messages.getAllDrafts","params":[],"type":"Updates"},{"id":"766298703","method":"messages.getFeaturedStickers","params":[{"name":"hash","type":"int"}],"type":"messages.FeaturedStickers"},{"id":"14818491","method":"messages.readFeaturedStickers","params":[],"type":"Bool"},{"id":"-1726383060","method":"messages.getRecentStickers","params":[{"name":"hash","type":"int"}],"type":"messages.RecentStickers"},{"id":"881736127","method":"messages.saveRecentSticker","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"-1425873454","method":"messages.clearRecentStickers","params":[],"type":"Bool"},{"id":"1124718171","method":"messages.getUnusedStickers","params":[{"name":"limit","type":"int"}],"type":"Vector"},{"id":"-1871829985","method":"messages.getArchivedStickers","params":[{"name":"offset_id","type":"long"},{"name":"limit","type":"int"}],"type":"messages.ArchivedStickers"},{"id":"353818557","method":"account.sendConfirmPhoneCode","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"hash","type":"string"},{"name":"current_number","type":"flags.0?Bool"}],"type":"auth.SentCode"},{"id":"1596029123","method":"account.confirmPhone","params":[{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"}]} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v57.json b/src/danog/MadelineProto/TL_telegram_v57.json deleted file mode 100644 index 52efab99..00000000 --- a/src/danog/MadelineProto/TL_telegram_v57.json +++ /dev/null @@ -1 +0,0 @@ -{"constructors":[{"id":"-1132882121","predicate":"boolFalse","params":[],"type":"Bool"},{"id":"-1720552011","predicate":"boolTrue","params":[],"type":"Bool"},{"id":"1072550713","predicate":"true","params":[],"type":"True"},{"id":"481674261","predicate":"vector","params":[],"type":"Vector t"},{"id":"-994444869","predicate":"error","params":[{"name":"code","type":"int"},{"name":"text","type":"string"}],"type":"Error"},{"id":"1450380236","predicate":"null","params":[],"type":"Null"},{"id":"2134579434","predicate":"inputPeerEmpty","params":[],"type":"InputPeer"},{"id":"2107670217","predicate":"inputPeerSelf","params":[],"type":"InputPeer"},{"id":"396093539","predicate":"inputPeerChat","params":[{"name":"chat_id","type":"int"}],"type":"InputPeer"},{"id":"-1182234929","predicate":"inputUserEmpty","params":[],"type":"InputUser"},{"id":"-138301121","predicate":"inputUserSelf","params":[],"type":"InputUser"},{"id":"-208488460","predicate":"inputPhoneContact","params":[{"name":"client_id","type":"long"},{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"InputContact"},{"id":"-181407105","predicate":"inputFile","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"},{"name":"md5_checksum","type":"string"}],"type":"InputFile"},{"id":"-1771768449","predicate":"inputMediaEmpty","params":[],"type":"InputMedia"},{"id":"1661770481","predicate":"inputMediaUploadedPhoto","params":[{"name":"flags","type":"#"},{"name":"file","type":"InputFile"},{"name":"caption","type":"string"},{"name":"stickers","type":"flags.0?Vector"}],"type":"InputMedia"},{"id":"-373312269","predicate":"inputMediaPhoto","params":[{"name":"id","type":"InputPhoto"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"-104578748","predicate":"inputMediaGeoPoint","params":[{"name":"geo_point","type":"InputGeoPoint"}],"type":"InputMedia"},{"id":"-1494984313","predicate":"inputMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"InputMedia"},{"id":"480546647","predicate":"inputChatPhotoEmpty","params":[],"type":"InputChatPhoto"},{"id":"-1837345356","predicate":"inputChatUploadedPhoto","params":[{"name":"file","type":"InputFile"}],"type":"InputChatPhoto"},{"id":"-1991004873","predicate":"inputChatPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputChatPhoto"},{"id":"-457104426","predicate":"inputGeoPointEmpty","params":[],"type":"InputGeoPoint"},{"id":"-206066487","predicate":"inputGeoPoint","params":[{"name":"lat","type":"double"},{"name":"long","type":"double"}],"type":"InputGeoPoint"},{"id":"483901197","predicate":"inputPhotoEmpty","params":[],"type":"InputPhoto"},{"id":"-74070332","predicate":"inputPhoto","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPhoto"},{"id":"342061462","predicate":"inputFileLocation","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"InputFileLocation"},{"id":"1996904104","predicate":"inputAppEvent","params":[{"name":"time","type":"double"},{"name":"type","type":"string"},{"name":"peer","type":"long"},{"name":"data","type":"string"}],"type":"InputAppEvent"},{"id":"-1649296275","predicate":"peerUser","params":[{"name":"user_id","type":"int"}],"type":"Peer"},{"id":"-1160714821","predicate":"peerChat","params":[{"name":"chat_id","type":"int"}],"type":"Peer"},{"id":"-1432995067","predicate":"storage.fileUnknown","params":[],"type":"storage.FileType"},{"id":"8322574","predicate":"storage.fileJpeg","params":[],"type":"storage.FileType"},{"id":"-891180321","predicate":"storage.fileGif","params":[],"type":"storage.FileType"},{"id":"172975040","predicate":"storage.filePng","params":[],"type":"storage.FileType"},{"id":"-1373745011","predicate":"storage.filePdf","params":[],"type":"storage.FileType"},{"id":"1384777335","predicate":"storage.fileMp3","params":[],"type":"storage.FileType"},{"id":"1258941372","predicate":"storage.fileMov","params":[],"type":"storage.FileType"},{"id":"1086091090","predicate":"storage.filePartial","params":[],"type":"storage.FileType"},{"id":"-1278304028","predicate":"storage.fileMp4","params":[],"type":"storage.FileType"},{"id":"276907596","predicate":"storage.fileWebp","params":[],"type":"storage.FileType"},{"id":"2086234950","predicate":"fileLocationUnavailable","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"FileLocation"},{"id":"1406570614","predicate":"fileLocation","params":[{"name":"dc_id","type":"int"},{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"FileLocation"},{"id":"537022650","predicate":"userEmpty","params":[{"name":"id","type":"int"}],"type":"User"},{"id":"1326562017","predicate":"userProfilePhotoEmpty","params":[],"type":"UserProfilePhoto"},{"id":"-715532088","predicate":"userProfilePhoto","params":[{"name":"photo_id","type":"long"},{"name":"photo_small","type":"FileLocation"},{"name":"photo_big","type":"FileLocation"}],"type":"UserProfilePhoto"},{"id":"164646985","predicate":"userStatusEmpty","params":[],"type":"UserStatus"},{"id":"-306628279","predicate":"userStatusOnline","params":[{"name":"expires","type":"int"}],"type":"UserStatus"},{"id":"9203775","predicate":"userStatusOffline","params":[{"name":"was_online","type":"int"}],"type":"UserStatus"},{"id":"-1683826688","predicate":"chatEmpty","params":[{"name":"id","type":"int"}],"type":"Chat"},{"id":"-652419756","predicate":"chat","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"kicked","type":"flags.1?true"},{"name":"left","type":"flags.2?true"},{"name":"admins_enabled","type":"flags.3?true"},{"name":"admin","type":"flags.4?true"},{"name":"deactivated","type":"flags.5?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"photo","type":"ChatPhoto"},{"name":"participants_count","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"migrated_to","type":"flags.6?InputChannel"}],"type":"Chat"},{"id":"120753115","predicate":"chatForbidden","params":[{"name":"id","type":"int"},{"name":"title","type":"string"}],"type":"Chat"},{"id":"771925524","predicate":"chatFull","params":[{"name":"id","type":"int"},{"name":"participants","type":"ChatParticipants"},{"name":"chat_photo","type":"Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"ExportedChatInvite"},{"name":"bot_info","type":"Vector"}],"type":"ChatFull"},{"id":"-925415106","predicate":"chatParticipant","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-57668565","predicate":"chatParticipantsForbidden","params":[{"name":"flags","type":"#"},{"name":"chat_id","type":"int"},{"name":"self_participant","type":"flags.0?ChatParticipant"}],"type":"ChatParticipants"},{"id":"1061556205","predicate":"chatParticipants","params":[{"name":"chat_id","type":"int"},{"name":"participants","type":"Vector"},{"name":"version","type":"int"}],"type":"ChatParticipants"},{"id":"935395612","predicate":"chatPhotoEmpty","params":[],"type":"ChatPhoto"},{"id":"1632839530","predicate":"chatPhoto","params":[{"name":"photo_small","type":"FileLocation"},{"name":"photo_big","type":"FileLocation"}],"type":"ChatPhoto"},{"id":"-2082087340","predicate":"messageEmpty","params":[{"name":"id","type":"int"}],"type":"Message"},{"id":"-1063525281","predicate":"message","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?int"},{"name":"to_id","type":"Peer"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"date","type":"int"},{"name":"message","type":"string"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"reply_markup","type":"flags.6?ReplyMarkup"},{"name":"entities","type":"flags.7?Vector"},{"name":"views","type":"flags.10?int"},{"name":"edit_date","type":"flags.15?int"}],"type":"Message"},{"id":"-1642487306","predicate":"messageService","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?int"},{"name":"to_id","type":"Peer"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"date","type":"int"},{"name":"action","type":"MessageAction"}],"type":"Message"},{"id":"1038967584","predicate":"messageMediaEmpty","params":[],"type":"MessageMedia"},{"id":"1032643901","predicate":"messageMediaPhoto","params":[{"name":"photo","type":"Photo"},{"name":"caption","type":"string"}],"type":"MessageMedia"},{"id":"1457575028","predicate":"messageMediaGeo","params":[{"name":"geo","type":"GeoPoint"}],"type":"MessageMedia"},{"id":"1585262393","predicate":"messageMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"user_id","type":"int"}],"type":"MessageMedia"},{"id":"-1618676578","predicate":"messageMediaUnsupported","params":[],"type":"MessageMedia"},{"id":"-1230047312","predicate":"messageActionEmpty","params":[],"type":"MessageAction"},{"id":"-1503425638","predicate":"messageActionChatCreate","params":[{"name":"title","type":"string"},{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1247687078","predicate":"messageActionChatEditTitle","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"2144015272","predicate":"messageActionChatEditPhoto","params":[{"name":"photo","type":"Photo"}],"type":"MessageAction"},{"id":"-1780220945","predicate":"messageActionChatDeletePhoto","params":[],"type":"MessageAction"},{"id":"1217033015","predicate":"messageActionChatAddUser","params":[{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1297179892","predicate":"messageActionChatDeleteUser","params":[{"name":"user_id","type":"int"}],"type":"MessageAction"},{"id":"1728035348","predicate":"dialog","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"pts","type":"flags.0?int"},{"name":"draft","type":"flags.1?DraftMessage"}],"type":"Dialog"},{"id":"590459437","predicate":"photoEmpty","params":[{"name":"id","type":"long"}],"type":"Photo"},{"id":"-1836524247","predicate":"photo","params":[{"name":"flags","type":"#"},{"name":"has_stickers","type":"flags.0?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"sizes","type":"Vector"}],"type":"Photo"},{"id":"236446268","predicate":"photoSizeEmpty","params":[{"name":"type","type":"string"}],"type":"PhotoSize"},{"id":"2009052699","predicate":"photoSize","params":[{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"}],"type":"PhotoSize"},{"id":"-374917894","predicate":"photoCachedSize","params":[{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"286776671","predicate":"geoPointEmpty","params":[],"type":"GeoPoint"},{"id":"541710092","predicate":"geoPoint","params":[{"name":"long","type":"double"},{"name":"lat","type":"double"}],"type":"GeoPoint"},{"id":"-2128698738","predicate":"auth.checkedPhone","params":[{"name":"phone_registered","type":"Bool"}],"type":"auth.CheckedPhone"},{"id":"1577067778","predicate":"auth.sentCode","params":[{"name":"flags","type":"#"},{"name":"phone_registered","type":"flags.0?true"},{"name":"type","type":"auth.SentCodeType"},{"name":"phone_code_hash","type":"string"},{"name":"next_type","type":"flags.1?auth.CodeType"},{"name":"timeout","type":"flags.2?int"}],"type":"auth.SentCode"},{"id":"-855308010","predicate":"auth.authorization","params":[{"name":"flags","type":"#"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"user","type":"User"}],"type":"auth.Authorization"},{"id":"-543777747","predicate":"auth.exportedAuthorization","params":[{"name":"id","type":"int"},{"name":"bytes","type":"bytes"}],"type":"auth.ExportedAuthorization"},{"id":"-1195615476","predicate":"inputNotifyPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputNotifyPeer"},{"id":"423314455","predicate":"inputNotifyUsers","params":[],"type":"InputNotifyPeer"},{"id":"1251338318","predicate":"inputNotifyChats","params":[],"type":"InputNotifyPeer"},{"id":"-1540769658","predicate":"inputNotifyAll","params":[],"type":"InputNotifyPeer"},{"id":"-265263912","predicate":"inputPeerNotifyEventsEmpty","params":[],"type":"InputPeerNotifyEvents"},{"id":"-395694988","predicate":"inputPeerNotifyEventsAll","params":[],"type":"InputPeerNotifyEvents"},{"id":"949182130","predicate":"inputPeerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?true"},{"name":"silent","type":"flags.1?true"},{"name":"mute_until","type":"int"},{"name":"sound","type":"string"}],"type":"InputPeerNotifySettings"},{"id":"-1378534221","predicate":"peerNotifyEventsEmpty","params":[],"type":"PeerNotifyEvents"},{"id":"1830677896","predicate":"peerNotifyEventsAll","params":[],"type":"PeerNotifyEvents"},{"id":"1889961234","predicate":"peerNotifySettingsEmpty","params":[],"type":"PeerNotifySettings"},{"id":"-1697798976","predicate":"peerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?true"},{"name":"silent","type":"flags.1?true"},{"name":"mute_until","type":"int"},{"name":"sound","type":"string"}],"type":"PeerNotifySettings"},{"id":"-2122045747","predicate":"peerSettings","params":[{"name":"flags","type":"#"},{"name":"report_spam","type":"flags.0?true"}],"type":"PeerSettings"},{"id":"-860866985","predicate":"wallPaper","params":[{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"sizes","type":"Vector"},{"name":"color","type":"int"}],"type":"WallPaper"},{"id":"1490799288","predicate":"inputReportReasonSpam","params":[],"type":"ReportReason"},{"id":"505595789","predicate":"inputReportReasonViolence","params":[],"type":"ReportReason"},{"id":"777640226","predicate":"inputReportReasonPornography","params":[],"type":"ReportReason"},{"id":"-512463606","predicate":"inputReportReasonOther","params":[{"name":"text","type":"string"}],"type":"ReportReason"},{"id":"1496513539","predicate":"userFull","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"user","type":"User"},{"name":"about","type":"flags.1?string"},{"name":"link","type":"contacts.Link"},{"name":"profile_photo","type":"flags.2?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"bot_info","type":"flags.3?BotInfo"}],"type":"UserFull"},{"id":"-116274796","predicate":"contact","params":[{"name":"user_id","type":"int"},{"name":"mutual","type":"Bool"}],"type":"Contact"},{"id":"-805141448","predicate":"importedContact","params":[{"name":"user_id","type":"int"},{"name":"client_id","type":"long"}],"type":"ImportedContact"},{"id":"1444661369","predicate":"contactBlocked","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"ContactBlocked"},{"id":"-748155807","predicate":"contactStatus","params":[{"name":"user_id","type":"int"},{"name":"status","type":"UserStatus"}],"type":"ContactStatus"},{"id":"986597452","predicate":"contacts.link","params":[{"name":"my_link","type":"ContactLink"},{"name":"foreign_link","type":"ContactLink"},{"name":"user","type":"User"}],"type":"contacts.Link"},{"id":"-1219778094","predicate":"contacts.contactsNotModified","params":[],"type":"contacts.Contacts"},{"id":"1871416498","predicate":"contacts.contacts","params":[{"name":"contacts","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Contacts"},{"id":"-1387117803","predicate":"contacts.importedContacts","params":[{"name":"imported","type":"Vector"},{"name":"retry_contacts","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"471043349","predicate":"contacts.blocked","params":[{"name":"blocked","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"-1878523231","predicate":"contacts.blockedSlice","params":[{"name":"count","type":"int"},{"name":"blocked","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"364538944","predicate":"messages.dialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"1910543603","predicate":"messages.dialogsSlice","params":[{"name":"count","type":"int"},{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"-1938715001","predicate":"messages.messages","params":[{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"189033187","predicate":"messages.messagesSlice","params":[{"name":"count","type":"int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"1694474197","predicate":"messages.chats","params":[{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-438840932","predicate":"messages.chatFull","params":[{"name":"full_chat","type":"ChatFull"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatFull"},{"id":"-1269012015","predicate":"messages.affectedHistory","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"offset","type":"int"}],"type":"messages.AffectedHistory"},{"id":"1474492012","predicate":"inputMessagesFilterEmpty","params":[],"type":"MessagesFilter"},{"id":"-1777752804","predicate":"inputMessagesFilterPhotos","params":[],"type":"MessagesFilter"},{"id":"-1614803355","predicate":"inputMessagesFilterVideo","params":[],"type":"MessagesFilter"},{"id":"1458172132","predicate":"inputMessagesFilterPhotoVideo","params":[],"type":"MessagesFilter"},{"id":"-648121413","predicate":"inputMessagesFilterPhotoVideoDocuments","params":[],"type":"MessagesFilter"},{"id":"-1629621880","predicate":"inputMessagesFilterDocument","params":[],"type":"MessagesFilter"},{"id":"2129714567","predicate":"inputMessagesFilterUrl","params":[],"type":"MessagesFilter"},{"id":"-3644025","predicate":"inputMessagesFilterGif","params":[],"type":"MessagesFilter"},{"id":"522914557","predicate":"updateNewMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1318109142","predicate":"updateMessageID","params":[{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Update"},{"id":"-1576161051","predicate":"updateDeleteMessages","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1548249383","predicate":"updateUserTyping","params":[{"name":"user_id","type":"int"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-1704596961","predicate":"updateChatUserTyping","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"125178264","predicate":"updateChatParticipants","params":[{"name":"participants","type":"ChatParticipants"}],"type":"Update"},{"id":"469489699","predicate":"updateUserStatus","params":[{"name":"user_id","type":"int"},{"name":"status","type":"UserStatus"}],"type":"Update"},{"id":"-1489818765","predicate":"updateUserName","params":[{"name":"user_id","type":"int"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"username","type":"string"}],"type":"Update"},{"id":"-1791935732","predicate":"updateUserPhoto","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"},{"name":"photo","type":"UserProfilePhoto"},{"name":"previous","type":"Bool"}],"type":"Update"},{"id":"628472761","predicate":"updateContactRegistered","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"Update"},{"id":"-1657903163","predicate":"updateContactLink","params":[{"name":"user_id","type":"int"},{"name":"my_link","type":"ContactLink"},{"name":"foreign_link","type":"ContactLink"}],"type":"Update"},{"id":"-1895411046","predicate":"updateNewAuthorization","params":[{"name":"auth_key_id","type":"long"},{"name":"date","type":"int"},{"name":"device","type":"string"},{"name":"location","type":"string"}],"type":"Update"},{"id":"-1519637954","predicate":"updates.state","params":[{"name":"pts","type":"int"},{"name":"qts","type":"int"},{"name":"date","type":"int"},{"name":"seq","type":"int"},{"name":"unread_count","type":"int"}],"type":"updates.State"},{"id":"1567990072","predicate":"updates.differenceEmpty","params":[{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"updates.Difference"},{"id":"16030880","predicate":"updates.difference","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-1459938943","predicate":"updates.differenceSlice","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"intermediate_state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-484987010","predicate":"updatesTooLong","params":[],"type":"Updates"},{"id":"-1857044719","predicate":"updateShortMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"user_id","type":"int"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"377562760","predicate":"updateShortChatMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"from_id","type":"int"},{"name":"chat_id","type":"int"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to_msg_id","type":"flags.3?int"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"2027216577","predicate":"updateShort","params":[{"name":"update","type":"Update"},{"name":"date","type":"int"}],"type":"Updates"},{"id":"1918567619","predicate":"updatesCombined","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq_start","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"1957577280","predicate":"updates","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"-1916114267","predicate":"photos.photos","params":[{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"352657236","predicate":"photos.photosSlice","params":[{"name":"count","type":"int"},{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"539045032","predicate":"photos.photo","params":[{"name":"photo","type":"Photo"},{"name":"users","type":"Vector"}],"type":"photos.Photo"},{"id":"157948117","predicate":"upload.file","params":[{"name":"type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.File"},{"id":"98092748","predicate":"dcOption","params":[{"name":"flags","type":"#"},{"name":"ipv6","type":"flags.0?true"},{"name":"media_only","type":"flags.1?true"},{"name":"tcpo_only","type":"flags.2?true"},{"name":"id","type":"int"},{"name":"ip_address","type":"string"},{"name":"port","type":"int"}],"type":"DcOption"},{"id":"-1704251862","predicate":"config","params":[{"name":"flags","type":"#"},{"name":"date","type":"int"},{"name":"expires","type":"int"},{"name":"test_mode","type":"Bool"},{"name":"this_dc","type":"int"},{"name":"dc_options","type":"Vector"},{"name":"chat_size_max","type":"int"},{"name":"megagroup_size_max","type":"int"},{"name":"forwarded_count_max","type":"int"},{"name":"online_update_period_ms","type":"int"},{"name":"offline_blur_timeout_ms","type":"int"},{"name":"offline_idle_timeout_ms","type":"int"},{"name":"online_cloud_timeout_ms","type":"int"},{"name":"notify_cloud_delay_ms","type":"int"},{"name":"notify_default_delay_ms","type":"int"},{"name":"chat_big_size","type":"int"},{"name":"push_chat_period_ms","type":"int"},{"name":"push_chat_limit","type":"int"},{"name":"saved_gifs_limit","type":"int"},{"name":"edit_time_limit","type":"int"},{"name":"rating_e_decay","type":"int"},{"name":"stickers_recent_limit","type":"int"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"disabled_features","type":"Vector"}],"type":"Config"},{"id":"-1910892683","predicate":"nearestDc","params":[{"name":"country","type":"string"},{"name":"this_dc","type":"int"},{"name":"nearest_dc","type":"int"}],"type":"NearestDc"},{"id":"-1987579119","predicate":"help.appUpdate","params":[{"name":"id","type":"int"},{"name":"critical","type":"Bool"},{"name":"url","type":"string"},{"name":"text","type":"string"}],"type":"help.AppUpdate"},{"id":"-1000708810","predicate":"help.noAppUpdate","params":[],"type":"help.AppUpdate"},{"id":"415997816","predicate":"help.inviteText","params":[{"name":"message","type":"string"}],"type":"help.InviteText"},{"id":"1662091044","predicate":"wallPaperSolid","params":[{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"bg_color","type":"int"},{"name":"color","type":"int"}],"type":"WallPaper"},{"id":"314359194","predicate":"updateNewEncryptedMessage","params":[{"name":"message","type":"EncryptedMessage"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"386986326","predicate":"updateEncryptedChatTyping","params":[{"name":"chat_id","type":"int"}],"type":"Update"},{"id":"-1264392051","predicate":"updateEncryption","params":[{"name":"chat","type":"EncryptedChat"},{"name":"date","type":"int"}],"type":"Update"},{"id":"956179895","predicate":"updateEncryptedMessagesRead","params":[{"name":"chat_id","type":"int"},{"name":"max_date","type":"int"},{"name":"date","type":"int"}],"type":"Update"},{"id":"-1417756512","predicate":"encryptedChatEmpty","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"1006044124","predicate":"encryptedChatWaiting","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"}],"type":"EncryptedChat"},{"id":"-931638658","predicate":"encryptedChatRequested","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"-94974410","predicate":"encryptedChat","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"332848423","predicate":"encryptedChatDiscarded","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"-247351839","predicate":"inputEncryptedChat","params":[{"name":"chat_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedChat"},{"id":"-1038136962","predicate":"encryptedFileEmpty","params":[],"type":"EncryptedFile"},{"id":"1248893260","predicate":"encryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"int"},{"name":"dc_id","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"EncryptedFile"},{"id":"406307684","predicate":"inputEncryptedFileEmpty","params":[],"type":"InputEncryptedFile"},{"id":"1690108678","predicate":"inputEncryptedFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"1511503333","predicate":"inputEncryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedFile"},{"id":"-182231723","predicate":"inputEncryptedFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"-317144808","predicate":"encryptedMessage","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"},{"name":"file","type":"EncryptedFile"}],"type":"EncryptedMessage"},{"id":"594758406","predicate":"encryptedMessageService","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"}],"type":"EncryptedMessage"},{"id":"-1058912715","predicate":"messages.dhConfigNotModified","params":[{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"740433629","predicate":"messages.dhConfig","params":[{"name":"g","type":"int"},{"name":"p","type":"bytes"},{"name":"version","type":"int"},{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"1443858741","predicate":"messages.sentEncryptedMessage","params":[{"name":"date","type":"int"}],"type":"messages.SentEncryptedMessage"},{"id":"-1802240206","predicate":"messages.sentEncryptedFile","params":[{"name":"date","type":"int"},{"name":"file","type":"EncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"-95482955","predicate":"inputFileBig","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"}],"type":"InputFile"},{"id":"767652808","predicate":"inputEncryptedFileBigUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"-364179876","predicate":"updateChatParticipantAdd","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"1851755554","predicate":"updateChatParticipantDelete","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-1906403213","predicate":"updateDcOptions","params":[{"name":"dc_options","type":"Vector"}],"type":"Update"},{"id":"-797904407","predicate":"inputMediaUploadedDocument","params":[{"name":"flags","type":"#"},{"name":"file","type":"InputFile"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"},{"name":"caption","type":"string"},{"name":"stickers","type":"flags.0?Vector"}],"type":"InputMedia"},{"id":"1356369070","predicate":"inputMediaUploadedThumbDocument","params":[{"name":"flags","type":"#"},{"name":"file","type":"InputFile"},{"name":"thumb","type":"InputFile"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"},{"name":"caption","type":"string"},{"name":"stickers","type":"flags.0?Vector"}],"type":"InputMedia"},{"id":"444068508","predicate":"inputMediaDocument","params":[{"name":"id","type":"InputDocument"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"-203411800","predicate":"messageMediaDocument","params":[{"name":"document","type":"Document"},{"name":"caption","type":"string"}],"type":"MessageMedia"},{"id":"1928391342","predicate":"inputDocumentEmpty","params":[],"type":"InputDocument"},{"id":"410618194","predicate":"inputDocument","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputDocument"},{"id":"1125058340","predicate":"inputDocumentFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"version","type":"int"}],"type":"InputFileLocation"},{"id":"922273905","predicate":"documentEmpty","params":[{"name":"id","type":"long"}],"type":"Document"},{"id":"-2027738169","predicate":"document","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"mime_type","type":"string"},{"name":"size","type":"int"},{"name":"thumb","type":"PhotoSize"},{"name":"dc_id","type":"int"},{"name":"version","type":"int"},{"name":"attributes","type":"Vector"}],"type":"Document"},{"id":"398898678","predicate":"help.support","params":[{"name":"phone_number","type":"string"},{"name":"user","type":"User"}],"type":"help.Support"},{"id":"-1613493288","predicate":"notifyPeer","params":[{"name":"peer","type":"Peer"}],"type":"NotifyPeer"},{"id":"-1261946036","predicate":"notifyUsers","params":[],"type":"NotifyPeer"},{"id":"-1073230141","predicate":"notifyChats","params":[],"type":"NotifyPeer"},{"id":"1959820384","predicate":"notifyAll","params":[],"type":"NotifyPeer"},{"id":"-2131957734","predicate":"updateUserBlocked","params":[{"name":"user_id","type":"int"},{"name":"blocked","type":"Bool"}],"type":"Update"},{"id":"-1094555409","predicate":"updateNotifySettings","params":[{"name":"peer","type":"NotifyPeer"},{"name":"notify_settings","type":"PeerNotifySettings"}],"type":"Update"},{"id":"381645902","predicate":"sendMessageTypingAction","params":[],"type":"SendMessageAction"},{"id":"-44119819","predicate":"sendMessageCancelAction","params":[],"type":"SendMessageAction"},{"id":"-1584933265","predicate":"sendMessageRecordVideoAction","params":[],"type":"SendMessageAction"},{"id":"-378127636","predicate":"sendMessageUploadVideoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-718310409","predicate":"sendMessageRecordAudioAction","params":[],"type":"SendMessageAction"},{"id":"-212740181","predicate":"sendMessageUploadAudioAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-774682074","predicate":"sendMessageUploadPhotoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-1441998364","predicate":"sendMessageUploadDocumentAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"393186209","predicate":"sendMessageGeoLocationAction","params":[],"type":"SendMessageAction"},{"id":"1653390447","predicate":"sendMessageChooseContactAction","params":[],"type":"SendMessageAction"},{"id":"446822276","predicate":"contacts.found","params":[{"name":"results","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Found"},{"id":"942527460","predicate":"updateServiceNotification","params":[{"name":"type","type":"string"},{"name":"message","type":"string"},{"name":"media","type":"MessageMedia"},{"name":"popup","type":"Bool"}],"type":"Update"},{"id":"-496024847","predicate":"userStatusRecently","params":[],"type":"UserStatus"},{"id":"129960444","predicate":"userStatusLastWeek","params":[],"type":"UserStatus"},{"id":"2011940674","predicate":"userStatusLastMonth","params":[],"type":"UserStatus"},{"id":"-298113238","predicate":"updatePrivacy","params":[{"name":"key","type":"PrivacyKey"},{"name":"rules","type":"Vector"}],"type":"Update"},{"id":"1335282456","predicate":"inputPrivacyKeyStatusTimestamp","params":[],"type":"InputPrivacyKey"},{"id":"-1137792208","predicate":"privacyKeyStatusTimestamp","params":[],"type":"PrivacyKey"},{"id":"218751099","predicate":"inputPrivacyValueAllowContacts","params":[],"type":"InputPrivacyRule"},{"id":"407582158","predicate":"inputPrivacyValueAllowAll","params":[],"type":"InputPrivacyRule"},{"id":"320652927","predicate":"inputPrivacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"195371015","predicate":"inputPrivacyValueDisallowContacts","params":[],"type":"InputPrivacyRule"},{"id":"-697604407","predicate":"inputPrivacyValueDisallowAll","params":[],"type":"InputPrivacyRule"},{"id":"-1877932953","predicate":"inputPrivacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-123988","predicate":"privacyValueAllowContacts","params":[],"type":"PrivacyRule"},{"id":"1698855810","predicate":"privacyValueAllowAll","params":[],"type":"PrivacyRule"},{"id":"1297858060","predicate":"privacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"-125240806","predicate":"privacyValueDisallowContacts","params":[],"type":"PrivacyRule"},{"id":"-1955338397","predicate":"privacyValueDisallowAll","params":[],"type":"PrivacyRule"},{"id":"209668535","predicate":"privacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"1430961007","predicate":"account.privacyRules","params":[{"name":"rules","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"-1194283041","predicate":"accountDaysTTL","params":[{"name":"days","type":"int"}],"type":"AccountDaysTTL"},{"id":"314130811","predicate":"updateUserPhone","params":[{"name":"user_id","type":"int"},{"name":"phone","type":"string"}],"type":"Update"},{"id":"1815593308","predicate":"documentAttributeImageSize","params":[{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"297109817","predicate":"documentAttributeAnimated","params":[],"type":"DocumentAttribute"},{"id":"1662637586","predicate":"documentAttributeSticker","params":[{"name":"flags","type":"#"},{"name":"mask","type":"flags.1?true"},{"name":"alt","type":"string"},{"name":"stickerset","type":"InputStickerSet"},{"name":"mask_coords","type":"flags.0?MaskCoords"}],"type":"DocumentAttribute"},{"id":"1494273227","predicate":"documentAttributeVideo","params":[{"name":"duration","type":"int"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"-1739392570","predicate":"documentAttributeAudio","params":[{"name":"flags","type":"#"},{"name":"voice","type":"flags.10?true"},{"name":"duration","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"performer","type":"flags.1?string"},{"name":"waveform","type":"flags.2?bytes"}],"type":"DocumentAttribute"},{"id":"358154344","predicate":"documentAttributeFilename","params":[{"name":"file_name","type":"string"}],"type":"DocumentAttribute"},{"id":"-244016606","predicate":"messages.stickersNotModified","params":[],"type":"messages.Stickers"},{"id":"-1970352846","predicate":"messages.stickers","params":[{"name":"hash","type":"string"},{"name":"stickers","type":"Vector"}],"type":"messages.Stickers"},{"id":"313694676","predicate":"stickerPack","params":[{"name":"emoticon","type":"string"},{"name":"documents","type":"Vector"}],"type":"StickerPack"},{"id":"-395967805","predicate":"messages.allStickersNotModified","params":[],"type":"messages.AllStickers"},{"id":"-302170017","predicate":"messages.allStickers","params":[{"name":"hash","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.AllStickers"},{"id":"-1369215196","predicate":"disabledFeature","params":[{"name":"feature","type":"string"},{"name":"description","type":"string"}],"type":"DisabledFeature"},{"id":"-1721631396","predicate":"updateReadHistoryInbox","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"791617983","predicate":"updateReadHistoryOutbox","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-2066640507","predicate":"messages.affectedMessages","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"messages.AffectedMessages"},{"id":"1599050311","predicate":"contactLinkUnknown","params":[],"type":"ContactLink"},{"id":"-17968211","predicate":"contactLinkNone","params":[],"type":"ContactLink"},{"id":"646922073","predicate":"contactLinkHasPhone","params":[],"type":"ContactLink"},{"id":"-721239344","predicate":"contactLinkContact","params":[],"type":"ContactLink"},{"id":"2139689491","predicate":"updateWebPage","params":[{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-350980120","predicate":"webPageEmpty","params":[{"name":"id","type":"long"}],"type":"WebPage"},{"id":"-981018084","predicate":"webPagePending","params":[{"name":"id","type":"long"},{"name":"date","type":"int"}],"type":"WebPage"},{"id":"-897446185","predicate":"webPage","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"url","type":"string"},{"name":"display_url","type":"string"},{"name":"type","type":"flags.0?string"},{"name":"site_name","type":"flags.1?string"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"photo","type":"flags.4?Photo"},{"name":"embed_url","type":"flags.5?string"},{"name":"embed_type","type":"flags.5?string"},{"name":"embed_width","type":"flags.6?int"},{"name":"embed_height","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"author","type":"flags.8?string"},{"name":"document","type":"flags.9?Document"}],"type":"WebPage"},{"id":"-1557277184","predicate":"messageMediaWebPage","params":[{"name":"webpage","type":"WebPage"}],"type":"MessageMedia"},{"id":"2079516406","predicate":"authorization","params":[{"name":"hash","type":"long"},{"name":"flags","type":"int"},{"name":"device_model","type":"string"},{"name":"platform","type":"string"},{"name":"system_version","type":"string"},{"name":"api_id","type":"int"},{"name":"app_name","type":"string"},{"name":"app_version","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"country","type":"string"},{"name":"region","type":"string"}],"type":"Authorization"},{"id":"307276766","predicate":"account.authorizations","params":[{"name":"authorizations","type":"Vector"}],"type":"account.Authorizations"},{"id":"-1764049896","predicate":"account.noPassword","params":[{"name":"new_salt","type":"bytes"},{"name":"email_unconfirmed_pattern","type":"string"}],"type":"account.Password"},{"id":"2081952796","predicate":"account.password","params":[{"name":"current_salt","type":"bytes"},{"name":"new_salt","type":"bytes"},{"name":"hint","type":"string"},{"name":"has_recovery","type":"Bool"},{"name":"email_unconfirmed_pattern","type":"string"}],"type":"account.Password"},{"id":"-1212732749","predicate":"account.passwordSettings","params":[{"name":"email","type":"string"}],"type":"account.PasswordSettings"},{"id":"-2037289493","predicate":"account.passwordInputSettings","params":[{"name":"flags","type":"#"},{"name":"new_salt","type":"flags.0?bytes"},{"name":"new_password_hash","type":"flags.0?bytes"},{"name":"hint","type":"flags.0?string"},{"name":"email","type":"flags.1?string"}],"type":"account.PasswordInputSettings"},{"id":"326715557","predicate":"auth.passwordRecovery","params":[{"name":"email_pattern","type":"string"}],"type":"auth.PasswordRecovery"},{"id":"673687578","predicate":"inputMediaVenue","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"}],"type":"InputMedia"},{"id":"2031269663","predicate":"messageMediaVenue","params":[{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"}],"type":"MessageMedia"},{"id":"-1551583367","predicate":"receivedNotifyMessage","params":[{"name":"id","type":"int"},{"name":"flags","type":"int"}],"type":"ReceivedNotifyMessage"},{"id":"1776236393","predicate":"chatInviteEmpty","params":[],"type":"ExportedChatInvite"},{"id":"-64092740","predicate":"chatInviteExported","params":[{"name":"link","type":"string"}],"type":"ExportedChatInvite"},{"id":"1516793212","predicate":"chatInviteAlready","params":[{"name":"chat","type":"Chat"}],"type":"ChatInvite"},{"id":"-613092008","predicate":"chatInvite","params":[{"name":"flags","type":"#"},{"name":"channel","type":"flags.0?true"},{"name":"broadcast","type":"flags.1?true"},{"name":"public","type":"flags.2?true"},{"name":"megagroup","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"photo","type":"ChatPhoto"},{"name":"participants_count","type":"int"},{"name":"participants","type":"flags.4?Vector"}],"type":"ChatInvite"},{"id":"-123931160","predicate":"messageActionChatJoinedByLink","params":[{"name":"inviter_id","type":"int"}],"type":"MessageAction"},{"id":"1757493555","predicate":"updateReadMessagesContents","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-4838507","predicate":"inputStickerSetEmpty","params":[],"type":"InputStickerSet"},{"id":"-1645763991","predicate":"inputStickerSetID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputStickerSet"},{"id":"-2044933984","predicate":"inputStickerSetShortName","params":[{"name":"short_name","type":"string"}],"type":"InputStickerSet"},{"id":"-852477119","predicate":"stickerSet","params":[{"name":"flags","type":"#"},{"name":"installed","type":"flags.0?true"},{"name":"archived","type":"flags.1?true"},{"name":"official","type":"flags.2?true"},{"name":"masks","type":"flags.3?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"count","type":"int"},{"name":"hash","type":"int"}],"type":"StickerSet"},{"id":"-1240849242","predicate":"messages.stickerSet","params":[{"name":"set","type":"StickerSet"},{"name":"packs","type":"Vector"},{"name":"documents","type":"Vector"}],"type":"messages.StickerSet"},{"id":"-787638374","predicate":"user","params":[{"name":"flags","type":"#"},{"name":"self","type":"flags.10?true"},{"name":"contact","type":"flags.11?true"},{"name":"mutual_contact","type":"flags.12?true"},{"name":"deleted","type":"flags.13?true"},{"name":"bot","type":"flags.14?true"},{"name":"bot_chat_history","type":"flags.15?true"},{"name":"bot_nochats","type":"flags.16?true"},{"name":"verified","type":"flags.17?true"},{"name":"restricted","type":"flags.18?true"},{"name":"min","type":"flags.20?true"},{"name":"bot_inline_geo","type":"flags.21?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"flags.0?long"},{"name":"first_name","type":"flags.1?string"},{"name":"last_name","type":"flags.2?string"},{"name":"username","type":"flags.3?string"},{"name":"phone","type":"flags.4?string"},{"name":"photo","type":"flags.5?UserProfilePhoto"},{"name":"status","type":"flags.6?UserStatus"},{"name":"bot_info_version","type":"flags.14?int"},{"name":"restriction_reason","type":"flags.18?string"},{"name":"bot_inline_placeholder","type":"flags.19?string"}],"type":"User"},{"id":"-1032140601","predicate":"botCommand","params":[{"name":"command","type":"string"},{"name":"description","type":"string"}],"type":"BotCommand"},{"id":"-1729618630","predicate":"botInfo","params":[{"name":"user_id","type":"int"},{"name":"description","type":"string"},{"name":"commands","type":"Vector"}],"type":"BotInfo"},{"id":"-1560655744","predicate":"keyboardButton","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"2002815875","predicate":"keyboardButtonRow","params":[{"name":"buttons","type":"Vector"}],"type":"KeyboardButtonRow"},{"id":"-1606526075","predicate":"replyKeyboardHide","params":[{"name":"flags","type":"#"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"-200242528","predicate":"replyKeyboardForceReply","params":[{"name":"flags","type":"#"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"889353612","predicate":"replyKeyboardMarkup","params":[{"name":"flags","type":"#"},{"name":"resize","type":"flags.0?true"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"},{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"2072935910","predicate":"inputPeerUser","params":[{"name":"user_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-668391402","predicate":"inputUser","params":[{"name":"user_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputUser"},{"id":"-1350696044","predicate":"help.appChangelogEmpty","params":[],"type":"help.AppChangelog"},{"id":"1181279933","predicate":"help.appChangelog","params":[{"name":"text","type":"string"}],"type":"help.AppChangelog"},{"id":"-1148011883","predicate":"messageEntityUnknown","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-100378723","predicate":"messageEntityMention","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1868782349","predicate":"messageEntityHashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1827637959","predicate":"messageEntityBotCommand","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1859134776","predicate":"messageEntityUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1692693954","predicate":"messageEntityEmail","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1117713463","predicate":"messageEntityBold","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-2106619040","predicate":"messageEntityItalic","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"681706865","predicate":"messageEntityCode","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1938967520","predicate":"messageEntityPre","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"language","type":"string"}],"type":"MessageEntity"},{"id":"1990644519","predicate":"messageEntityTextUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"url","type":"string"}],"type":"MessageEntity"},{"id":"301019932","predicate":"updateShortSentMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"-292807034","predicate":"inputChannelEmpty","params":[],"type":"InputChannel"},{"id":"-1343524562","predicate":"inputChannel","params":[{"name":"channel_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputChannel"},{"id":"-1109531342","predicate":"peerChannel","params":[{"name":"channel_id","type":"int"}],"type":"Peer"},{"id":"548253432","predicate":"inputPeerChannel","params":[{"name":"channel_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-1588737454","predicate":"channel","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"kicked","type":"flags.1?true"},{"name":"left","type":"flags.2?true"},{"name":"editor","type":"flags.3?true"},{"name":"moderator","type":"flags.4?true"},{"name":"broadcast","type":"flags.5?true"},{"name":"verified","type":"flags.7?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"restricted","type":"flags.9?true"},{"name":"democracy","type":"flags.10?true"},{"name":"signatures","type":"flags.11?true"},{"name":"min","type":"flags.12?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"flags.13?long"},{"name":"title","type":"string"},{"name":"username","type":"flags.6?string"},{"name":"photo","type":"ChatPhoto"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"restriction_reason","type":"flags.9?string"}],"type":"Chat"},{"id":"-2059962289","predicate":"channelForbidden","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.5?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"}],"type":"Chat"},{"id":"2131196633","predicate":"contacts.resolvedPeer","params":[{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ResolvedPeer"},{"id":"-1009430225","predicate":"channelFull","params":[{"name":"flags","type":"#"},{"name":"can_view_participants","type":"flags.3?true"},{"name":"can_set_username","type":"flags.6?true"},{"name":"id","type":"int"},{"name":"about","type":"string"},{"name":"participants_count","type":"flags.0?int"},{"name":"admins_count","type":"flags.1?int"},{"name":"kicked_count","type":"flags.2?int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"chat_photo","type":"Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"ExportedChatInvite"},{"name":"bot_info","type":"Vector"},{"name":"migrated_from_chat_id","type":"flags.4?int"},{"name":"migrated_from_max_id","type":"flags.4?int"},{"name":"pinned_msg_id","type":"flags.5?int"}],"type":"ChatFull"},{"id":"182649427","predicate":"messageRange","params":[{"name":"min_id","type":"int"},{"name":"max_id","type":"int"}],"type":"MessageRange"},{"id":"-1725551049","predicate":"messages.channelMessages","params":[{"name":"flags","type":"#"},{"name":"pts","type":"int"},{"name":"count","type":"int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"-1781355374","predicate":"messageActionChannelCreate","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"-352032773","predicate":"updateChannelTooLong","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"int"},{"name":"pts","type":"flags.0?int"}],"type":"Update"},{"id":"-1227598250","predicate":"updateChannel","params":[{"name":"channel_id","type":"int"}],"type":"Update"},{"id":"1656358105","predicate":"updateNewChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1108669311","predicate":"updateReadChannelInbox","params":[{"name":"channel_id","type":"int"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"-1015733815","predicate":"updateDeleteChannelMessages","params":[{"name":"channel_id","type":"int"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1734268085","predicate":"updateChannelMessageViews","params":[{"name":"channel_id","type":"int"},{"name":"id","type":"int"},{"name":"views","type":"int"}],"type":"Update"},{"id":"1041346555","predicate":"updates.channelDifferenceEmpty","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"}],"type":"updates.ChannelDifference"},{"id":"1091431943","predicate":"updates.channelDifferenceTooLong","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"543450958","predicate":"updates.channelDifference","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"},{"name":"new_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"-1798033689","predicate":"channelMessagesFilterEmpty","params":[],"type":"ChannelMessagesFilter"},{"id":"-847783593","predicate":"channelMessagesFilter","params":[{"name":"flags","type":"#"},{"name":"exclude_new_messages","type":"flags.1?true"},{"name":"ranges","type":"Vector"}],"type":"ChannelMessagesFilter"},{"id":"367766557","predicate":"channelParticipant","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1557620115","predicate":"channelParticipantSelf","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1861910545","predicate":"channelParticipantModerator","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1743180447","predicate":"channelParticipantEditor","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1933187430","predicate":"channelParticipantKicked","params":[{"name":"user_id","type":"int"},{"name":"kicked_by","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-471670279","predicate":"channelParticipantCreator","params":[{"name":"user_id","type":"int"}],"type":"ChannelParticipant"},{"id":"-566281095","predicate":"channelParticipantsRecent","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1268741783","predicate":"channelParticipantsAdmins","params":[],"type":"ChannelParticipantsFilter"},{"id":"1010285434","predicate":"channelParticipantsKicked","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1299865402","predicate":"channelRoleEmpty","params":[],"type":"ChannelParticipantRole"},{"id":"-1776756363","predicate":"channelRoleModerator","params":[],"type":"ChannelParticipantRole"},{"id":"-2113143156","predicate":"channelRoleEditor","params":[],"type":"ChannelParticipantRole"},{"id":"-177282392","predicate":"channels.channelParticipants","params":[{"name":"count","type":"int"},{"name":"participants","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipants"},{"id":"-791039645","predicate":"channels.channelParticipant","params":[{"name":"participant","type":"ChannelParticipant"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipant"},{"id":"-636267638","predicate":"chatParticipantCreator","params":[{"name":"user_id","type":"int"}],"type":"ChatParticipant"},{"id":"-489233354","predicate":"chatParticipantAdmin","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"1855224129","predicate":"updateChatAdmins","params":[{"name":"chat_id","type":"int"},{"name":"enabled","type":"Bool"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-1232070311","predicate":"updateChatParticipantAdmin","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"is_admin","type":"Bool"},{"name":"version","type":"int"}],"type":"Update"},{"id":"1371385889","predicate":"messageActionChatMigrateTo","params":[{"name":"channel_id","type":"int"}],"type":"MessageAction"},{"id":"-1336546578","predicate":"messageActionChannelMigrateFrom","params":[{"name":"title","type":"string"},{"name":"chat_id","type":"int"}],"type":"MessageAction"},{"id":"-1328445861","predicate":"channelParticipantsBots","params":[],"type":"ChannelParticipantsFilter"},{"id":"-236044656","predicate":"help.termsOfService","params":[{"name":"text","type":"string"}],"type":"help.TermsOfService"},{"id":"1753886890","predicate":"updateNewStickerSet","params":[{"name":"stickerset","type":"messages.StickerSet"}],"type":"Update"},{"id":"196268545","predicate":"updateStickerSetsOrder","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"order","type":"Vector"}],"type":"Update"},{"id":"1135492588","predicate":"updateStickerSets","params":[],"type":"Update"},{"id":"372165663","predicate":"foundGif","params":[{"name":"url","type":"string"},{"name":"thumb_url","type":"string"},{"name":"content_url","type":"string"},{"name":"content_type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"FoundGif"},{"id":"-1670052855","predicate":"foundGifCached","params":[{"name":"url","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"Document"}],"type":"FoundGif"},{"id":"1212395773","predicate":"inputMediaGifExternal","params":[{"name":"url","type":"string"},{"name":"q","type":"string"}],"type":"InputMedia"},{"id":"1158290442","predicate":"messages.foundGifs","params":[{"name":"next_offset","type":"int"},{"name":"results","type":"Vector"}],"type":"messages.FoundGifs"},{"id":"-402498398","predicate":"messages.savedGifsNotModified","params":[],"type":"messages.SavedGifs"},{"id":"772213157","predicate":"messages.savedGifs","params":[{"name":"hash","type":"int"},{"name":"gifs","type":"Vector"}],"type":"messages.SavedGifs"},{"id":"-1821035490","predicate":"updateSavedGifs","params":[],"type":"Update"},{"id":"691006739","predicate":"inputBotInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"caption","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1036876423","predicate":"inputBotInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"750510426","predicate":"inputBotInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb_url","type":"flags.4?string"},{"name":"content_url","type":"flags.5?string"},{"name":"content_type","type":"flags.5?string"},{"name":"w","type":"flags.6?int"},{"name":"h","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"175419739","predicate":"botInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"caption","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1937807902","predicate":"botInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1679053127","predicate":"botInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb_url","type":"flags.4?string"},{"name":"content_url","type":"flags.5?string"},{"name":"content_type","type":"flags.5?string"},{"name":"w","type":"flags.6?int"},{"name":"h","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"627509670","predicate":"messages.botResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"query_id","type":"long"},{"name":"next_offset","type":"flags.1?string"},{"name":"switch_pm","type":"flags.2?InlineBotSwitchPM"},{"name":"results","type":"Vector"}],"type":"messages.BotResults"},{"id":"1417832080","predicate":"updateBotInlineQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"offset","type":"string"}],"type":"Update"},{"id":"239663460","predicate":"updateBotInlineSend","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"int"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"id","type":"string"},{"name":"msg_id","type":"flags.1?InputBotInlineMessageID"}],"type":"Update"},{"id":"1358283666","predicate":"inputMessagesFilterVoice","params":[],"type":"MessagesFilter"},{"id":"928101534","predicate":"inputMessagesFilterMusic","params":[],"type":"MessagesFilter"},{"id":"-1107622874","predicate":"inputPrivacyKeyChatInvite","params":[],"type":"InputPrivacyKey"},{"id":"1343122938","predicate":"privacyKeyChatInvite","params":[],"type":"PrivacyKey"},{"id":"524838915","predicate":"exportedMessageLink","params":[{"name":"link","type":"string"}],"type":"ExportedMessageLink"},{"id":"-947462709","predicate":"messageFwdHeader","params":[{"name":"flags","type":"#"},{"name":"from_id","type":"flags.0?int"},{"name":"date","type":"int"},{"name":"channel_id","type":"flags.1?int"},{"name":"channel_post","type":"flags.2?int"}],"type":"MessageFwdHeader"},{"id":"457133559","predicate":"updateEditChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1738988427","predicate":"updateChannelPinnedMessage","params":[{"name":"channel_id","type":"int"},{"name":"id","type":"int"}],"type":"Update"},{"id":"-1799538451","predicate":"messageActionPinMessage","params":[],"type":"MessageAction"},{"id":"1923290508","predicate":"auth.codeTypeSms","params":[],"type":"auth.CodeType"},{"id":"1948046307","predicate":"auth.codeTypeCall","params":[],"type":"auth.CodeType"},{"id":"577556219","predicate":"auth.codeTypeFlashCall","params":[],"type":"auth.CodeType"},{"id":"1035688326","predicate":"auth.sentCodeTypeApp","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1073693790","predicate":"auth.sentCodeTypeSms","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"1398007207","predicate":"auth.sentCodeTypeCall","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1425815847","predicate":"auth.sentCodeTypeFlashCall","params":[{"name":"pattern","type":"string"}],"type":"auth.SentCodeType"},{"id":"629866245","predicate":"keyboardButtonUrl","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"1748655686","predicate":"keyboardButtonCallback","params":[{"name":"text","type":"string"},{"name":"data","type":"bytes"}],"type":"KeyboardButton"},{"id":"-1318425559","predicate":"keyboardButtonRequestPhone","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-59151553","predicate":"keyboardButtonRequestGeoLocation","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"90744648","predicate":"keyboardButtonSwitchInline","params":[{"name":"flags","type":"#"},{"name":"same_peer","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"query","type":"string"}],"type":"KeyboardButton"},{"id":"1218642516","predicate":"replyInlineMarkup","params":[{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"-1324486149","predicate":"messages.botCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"has_url","type":"flags.3?true"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"}],"type":"messages.BotCallbackAnswer"},{"id":"-415938591","predicate":"updateBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"649453030","predicate":"messages.messageEditData","params":[{"name":"flags","type":"#"},{"name":"caption","type":"flags.0?true"}],"type":"messages.MessageEditData"},{"id":"-469536605","predicate":"updateEditMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-190472735","predicate":"inputBotInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-1431327288","predicate":"inputBotInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"766443943","predicate":"inputBotInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"982505656","predicate":"botInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"1130767150","predicate":"botInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"904770772","predicate":"botInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1462213465","predicate":"inputBotInlineResultPhoto","params":[{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"InputPhoto"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"-459324","predicate":"inputBotInlineResultDocument","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"document","type":"InputDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"400266251","predicate":"botInlineMediaResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"flags.0?Photo"},{"name":"document","type":"flags.1?Document"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-1995686519","predicate":"inputBotInlineMessageID","params":[{"name":"dc_id","type":"int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputBotInlineMessageID"},{"id":"-103646630","predicate":"updateInlineBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"msg_id","type":"InputBotInlineMessageID"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"1008755359","predicate":"inlineBotSwitchPM","params":[{"name":"text","type":"string"},{"name":"start_param","type":"string"}],"type":"InlineBotSwitchPM"},{"id":"863093588","predicate":"messages.peerDialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"messages.PeerDialogs"},{"id":"-305282981","predicate":"topPeer","params":[{"name":"peer","type":"Peer"},{"name":"rating","type":"double"}],"type":"TopPeer"},{"id":"-1419371685","predicate":"topPeerCategoryBotsPM","params":[],"type":"TopPeerCategory"},{"id":"344356834","predicate":"topPeerCategoryBotsInline","params":[],"type":"TopPeerCategory"},{"id":"104314861","predicate":"topPeerCategoryCorrespondents","params":[],"type":"TopPeerCategory"},{"id":"-1122524854","predicate":"topPeerCategoryGroups","params":[],"type":"TopPeerCategory"},{"id":"371037736","predicate":"topPeerCategoryChannels","params":[],"type":"TopPeerCategory"},{"id":"-75283823","predicate":"topPeerCategoryPeers","params":[{"name":"category","type":"TopPeerCategory"},{"name":"count","type":"int"},{"name":"peers","type":"Vector"}],"type":"TopPeerCategoryPeers"},{"id":"-567906571","predicate":"contacts.topPeersNotModified","params":[],"type":"contacts.TopPeers"},{"id":"1891070632","predicate":"contacts.topPeers","params":[{"name":"categories","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.TopPeers"},{"id":"892193368","predicate":"messageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"int"}],"type":"MessageEntity"},{"id":"546203849","predicate":"inputMessageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"MessageEntity"},{"id":"975236280","predicate":"inputMessagesFilterChatPhotos","params":[],"type":"MessagesFilter"},{"id":"634833351","predicate":"updateReadChannelOutbox","params":[{"name":"channel_id","type":"int"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"-299124375","predicate":"updateDraftMessage","params":[{"name":"peer","type":"Peer"},{"name":"draft","type":"DraftMessage"}],"type":"Update"},{"id":"-1169445179","predicate":"draftMessageEmpty","params":[],"type":"DraftMessage"},{"id":"-40996577","predicate":"draftMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"},{"name":"date","type":"int"}],"type":"DraftMessage"},{"id":"-1615153660","predicate":"messageActionHistoryClear","params":[],"type":"MessageAction"},{"id":"82699215","predicate":"messages.featuredStickersNotModified","params":[],"type":"messages.FeaturedStickers"},{"id":"-123893531","predicate":"messages.featuredStickers","params":[{"name":"hash","type":"int"},{"name":"sets","type":"Vector"},{"name":"unread","type":"Vector"}],"type":"messages.FeaturedStickers"},{"id":"1461528386","predicate":"updateReadFeaturedStickers","params":[],"type":"Update"},{"id":"186120336","predicate":"messages.recentStickersNotModified","params":[],"type":"messages.RecentStickers"},{"id":"1558317424","predicate":"messages.recentStickers","params":[{"name":"hash","type":"int"},{"name":"stickers","type":"Vector"}],"type":"messages.RecentStickers"},{"id":"-1706939360","predicate":"updateRecentStickers","params":[],"type":"Update"},{"id":"1338747336","predicate":"messages.archivedStickers","params":[{"name":"count","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.ArchivedStickers"},{"id":"946083368","predicate":"messages.stickerSetInstallResultSuccess","params":[],"type":"messages.StickerSetInstallResult"},{"id":"904138920","predicate":"messages.stickerSetInstallResultArchive","params":[{"name":"sets","type":"Vector"}],"type":"messages.StickerSetInstallResult"},{"id":"1678812626","predicate":"stickerSetCovered","params":[{"name":"set","type":"StickerSet"},{"name":"cover","type":"Document"}],"type":"StickerSetCovered"},{"id":"-1574314746","predicate":"updateConfig","params":[],"type":"Update"},{"id":"861169551","predicate":"updatePtsChanged","params":[],"type":"Update"},{"id":"-1252045032","predicate":"inputMediaPhotoExternal","params":[{"name":"url","type":"string"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"-437690244","predicate":"inputMediaDocumentExternal","params":[{"name":"url","type":"string"},{"name":"caption","type":"string"}],"type":"InputMedia"},{"id":"872932635","predicate":"stickerSetMultiCovered","params":[{"name":"set","type":"StickerSet"},{"name":"covers","type":"Vector"}],"type":"StickerSetCovered"},{"id":"-1361650766","predicate":"maskCoords","params":[{"name":"n","type":"int"},{"name":"x","type":"double"},{"name":"y","type":"double"},{"name":"zoom","type":"double"}],"type":"MaskCoords"},{"id":"-1744710921","predicate":"documentAttributeHasStickers","params":[],"type":"DocumentAttribute"},{"id":"1251549527","predicate":"inputStickeredMediaPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputStickeredMedia"},{"id":"70813275","predicate":"inputStickeredMediaDocument","params":[{"name":"id","type":"InputDocument"}],"type":"InputStickeredMedia"},{"id":"-1107729093","predicate":"game","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"short_name","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"flags.0?Document"}],"type":"Game"},{"id":"1336154098","predicate":"inputBotInlineResultGame","params":[{"name":"id","type":"string"},{"name":"short_name","type":"string"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"1262639204","predicate":"inputBotInlineMessageGame","params":[{"name":"flags","type":"#"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-580219064","predicate":"sendMessageGamePlayAction","params":[],"type":"SendMessageAction"},{"id":"-38694904","predicate":"messageMediaGame","params":[{"name":"game","type":"Game"}],"type":"MessageMedia"},{"id":"-750828557","predicate":"inputMediaGame","params":[{"name":"id","type":"InputGame"}],"type":"InputMedia"},{"id":"53231223","predicate":"inputGameID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputGame"},{"id":"-1020139510","predicate":"inputGameShortName","params":[{"name":"bot_id","type":"InputUser"},{"name":"short_name","type":"string"}],"type":"InputGame"},{"id":"1358175439","predicate":"keyboardButtonGame","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1834538890","predicate":"messageActionGameScore","params":[{"name":"game_id","type":"long"},{"name":"score","type":"int"}],"type":"MessageAction"},{"id":"1493171408","predicate":"highScore","params":[{"name":"pos","type":"int"},{"name":"user_id","type":"int"},{"name":"score","type":"int"}],"type":"HighScore"},{"id":"-1707344487","predicate":"messages.highScores","params":[{"name":"scores","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.HighScores"}],"methods":[{"id":"-878758099","method":"invokeAfterMsg","params":[{"name":"msg_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"1036301552","method":"invokeAfterMsgs","params":[{"name":"msg_ids","type":"Vector"},{"name":"query","type":"!X"}],"type":"X"},{"id":"1877286395","method":"auth.checkPhone","params":[{"name":"phone_number","type":"string"}],"type":"auth.CheckedPhone"},{"id":"-2035355412","method":"auth.sendCode","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"phone_number","type":"string"},{"name":"current_number","type":"flags.0?Bool"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"}],"type":"auth.SentCode"},{"id":"453408308","method":"auth.signUp","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"auth.Authorization"},{"id":"-1126886015","method":"auth.signIn","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"auth.Authorization"},{"id":"1461180992","method":"auth.logOut","params":[],"type":"Bool"},{"id":"-1616179942","method":"auth.resetAuthorizations","params":[],"type":"Bool"},{"id":"1998331287","method":"auth.sendInvites","params":[{"name":"phone_numbers","type":"Vector"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"-440401971","method":"auth.exportAuthorization","params":[{"name":"dc_id","type":"int"}],"type":"auth.ExportedAuthorization"},{"id":"-470837741","method":"auth.importAuthorization","params":[{"name":"id","type":"int"},{"name":"bytes","type":"bytes"}],"type":"auth.Authorization"},{"id":"-841733627","method":"auth.bindTempAuthKey","params":[{"name":"perm_auth_key_id","type":"long"},{"name":"nonce","type":"long"},{"name":"expires_at","type":"int"},{"name":"encrypted_message","type":"bytes"}],"type":"Bool"},{"id":"1669245048","method":"account.registerDevice","params":[{"name":"token_type","type":"int"},{"name":"token","type":"string"}],"type":"Bool"},{"id":"1707432768","method":"account.unregisterDevice","params":[{"name":"token_type","type":"int"},{"name":"token","type":"string"}],"type":"Bool"},{"id":"-2067899501","method":"account.updateNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"},{"name":"settings","type":"InputPeerNotifySettings"}],"type":"Bool"},{"id":"313765169","method":"account.getNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"}],"type":"PeerNotifySettings"},{"id":"-612493497","method":"account.resetNotifySettings","params":[],"type":"Bool"},{"id":"2018596725","method":"account.updateProfile","params":[{"name":"flags","type":"#"},{"name":"first_name","type":"flags.0?string"},{"name":"last_name","type":"flags.1?string"},{"name":"about","type":"flags.2?string"}],"type":"User"},{"id":"1713919532","method":"account.updateStatus","params":[{"name":"offline","type":"Bool"}],"type":"Bool"},{"id":"-1068696894","method":"account.getWallPapers","params":[],"type":"Vector"},{"id":"-1374118561","method":"account.reportPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"reason","type":"ReportReason"}],"type":"Bool"},{"id":"227648840","method":"users.getUsers","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-902781519","method":"users.getFullUser","params":[{"name":"id","type":"InputUser"}],"type":"UserFull"},{"id":"-995929106","method":"contacts.getStatuses","params":[],"type":"Vector"},{"id":"583445000","method":"contacts.getContacts","params":[{"name":"hash","type":"string"}],"type":"contacts.Contacts"},{"id":"-634342611","method":"contacts.importContacts","params":[{"name":"contacts","type":"Vector"},{"name":"replace","type":"Bool"}],"type":"contacts.ImportedContacts"},{"id":"-1902823612","method":"contacts.deleteContact","params":[{"name":"id","type":"InputUser"}],"type":"contacts.Link"},{"id":"1504393374","method":"contacts.deleteContacts","params":[{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"858475004","method":"contacts.block","params":[{"name":"id","type":"InputUser"}],"type":"Bool"},{"id":"-448724803","method":"contacts.unblock","params":[{"name":"id","type":"InputUser"}],"type":"Bool"},{"id":"-176409329","method":"contacts.getBlocked","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"contacts.Blocked"},{"id":"-2065352905","method":"contacts.exportCard","params":[],"type":"Vector"},{"id":"1340184318","method":"contacts.importCard","params":[{"name":"export_card","type":"Vector"}],"type":"User"},{"id":"1109588596","method":"messages.getMessages","params":[{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"1799878989","method":"messages.getDialogs","params":[{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"limit","type":"int"}],"type":"messages.Dialogs"},{"id":"-1347868602","method":"messages.getHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"}],"type":"messages.Messages"},{"id":"-732523960","method":"messages.search","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"q","type":"string"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset","type":"int"},{"name":"max_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"238054714","method":"messages.readHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedMessages"},{"id":"469850889","method":"messages.deleteHistory","params":[{"name":"flags","type":"#"},{"name":"just_clear","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedHistory"},{"id":"-1510897371","method":"messages.deleteMessages","params":[{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"94983360","method":"messages.receivedMessages","params":[{"name":"max_id","type":"int"}],"type":"Vector"},{"id":"-1551737264","method":"messages.setTyping","params":[{"name":"peer","type":"InputPeer"},{"name":"action","type":"SendMessageAction"}],"type":"Bool"},{"id":"-91733382","method":"messages.sendMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Updates"},{"id":"-923703407","method":"messages.sendMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"media","type":"InputMedia"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"Updates"},{"id":"1888354709","method":"messages.forwardMessages","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"with_my_score","type":"flags.8?true"},{"name":"from_peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"random_id","type":"Vector"},{"name":"to_peer","type":"InputPeer"}],"type":"Updates"},{"id":"-820669733","method":"messages.reportSpam","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-1460572005","method":"messages.hideReportSpam","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"913498268","method":"messages.getPeerSettings","params":[{"name":"peer","type":"InputPeer"}],"type":"PeerSettings"},{"id":"1013621127","method":"messages.getChats","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"998448230","method":"messages.getFullChat","params":[{"name":"chat_id","type":"int"}],"type":"messages.ChatFull"},{"id":"-599447467","method":"messages.editChatTitle","params":[{"name":"chat_id","type":"int"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-900957736","method":"messages.editChatPhoto","params":[{"name":"chat_id","type":"int"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"-106911223","method":"messages.addChatUser","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"fwd_limit","type":"int"}],"type":"Updates"},{"id":"-530505962","method":"messages.deleteChatUser","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"Updates"},{"id":"164303470","method":"messages.createChat","params":[{"name":"users","type":"Vector"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-304838614","method":"updates.getState","params":[],"type":"updates.State"},{"id":"168039573","method":"updates.getDifference","params":[{"name":"pts","type":"int"},{"name":"date","type":"int"},{"name":"qts","type":"int"}],"type":"updates.Difference"},{"id":"-256159406","method":"photos.updateProfilePhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"UserProfilePhoto"},{"id":"1328726168","method":"photos.uploadProfilePhoto","params":[{"name":"file","type":"InputFile"}],"type":"photos.Photo"},{"id":"-2016444625","method":"photos.deletePhotos","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1291540959","method":"upload.saveFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-475607115","method":"upload.getFile","params":[{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"upload.File"},{"id":"-990308245","method":"help.getConfig","params":[],"type":"Config"},{"id":"531836966","method":"help.getNearestDc","params":[],"type":"NearestDc"},{"id":"-1372724842","method":"help.getAppUpdate","params":[],"type":"help.AppUpdate"},{"id":"1862465352","method":"help.saveAppLog","params":[{"name":"events","type":"Vector"}],"type":"Bool"},{"id":"1295590211","method":"help.getInviteText","params":[],"type":"help.InviteText"},{"id":"-1848823128","method":"photos.getUserPhotos","params":[{"name":"user_id","type":"InputUser"},{"name":"offset","type":"int"},{"name":"max_id","type":"long"},{"name":"limit","type":"int"}],"type":"photos.Photos"},{"id":"865483769","method":"messages.forwardMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Updates"},{"id":"651135312","method":"messages.getDhConfig","params":[{"name":"version","type":"int"},{"name":"random_length","type":"int"}],"type":"messages.DhConfig"},{"id":"-162681021","method":"messages.requestEncryption","params":[{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"1035731989","method":"messages.acceptEncryption","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"g_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"-304536635","method":"messages.discardEncryption","params":[{"name":"chat_id","type":"int"}],"type":"Bool"},{"id":"2031374829","method":"messages.setEncryptedTyping","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"typing","type":"Bool"}],"type":"Bool"},{"id":"2135648522","method":"messages.readEncryptedHistory","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"max_date","type":"int"}],"type":"Bool"},{"id":"-1451792525","method":"messages.sendEncrypted","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"-1701831834","method":"messages.sendEncryptedFile","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"},{"name":"file","type":"InputEncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"852769188","method":"messages.sendEncryptedService","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1436924774","method":"messages.receivedQueue","params":[{"name":"max_qts","type":"int"}],"type":"Vector"},{"id":"-562337987","method":"upload.saveBigFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"file_total_parts","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"1769565673","method":"initConnection","params":[{"name":"api_id","type":"int"},{"name":"device_model","type":"string"},{"name":"system_version","type":"string"},{"name":"app_version","type":"string"},{"name":"lang_code","type":"string"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1663104819","method":"help.getSupport","params":[],"type":"help.Support"},{"id":"916930423","method":"messages.readMessageContents","params":[{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"655677548","method":"account.checkUsername","params":[{"name":"username","type":"string"}],"type":"Bool"},{"id":"1040964988","method":"account.updateUsername","params":[{"name":"username","type":"string"}],"type":"User"},{"id":"301470424","method":"contacts.search","params":[{"name":"q","type":"string"},{"name":"limit","type":"int"}],"type":"contacts.Found"},{"id":"-623130288","method":"account.getPrivacy","params":[{"name":"key","type":"InputPrivacyKey"}],"type":"account.PrivacyRules"},{"id":"-906486552","method":"account.setPrivacy","params":[{"name":"key","type":"InputPrivacyKey"},{"name":"rules","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"1099779595","method":"account.deleteAccount","params":[{"name":"reason","type":"string"}],"type":"Bool"},{"id":"150761757","method":"account.getAccountTTL","params":[],"type":"AccountDaysTTL"},{"id":"608323678","method":"account.setAccountTTL","params":[{"name":"ttl","type":"AccountDaysTTL"}],"type":"Bool"},{"id":"-627372787","method":"invokeWithLayer","params":[{"name":"layer","type":"int"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-113456221","method":"contacts.resolveUsername","params":[{"name":"username","type":"string"}],"type":"contacts.ResolvedPeer"},{"id":"149257707","method":"account.sendChangePhoneCode","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"phone_number","type":"string"},{"name":"current_number","type":"flags.0?Bool"}],"type":"auth.SentCode"},{"id":"1891839707","method":"account.changePhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"User"},{"id":"479598769","method":"messages.getAllStickers","params":[{"name":"hash","type":"int"}],"type":"messages.AllStickers"},{"id":"954152242","method":"account.updateDeviceLocked","params":[{"name":"period","type":"int"}],"type":"Bool"},{"id":"1738800940","method":"auth.importBotAuthorization","params":[{"name":"flags","type":"int"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"bot_auth_token","type":"string"}],"type":"auth.Authorization"},{"id":"623001124","method":"messages.getWebPagePreview","params":[{"name":"message","type":"string"}],"type":"MessageMedia"},{"id":"-484392616","method":"account.getAuthorizations","params":[],"type":"account.Authorizations"},{"id":"-545786948","method":"account.resetAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1418342645","method":"account.getPassword","params":[],"type":"account.Password"},{"id":"-1131605573","method":"account.getPasswordSettings","params":[{"name":"current_password_hash","type":"bytes"}],"type":"account.PasswordSettings"},{"id":"-92517498","method":"account.updatePasswordSettings","params":[{"name":"current_password_hash","type":"bytes"},{"name":"new_settings","type":"account.PasswordInputSettings"}],"type":"Bool"},{"id":"174260510","method":"auth.checkPassword","params":[{"name":"password_hash","type":"bytes"}],"type":"auth.Authorization"},{"id":"-661144474","method":"auth.requestPasswordRecovery","params":[],"type":"auth.PasswordRecovery"},{"id":"1319464594","method":"auth.recoverPassword","params":[{"name":"code","type":"string"}],"type":"auth.Authorization"},{"id":"-1080796745","method":"invokeWithoutUpdates","params":[{"name":"query","type":"!X"}],"type":"X"},{"id":"2106086025","method":"messages.exportChatInvite","params":[{"name":"chat_id","type":"int"}],"type":"ExportedChatInvite"},{"id":"1051570619","method":"messages.checkChatInvite","params":[{"name":"hash","type":"string"}],"type":"ChatInvite"},{"id":"1817183516","method":"messages.importChatInvite","params":[{"name":"hash","type":"string"}],"type":"Updates"},{"id":"639215886","method":"messages.getStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"messages.StickerSet"},{"id":"-946871200","method":"messages.installStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"archived","type":"Bool"}],"type":"messages.StickerSetInstallResult"},{"id":"-110209570","method":"messages.uninstallStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"-421563528","method":"messages.startBot","params":[{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"random_id","type":"long"},{"name":"start_param","type":"string"}],"type":"Updates"},{"id":"-1189013126","method":"help.getAppChangelog","params":[],"type":"help.AppChangelog"},{"id":"-993483427","method":"messages.getMessagesViews","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"increment","type":"Bool"}],"type":"Vector"},{"id":"-871347913","method":"channels.readHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Bool"},{"id":"-2067661490","method":"channels.deleteMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"-787622117","method":"channels.deleteUserHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"}],"type":"messages.AffectedHistory"},{"id":"-32999408","method":"channels.reportSpam","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-1814580409","method":"channels.getMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"618237842","method":"channels.getParticipants","params":[{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelParticipantsFilter"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"channels.ChannelParticipants"},{"id":"1416484774","method":"channels.getParticipant","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"}],"type":"channels.ChannelParticipant"},{"id":"176122811","method":"channels.getChannels","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"141781513","method":"channels.getFullChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.ChatFull"},{"id":"-192332417","method":"channels.createChannel","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.0?true"},{"name":"megagroup","type":"flags.1?true"},{"name":"title","type":"string"},{"name":"about","type":"string"}],"type":"Updates"},{"id":"333610782","method":"channels.editAbout","params":[{"name":"channel","type":"InputChannel"},{"name":"about","type":"string"}],"type":"Bool"},{"id":"-344583728","method":"channels.editAdmin","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"role","type":"ChannelParticipantRole"}],"type":"Updates"},{"id":"1450044624","method":"channels.editTitle","params":[{"name":"channel","type":"InputChannel"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-248621111","method":"channels.editPhoto","params":[{"name":"channel","type":"InputChannel"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"283557164","method":"channels.checkUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"890549214","method":"channels.updateUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"615851205","method":"channels.joinChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"-130635115","method":"channels.leaveChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"429865580","method":"channels.inviteToChannel","params":[{"name":"channel","type":"InputChannel"},{"name":"users","type":"Vector"}],"type":"Updates"},{"id":"-1502421484","method":"channels.kickFromChannel","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"kicked","type":"Bool"}],"type":"Updates"},{"id":"-950663035","method":"channels.exportInvite","params":[{"name":"channel","type":"InputChannel"}],"type":"ExportedChatInvite"},{"id":"-1072619549","method":"channels.deleteChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"-1154295872","method":"updates.getChannelDifference","params":[{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelMessagesFilter"},{"name":"pts","type":"int"},{"name":"limit","type":"int"}],"type":"updates.ChannelDifference"},{"id":"-326379039","method":"messages.toggleChatAdmins","params":[{"name":"chat_id","type":"int"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1444503762","method":"messages.editChatAdmin","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"is_admin","type":"Bool"}],"type":"Bool"},{"id":"363051235","method":"messages.migrateChat","params":[{"name":"chat_id","type":"int"}],"type":"Updates"},{"id":"-1640190800","method":"messages.searchGlobal","params":[{"name":"q","type":"string"},{"name":"offset_date","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"889286899","method":"help.getTermsOfService","params":[],"type":"help.TermsOfService"},{"id":"2016638777","method":"messages.reorderStickerSets","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"864953444","method":"messages.getDocumentByHash","params":[{"name":"sha256","type":"bytes"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"-1080395925","method":"messages.searchGifs","params":[{"name":"q","type":"string"},{"name":"offset","type":"int"}],"type":"messages.FoundGifs"},{"id":"-2084618926","method":"messages.getSavedGifs","params":[{"name":"hash","type":"int"}],"type":"messages.SavedGifs"},{"id":"846868683","method":"messages.saveGif","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"1364105629","method":"messages.getInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"geo_point","type":"flags.0?InputGeoPoint"},{"name":"query","type":"string"},{"name":"offset","type":"string"}],"type":"messages.BotResults"},{"id":"-346119674","method":"messages.setInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"private","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"next_offset","type":"flags.2?string"},{"name":"switch_pm","type":"flags.3?InlineBotSwitchPM"}],"type":"Bool"},{"id":"-1318189314","method":"messages.sendInlineBotResult","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"random_id","type":"long"},{"name":"query_id","type":"long"},{"name":"id","type":"string"}],"type":"Updates"},{"id":"1231065863","method":"channels.toggleInvites","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-934882771","method":"channels.exportMessageLink","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"int"}],"type":"ExportedMessageLink"},{"id":"527021574","method":"channels.toggleSignatures","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1490162350","method":"channels.updatePinnedMessage","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"id","type":"int"}],"type":"Updates"},{"id":"1056025023","method":"auth.resendCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"auth.SentCode"},{"id":"520357240","method":"auth.cancelCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"Bool"},{"id":"-39416522","method":"messages.getMessageEditData","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"messages.MessageEditData"},{"id":"-829299510","method":"messages.editMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"message","type":"flags.11?string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Updates"},{"id":"319564933","method":"messages.editInlineBotMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"message","type":"flags.11?string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"-2130010132","method":"messages.getBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"game","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"data","type":"flags.0?bytes"}],"type":"messages.BotCallbackAnswer"},{"id":"-920136629","method":"messages.setBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"}],"type":"Bool"},{"id":"-728224331","method":"contacts.getTopPeers","params":[{"name":"flags","type":"#"},{"name":"correspondents","type":"flags.0?true"},{"name":"bots_pm","type":"flags.1?true"},{"name":"bots_inline","type":"flags.2?true"},{"name":"groups","type":"flags.10?true"},{"name":"channels","type":"flags.15?true"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"int"}],"type":"contacts.TopPeers"},{"id":"451113900","method":"contacts.resetTopPeerRating","params":[{"name":"category","type":"TopPeerCategory"},{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"764901049","method":"messages.getPeerDialogs","params":[{"name":"peers","type":"Vector"}],"type":"messages.PeerDialogs"},{"id":"-1137057461","method":"messages.saveDraft","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"peer","type":"InputPeer"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"1782549861","method":"messages.getAllDrafts","params":[],"type":"Updates"},{"id":"766298703","method":"messages.getFeaturedStickers","params":[{"name":"hash","type":"int"}],"type":"messages.FeaturedStickers"},{"id":"1527873830","method":"messages.readFeaturedStickers","params":[{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"1587647177","method":"messages.getRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"hash","type":"int"}],"type":"messages.RecentStickers"},{"id":"958863608","method":"messages.saveRecentSticker","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"-1986437075","method":"messages.clearRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"}],"type":"Bool"},{"id":"1475442322","method":"messages.getArchivedStickers","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"offset_id","type":"long"},{"name":"limit","type":"int"}],"type":"messages.ArchivedStickers"},{"id":"353818557","method":"account.sendConfirmPhoneCode","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"hash","type":"string"},{"name":"current_number","type":"flags.0?Bool"}],"type":"auth.SentCode"},{"id":"1596029123","method":"account.confirmPhone","params":[{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"},{"id":"-1920105769","method":"channels.getAdminedPublicChannels","params":[],"type":"messages.Chats"},{"id":"1706608543","method":"messages.getMaskStickers","params":[{"name":"hash","type":"int"}],"type":"messages.AllStickers"},{"id":"-866424884","method":"messages.getAttachedStickers","params":[{"name":"media","type":"InputStickeredMedia"}],"type":"Vector"},{"id":"-1907842680","method":"auth.dropTempAuthKeys","params":[{"name":"except_auth_keys","type":"Vector"}],"type":"Bool"},{"id":"-1896289088","method":"messages.setGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Updates"},{"id":"363700068","method":"messages.setInlineGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Bool"},{"id":"-400399203","method":"messages.getGameHighScores","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"},{"id":"258170395","method":"messages.getInlineGameHighScores","params":[{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"}]} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v62.tl b/src/danog/MadelineProto/TL_telegram_v62.tl deleted file mode 100644 index dbfa5229..00000000 --- a/src/danog/MadelineProto/TL_telegram_v62.tl +++ /dev/null @@ -1,934 +0,0 @@ -/////////////////////////////// -/// Authorization key creation -/////////////////////////////// - -//resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -//p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; - -//server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -//server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -//server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -//client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -//dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -//dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -//dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes; -destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes; -destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes; - ----functions--- - -//req_pq#60469778 nonce:int128 = ResPQ; - -//req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -//set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -destroy_auth_key#d1435160 = DestroyAuthKeyRes; - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string stickers:flags.0?Vector = InputMedia; -inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia; -inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia; -inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#d10d979a flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#a14dca52 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; -channelForbidden#8537784f flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#c3d5512f flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#c09be45f flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; - -dialog#66ffba14 flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#6f8b8cb2 contacts:Vector users:Vector = contacts.Contacts; - -contacts.importedContacts#ad524315 imported:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; - - -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true id:int ip_address:string port:int = DcOption; - -config#3af6fb5f flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -help.appChangelogEmpty#af7e0394 = help.AppChangelog; -help.appChangelog#2a137e7c message:string media:MessageMedia entities:Vector = help.AppChangelog; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#410dee07 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantEditor#98192d61 user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantKicked#8cc5e69a user_id:int kicked_by:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#3c37bb7a = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; - -channelRoleEmpty#b285a0c6 = ChannelParticipantRole; -channelRoleModerator#9618d975 = ChannelParticipantRole; -channelRoleEditor#820bfe8c = ChannelParticipantRole; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#ccd3563d flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#c786ddcb flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; - -pagePart#8dee6c44 blocks:Vector photos:Vector videos:Vector = Page; -pageFull#d7a19d69 blocks:Vector photos:Vector videos:Vector = Page; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#6c448ae8 id:long access_hash:long date:int admin_id:int participant_id:int g_a:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#69796de9 {X:Type} api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#22c6aa08 hash:string = contacts.Contacts; -contacts.importContacts#da30b32d contacts:Vector replace:Bool = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#ce91e4ca flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#b921197a = help.AppChangelog; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#eb7611d0 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.kickFromChannel#a672de14 channel:InputChannel user_id:InputUser kicked:Bool = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; - -phone.requestCall#a41aa5e4 user_id:InputUser random_id:int g_a:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#220f0b20 peer:InputPhoneCall g_b:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.discardCall#5dfbcddc peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Bool; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; - -// LAYER 62 diff --git a/src/danog/MadelineProto/TL_telegram_v65.tl b/src/danog/MadelineProto/TL_telegram_v65.tl deleted file mode 100644 index 5d2e7e87..00000000 --- a/src/danog/MadelineProto/TL_telegram_v65.tl +++ /dev/null @@ -1,1085 +0,0 @@ -// Core types (no need to gen) - -//vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -/// Authorization key creation -/////////////////////////////// - -resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; - -server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes; -destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes; -destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes; - ----functions--- - -req_pq#60469778 nonce:int128 = ResPQ; - -req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -destroy_auth_key#d1435160 = DestroyAuthKeyRes; - -/////////////////////////////// -////////////// System messages -/////////////////////////////// - ----types--- - -msgs_ack#62d6b459 msg_ids:Vector = MsgsAck; - -bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification; -bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification; - -msgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq; -msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo; -msgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo; - -msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo; -msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo; - -msg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq; - -//rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; // parsed manually - -rpc_error#2144ca19 error_code:int error_message:string = RpcError; - -rpc_answer_unknown#5e2ad36e = RpcDropAnswer; -rpc_answer_dropped_running#cd78e586 = RpcDropAnswer; -rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer; - -future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt; -future_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts; - -pong#347773c5 msg_id:long ping_id:long = Pong; - -destroy_session_ok#e22045fc session_id:long = DestroySessionRes; -destroy_session_none#62d350c9 session_id:long = DestroySessionRes; - -new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession; - -//message msg_id:long seqno:int bytes:int body:Object = Message; // parsed manually -//msg_container#73f1f8dc messages:vector = MessageContainer; // parsed manually -//msg_copy#e06046b2 orig_message:Message = MessageCopy; // parsed manually, not used - use msg_container -//gzip_packed#3072cfa1 packed_data:string = Object; // parsed manually - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; - ----functions--- - -rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer; - -get_future_salts#b921bd04 num:int = FutureSalts; - -ping#7abe77ec ping_id:long = Pong; -ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; - -destroy_session#e7512126 session_id:long = DestroySessionRes; - -contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool; - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string stickers:flags.0?Vector = InputMedia; -inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia; -inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia; -inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#d10d979a flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#a14dca52 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; -channelForbidden#8537784f flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#c3d5512f flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#c09be45f flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; - -dialog#66ffba14 flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#6f8b8cb2 contacts:Vector users:Vector = contacts.Contacts; - -contacts.importedContacts#ad524315 imported:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true id:int ip_address:string port:int = DcOption; - -config#cb601684 flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#410dee07 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantEditor#98192d61 user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantKicked#8cc5e69a user_id:int kicked_by:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#3c37bb7a = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; - -channelRoleEmpty#b285a0c6 = ChannelParticipantRole; -channelRoleModerator#9618d975 = ChannelParticipantRole; -channelRoleEditor#820bfe8c = ChannelParticipantRole; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#ccd3563d flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#c786ddcb flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; - -pagePart#8dee6c44 blocks:Vector photos:Vector videos:Vector = Page; -pageFull#d7a19d69 blocks:Vector photos:Vector videos:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#69796de9 {X:Type} api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int a:flags.0?true b:flags.0?true c:flags.0?true d:flags.0?true api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#22c6aa08 hash:string = contacts.Contacts; -contacts.importContacts#da30b32d contacts:Vector replace:Bool = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#ce91e4ca flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#eb7611d0 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.kickFromChannel#a672de14 channel:InputChannel user_id:InputUser kicked:Bool = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -// LAYER 65 diff --git a/src/danog/MadelineProto/TL_telegram_v66.tl b/src/danog/MadelineProto/TL_telegram_v66.tl deleted file mode 100644 index 451602ba..00000000 --- a/src/danog/MadelineProto/TL_telegram_v66.tl +++ /dev/null @@ -1,1101 +0,0 @@ -// Core types (no need to gen) - -//vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -/// Authorization key creation -/////////////////////////////// - -resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; - -server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes; -destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes; -destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes; - ----functions--- - -req_pq#60469778 nonce:int128 = ResPQ; - -req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -destroy_auth_key#d1435160 = DestroyAuthKeyRes; - -/////////////////////////////// -////////////// System messages -/////////////////////////////// - ----types--- - -msgs_ack#62d6b459 msg_ids:Vector = MsgsAck; - -bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification; -bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification; - -msgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq; -msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo; -msgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo; - -msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo; -msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo; - -msg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq; - -//rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; // parsed manually - -rpc_error#2144ca19 error_code:int error_message:string = RpcError; - -rpc_answer_unknown#5e2ad36e = RpcDropAnswer; -rpc_answer_dropped_running#cd78e586 = RpcDropAnswer; -rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer; - -future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt; -future_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts; - -pong#347773c5 msg_id:long ping_id:long = Pong; - -destroy_session_ok#e22045fc session_id:long = DestroySessionRes; -destroy_session_none#62d350c9 session_id:long = DestroySessionRes; - -new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession; - -//message msg_id:long seqno:int bytes:int body:Object = Message; // parsed manually -//msg_container#73f1f8dc messages:vector = MessageContainer; // parsed manually -//msg_copy#e06046b2 orig_message:Message = MessageCopy; // parsed manually, not used - use msg_container -//gzip_packed#3072cfa1 packed_data:string = Object; // parsed manually - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; - ----functions--- - -rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer; - -get_future_salts#b921bd04 num:int = FutureSalts; - -ping#7abe77ec ping_id:long = Pong; -ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; - -destroy_session#e7512126 session_id:long = DestroySessionRes; - -contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool; - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string stickers:flags.0?Vector = InputMedia; -inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia; -inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia; -inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#a14dca52 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; -channelForbidden#8537784f flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#c3d5512f flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#c09be45f flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; - -dialog#66ffba14 flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#6f8b8cb2 contacts:Vector users:Vector = contacts.Contacts; - -contacts.importedContacts#ad524315 imported:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#1508485a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true id:int ip_address:string port:int = DcOption; - -config#cb601684 flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#410dee07 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantEditor#98192d61 user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantKicked#8cc5e69a user_id:int kicked_by:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#3c37bb7a = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; - -channelRoleEmpty#b285a0c6 = ChannelParticipantRole; -channelRoleModerator#9618d975 = ChannelParticipantRole; -channelRoleEditor#820bfe8c = ChannelParticipantRole; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#ccd3563d flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#c786ddcb flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; - -pagePart#8dee6c44 blocks:Vector photos:Vector videos:Vector = Page; -pageFull#d7a19d69 blocks:Vector photos:Vector videos:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#69796de9 {X:Type} api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#22c6aa08 hash:string = contacts.Contacts; -contacts.importContacts#da30b32d contacts:Vector replace:Bool = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#ce91e4ca flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#2e7a2020 file_token:bytes request_token:bytes = Bool; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#eb7611d0 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.kickFromChannel#a672de14 channel:InputChannel user_id:InputUser kicked:Bool = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -// LAYER 66 diff --git a/src/danog/MadelineProto/TL_telegram_v68.tl b/src/danog/MadelineProto/TL_telegram_v68.tl deleted file mode 100644 index f962c152..00000000 --- a/src/danog/MadelineProto/TL_telegram_v68.tl +++ /dev/null @@ -1,1152 +0,0 @@ -// Core types (no need to gen) - -//vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -/// Authorization key creation -/////////////////////////////// - -resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; - -server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes; -destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes; -destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes; - ----functions--- - -req_pq#60469778 nonce:int128 = ResPQ; - -req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -destroy_auth_key#d1435160 = DestroyAuthKeyRes; - -/////////////////////////////// -////////////// System messages -/////////////////////////////// - ----types--- - -msgs_ack#62d6b459 msg_ids:Vector = MsgsAck; - -bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification; -bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification; - -msgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq; -msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo; -msgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo; - -msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo; -msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo; - -msg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq; - -//rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; // parsed manually - -rpc_error#2144ca19 error_code:int error_message:string = RpcError; - -rpc_answer_unknown#5e2ad36e = RpcDropAnswer; -rpc_answer_dropped_running#cd78e586 = RpcDropAnswer; -rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer; - -future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt; -future_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts; - -pong#347773c5 msg_id:long ping_id:long = Pong; - -destroy_session_ok#e22045fc session_id:long = DestroySessionRes; -destroy_session_none#62d350c9 session_id:long = DestroySessionRes; - -new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession; - -//message msg_id:long seqno:int bytes:int body:Object = Message; // parsed manually -//msg_container#73f1f8dc messages:vector = MessageContainer; // parsed manually -//msg_copy#e06046b2 orig_message:Message = MessageCopy; // parsed manually, not used - use msg_container -//gzip_packed#3072cfa1 packed_data:string = Object; // parsed manually - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; - -ipPort ipv4:int port:int = IpPort; -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; - ----functions--- - -rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer; - -get_future_salts#b921bd04 num:int = FutureSalts; - -ping#7abe77ec ping_id:long = Pong; -ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; - -destroy_session#e7512126 session_id:long = DestroySessionRes; - -contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool; - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string stickers:flags.0?Vector = InputMedia; -inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector = InputMedia; -inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia; -inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia; -inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#95cb5f57 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#c09be45f flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; - -dialog#66ffba14 flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#6f8b8cb2 contacts:Vector users:Vector = contacts.Contacts; - -contacts.importedContacts#ad524315 imported:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#1508485a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption; - -config#7feec888 flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#410dee07 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#ccd3563d flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#c786ddcb flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#22c6aa08 hash:string = contacts.Contacts; -contacts.importContacts#da30b32d contacts:Vector replace:Bool = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#f288a275 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#ce91e4ca flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#2e7a2020 file_token:bytes request_token:bytes = Bool; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#4255934 sticker:InputDocument = Bool; -stickers.changeStickerPosition#4ed705ca sticker:InputDocument position:int = Bool; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - -// LAYER 68 diff --git a/src/danog/MadelineProto/TL_telegram_v70.tl b/src/danog/MadelineProto/TL_telegram_v70.tl deleted file mode 100644 index bdc97c3c..00000000 --- a/src/danog/MadelineProto/TL_telegram_v70.tl +++ /dev/null @@ -1,1158 +0,0 @@ -// Core types (no need to gen) - -//vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -/// Authorization key creation -/////////////////////////////// - -resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; - -server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes; -destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes; -destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes; - ----functions--- - -req_pq#60469778 nonce:int128 = ResPQ; - -req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -destroy_auth_key#d1435160 = DestroyAuthKeyRes; - -/////////////////////////////// -////////////// System messages -/////////////////////////////// - ----types--- - -msgs_ack#62d6b459 msg_ids:Vector = MsgsAck; - -bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification; -bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification; - -msgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq; -msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo; -msgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo; - -msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo; -msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo; - -msg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq; - -//rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; // parsed manually - -rpc_error#2144ca19 error_code:int error_message:string = RpcError; - -rpc_answer_unknown#5e2ad36e = RpcDropAnswer; -rpc_answer_dropped_running#cd78e586 = RpcDropAnswer; -rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer; - -future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt; -future_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts; - -pong#347773c5 msg_id:long ping_id:long = Pong; - -destroy_session_ok#e22045fc session_id:long = DestroySessionRes; -destroy_session_none#62d350c9 session_id:long = DestroySessionRes; - -new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession; - -//message msg_id:long seqno:int bytes:int body:Object = Message; // parsed manually -//msg_container#73f1f8dc messages:vector = MessageContainer; // parsed manually -//msg_copy#e06046b2 orig_message:Message = MessageCopy; // parsed manually, not used - use msg_container -//gzip_packed#3072cfa1 packed_data:string = Object; // parsed manually - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; - -ipPort ipv4:int port:int = IpPort; -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; - ----functions--- - -rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer; - -get_future_salts#b921bd04 num:int = FutureSalts; - -ping#7abe77ec ping_id:long = Pong; -ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; - -destroy_session#e7512126 session_id:long = DestroySessionRes; - -contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool; - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#e39621fd flags:# file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#95cb5f57 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#90dddc11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; - -dialog#66ffba14 flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#6f8b8cb2 contacts:Vector users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption; - -config#7feec888 flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#410dee07 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#ccd3563d flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#fadff4ac flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#22c6aa08 hash:string = contacts.Contacts; -contacts.importContacts#da30b32d contacts:Vector replace:Bool = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#f288a275 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#ce91e4ca flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - -// LAYER 70 diff --git a/src/danog/MadelineProto/TL_telegram_v71.tl b/src/danog/MadelineProto/TL_telegram_v71.tl deleted file mode 100644 index b2e036fa..00000000 --- a/src/danog/MadelineProto/TL_telegram_v71.tl +++ /dev/null @@ -1,1173 +0,0 @@ -// Core types (no need to gen) - -//vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -/// Authorization key creation -/////////////////////////////// - -resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; - -server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes; -destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes; -destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes; - ----functions--- - -req_pq#60469778 nonce:int128 = ResPQ; - -req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -destroy_auth_key#d1435160 = DestroyAuthKeyRes; - -/////////////////////////////// -////////////// System messages -/////////////////////////////// - ----types--- - -msgs_ack#62d6b459 msg_ids:Vector = MsgsAck; - -bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification; -bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification; - -msgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq; -msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo; -msgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo; - -msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo; -msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo; - -msg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq; - -//rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; // parsed manually - -rpc_error#2144ca19 error_code:int error_message:string = RpcError; - -rpc_answer_unknown#5e2ad36e = RpcDropAnswer; -rpc_answer_dropped_running#cd78e586 = RpcDropAnswer; -rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer; - -future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt; -future_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts; - -pong#347773c5 msg_id:long ping_id:long = Pong; - -destroy_session_ok#e22045fc session_id:long = DestroySessionRes; -destroy_session_none#62d350c9 session_id:long = DestroySessionRes; - -new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession; - -//message msg_id:long seqno:int bytes:int body:Object = Message; // parsed manually -//msg_container#73f1f8dc messages:vector = MessageContainer; // parsed manually -//msg_copy#e06046b2 orig_message:Message = MessageCopy; // parsed manually, not used - use msg_container -//gzip_packed#3072cfa1 packed_data:string = Object; // parsed manually - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; - -ipPort ipv4:int port:int = IpPort; -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; - ----functions--- - -rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer; - -get_future_salts#b921bd04 num:int = FutureSalts; - -ping#7abe77ec ping_id:long = Pong; -ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; - -destroy_session#e7512126 session_id:long = DestroySessionRes; - -contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool; - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#e39621fd flags:# file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#17f45fcf flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#90dddc11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterMyMentionsUnread#46caf4a8 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption; - -config#8df376a4 flags:# date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int phonecalls_enabled:flags.1?true call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#ccd3563d flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#fadff4ac flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#039e9ea0 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#ce91e4ca flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - -// LAYER 71 diff --git a/src/danog/MadelineProto/TL_telegram_v72.tl b/src/danog/MadelineProto/TL_telegram_v72.tl deleted file mode 100644 index 138410b8..00000000 --- a/src/danog/MadelineProto/TL_telegram_v72.tl +++ /dev/null @@ -1,1193 +0,0 @@ -// Core types (no need to gen) - -//vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -/////////////////////////////// -/////////////////// Layer cons -/////////////////////////////// - -//invokeAfterMsg#cb9f372d msg_id:long query:!X = X; -//invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; -//invokeWithLayer1#53835315 query:!X = X; -//invokeWithLayer2#289dd1f6 query:!X = X; -//invokeWithLayer3#b7475268 query:!X = X; -//invokeWithLayer4#dea0d430 query:!X = X; -//invokeWithLayer5#417a57ae query:!X = X; -//invokeWithLayer6#3a64d54d query:!X = X; -//invokeWithLayer7#a5be56d3 query:!X = X; -//invokeWithLayer8#e9abd9fd query:!X = X; -//invokeWithLayer9#76715a63 query:!X = X; -//invokeWithLayer10#39620c41 query:!X = X; -//invokeWithLayer11#a6b88fdf query:!X = X; -//invokeWithLayer12#dda60d3c query:!X = X; -//invokeWithLayer13#427c8ea2 query:!X = X; -//invokeWithLayer14#2b9b08fa query:!X = X; -//invokeWithLayer15#b4418b64 query:!X = X; -//invokeWithLayer16#cf5f0987 query:!X = X; -//invokeWithLayer17#50858a19 query:!X = X; -//invokeWithLayer18#1c900537 query:!X = X; -//invokeWithLayer#da9b0d0d layer:int query:!X = X; // after 18 layer - -/////////////////////////////// -/// Authorization key creation -/////////////////////////////// - -resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector = ResPQ; - -p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data; - -server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params; -server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params; - -server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data; - -client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data; - -dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer; -dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer; -dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer; - -destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes; -destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes; -destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes; - ----functions--- - -req_pq#60469778 nonce:int128 = ResPQ; - -req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params; - -set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer; - -destroy_auth_key#d1435160 = DestroyAuthKeyRes; - -/////////////////////////////// -////////////// System messages -/////////////////////////////// - ----types--- - -msgs_ack#62d6b459 msg_ids:Vector = MsgsAck; - -bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification; -bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification; - -msgs_state_req#da69fb52 msg_ids:Vector = MsgsStateReq; -msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo; -msgs_all_info#8cc0d131 msg_ids:Vector info:string = MsgsAllInfo; - -msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo; -msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo; - -msg_resend_req#7d861a08 msg_ids:Vector = MsgResendReq; - -//rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; // parsed manually - -rpc_error#2144ca19 error_code:int error_message:string = RpcError; - -rpc_answer_unknown#5e2ad36e = RpcDropAnswer; -rpc_answer_dropped_running#cd78e586 = RpcDropAnswer; -rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer; - -future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt; -future_salts#ae500895 req_msg_id:long now:int salts:vector = FutureSalts; - -pong#347773c5 msg_id:long ping_id:long = Pong; - -destroy_session_ok#e22045fc session_id:long = DestroySessionRes; -destroy_session_none#62d350c9 session_id:long = DestroySessionRes; - -new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession; - -//message msg_id:long seqno:int bytes:int body:Object = Message; // parsed manually -//msg_container#73f1f8dc messages:vector = MessageContainer; // parsed manually -//msg_copy#e06046b2 orig_message:Message = MessageCopy; // parsed manually, not used - use msg_container -//gzip_packed#3072cfa1 packed_data:string = Object; // parsed manually - -http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait; - -ipPort ipv4:int port:int = IpPort; -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; - ----functions--- - -rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer; - -get_future_salts#b921bd04 num:int = FutureSalts; - -ping#7abe77ec ping_id:long = Pong; -ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong; - -destroy_session#e7512126 session_id:long = DestroySessionRes; - -contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool; - -/////////////////////////////// -///////// Main application API -/////////////////////////////// - ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#e39621fd flags:# file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia; -inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#90dddc11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption; - -config#9c840964 flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#fadff4ac flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.search#39e9ea0 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#5d1b8dd flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Updates; -messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.getRecentLocations#249431e2 peer:InputPeer limit:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - -// LAYER 72 diff --git a/src/danog/MadelineProto/TL_telegram_v73.tl b/src/danog/MadelineProto/TL_telegram_v73.tl deleted file mode 100644 index 320cc16c..00000000 --- a/src/danog/MadelineProto/TL_telegram_v73.tl +++ /dev/null @@ -1,1071 +0,0 @@ ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#e39621fd flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector caption:string stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#450b7115 flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption; - -config#9c840964 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#1aa1f784 results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#1f486803 link:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#795667a6 payment_token:DataJSON = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#5eaa7809 media:InputMedia random_id:long = InputSingleMedia; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#637ea878 token_type:int token:string = Bool; -account.unregisterDevice#65c55b40 token_type:int token:string = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; - -messages.getMessages#4222fa74 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#39e9ea0 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#25223e24 message:string = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#5d1b8dd flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Updates; -messages.editInlineBotMessage#b0e08243 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#249431e2 peer:InputPeer limit:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#93d7b347 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - -// LAYER 73 diff --git a/src/danog/MadelineProto/TL_telegram_v75.tl b/src/danog/MadelineProto/TL_telegram_v75.tl deleted file mode 100644 index 14488743..00000000 --- a/src/danog/MadelineProto/TL_telegram_v75.tl +++ /dev/null @@ -1,1082 +0,0 @@ ----types--- - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#450b7115 flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#5e002502 flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyAll#a429b886 = InputNotifyPeer; - -inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents; -inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents; - -inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings; - -peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents; -peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; - -peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; -peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; -updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector = upload.File; - -dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption; - -config#9c840964 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyAll#74d07c60 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#8a8ecd32 hash:string stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -disabledFeature#ae636f24 feature:string description:string = DisabledFeature; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password; -account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings; - -account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#f1ee3e90 text:string = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#5ce20970 hash:int stickers:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; - -auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone; -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.sendInvites#771c1d97 phone_numbers:Vector message:string = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#1389cc token_type:int token:string app_sandbox:Bool other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#39e9ea0 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#ae22e045 emoticon:string hash:string = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#5d1b8dd flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Updates; -messages.editInlineBotMessage#b0e08243 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#2d9776b9 peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool; -messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#249431e2 peer:InputPeer limit:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.getTermsOfService#350170f3 = help.TermsOfService; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - -// LAYER 75 diff --git a/src/danog/MadelineProto/TL_telegram_v81.tl b/src/danog/MadelineProto/TL_telegram_v81.tl deleted file mode 100644 index bbf95c4b..00000000 --- a/src/danog/MadelineProto/TL_telegram_v81.tl +++ /dev/null @@ -1,1175 +0,0 @@ ----types--- - - -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - - - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#c88974ac flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#2049d70c long:double lat:double = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#eb7bb160 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string suggested_lang_code:flags.2?string lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#5ea182f6 new_salt:bytes new_secure_salt:bytes secure_random:bytes email_unconfirmed_pattern:string = account.Password; -account.password#ca39b447 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true current_salt:bytes new_salt:bytes new_secure_salt:bytes secure_random:bytes hint:string email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#7bd9c3f1 email:string secure_salt:bytes secure_secret:bytes secure_secret_id:long = account.PasswordSettings; - -account.passwordInputSettings#21ffa60d flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_salt:flags.2?bytes new_secure_secret:flags.2?bytes new_secure_secret_id:flags.2?long = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#5585a139 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.wTermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; - -draftMessageEmpty#ba4baec5 = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector dc_id:int = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true manage_call:flags.10?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#b4b4b699 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#67872e8 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#cb976d53 flags:# selfie_required:flags.1?true required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#823380b4 flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#c000e4c8 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Updates; -messages.editInlineBotMessage#adc3e828 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - -// LAYER 81 diff --git a/src/danog/MadelineProto/TL_telegram_v82.tl b/src/danog/MadelineProto/TL_telegram_v82.tl deleted file mode 100644 index a7aa8dd7..00000000 --- a/src/danog/MadelineProto/TL_telegram_v82.tl +++ /dev/null @@ -1,1178 +0,0 @@ ----types--- - -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto; - -inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#c88974ac flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#3213dbba flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#18798952 id:long access_hash:long = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.noPassword#5ea182f6 new_salt:bytes new_secure_salt:bytes secure_random:bytes email_unconfirmed_pattern:string = account.Password; -account.password#ca39b447 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true current_salt:bytes new_salt:bytes new_secure_salt:bytes secure_random:bytes hint:string email_unconfirmed_pattern:string = account.Password; - -account.passwordSettings#7bd9c3f1 email:string secure_salt:bytes secure_secret:bytes secure_secret_id:long = account.PasswordSettings; - -account.passwordInputSettings#21ffa60d flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_salt:flags.2?bytes new_secure_secret:flags.2?bytes new_secure_secret_id:flags.2?long = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#5585a139 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true manage_call:flags.10?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#b4b4b699 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#67872e8 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#cb976d53 flags:# selfie_required:flags.1?true required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#a63011e password_hash:bytes = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings; -account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#823380b4 flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#b098aee6 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#c000e4c8 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Updates; -messages.editInlineBotMessage#adc3e828 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#ae2de196 = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference; -langpack.getStrings#2e1ee318 lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#800fd57d = Vector; - diff --git a/src/danog/MadelineProto/TL_telegram_v86.tl b/src/danog/MadelineProto/TL_telegram_v86.tl deleted file mode 100644 index 7510dc81..00000000 --- a/src/danog/MadelineProto/TL_telegram_v86.tl +++ /dev/null @@ -1,1203 +0,0 @@ ----types--- - -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#196683d9 id:long access_hash:long file_reference:bytes = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#91d11eb dc_id:int volume_id:long local_id:int secret:long file_reference:bytes = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#c88974ac flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector = ChatFull; -channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9c477dd8 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; - -userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#10c2404b = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#3213dbba flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#59534e4c id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#5585a139 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock; -pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock; -pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; -pageBlockCollage#8b31c4f items:Vector caption:RichText = PageBlock; -pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock; - -pagePart#8e3f9ebe blocks:Vector photos:Vector documents:Vector = Page; -pageFull#556ec7aa blocks:Vector photos:Vector documents:Vector = Page; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true manage_call:flags.10?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#823380b4 flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#b098aee6 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#c000e4c8 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Updates; -messages.editInlineBotMessage#adc3e828 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#b2e4d7d from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; - -// LAYER 86 diff --git a/src/danog/MadelineProto/TL_telegram_v89.tl b/src/danog/MadelineProto/TL_telegram_v89.tl deleted file mode 100644 index a3f797b0..00000000 --- a/src/danog/MadelineProto/TL_telegram_v89.tl +++ /dev/null @@ -1,1246 +0,0 @@ ----types--- -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#196683d9 id:long access_hash:long file_reference:bytes = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; - -inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#91d11eb dc_id:int volume_id:long local_id:int secret:long file_reference:bytes = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#c88974ac flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#edd2a791 flags:# id:int participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int = ChatFull; -channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9c477dd8 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; - -userFull#8ea4a881 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactRegistered#2575bbb9 user_id:int date:int = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#22893b26 chat_id:int id:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#e6ca25f6 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#59534e4c id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#5585a139 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#e6f9ddf3 flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true manage_call:flags.10?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#823380b4 flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.exportCard#84e53737 = Vector; -contacts.importCard#4fe196fe export_card:Vector = User; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#b098aee6 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#c000e4c8 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Updates; -messages.editInlineBotMessage#adc3e828 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector geo_point:flags.13?InputGeoPoint = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#9d51e814 lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -// LAYER 89 diff --git a/src/danog/MadelineProto/TL_telegram_v91.tl b/src/danog/MadelineProto/TL_telegram_v91.tl deleted file mode 100644 index 1edfc963..00000000 --- a/src/danog/MadelineProto/TL_telegram_v91.tl +++ /dev/null @@ -1,1277 +0,0 @@ ----types--- -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#196683d9 id:long access_hash:long file_reference:bytes = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#91d11eb dc_id:int volume_id:long local_id:int secret:long file_reference:bytes = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#c88974ac flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#edd2a791 flags:# id:int participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int = ChatFull; -channelFull#1c87a71a flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9c477dd8 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; - -userFull#8ea4a881 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#22893b26 chat_id:int id:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#e6ca25f6 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#59534e4c id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#5585a139 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant; -channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#e6f9ddf3 flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true manage_call:flags.10?true = ChannelAdminRights; - -channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#c04cfac2 = Vector; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#823380b4 flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#b098aee6 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#83f6c0cd peer:InputPeer = StatsURL; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAbout#13e27f1e channel:InputChannel about:string = Bool; -channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#9d51e814 lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -// LAYER 91 diff --git a/src/danog/MadelineProto/TL_telegram_v95.tl b/src/danog/MadelineProto/TL_telegram_v95.tl deleted file mode 100644 index 02b6e630..00000000 --- a/src/danog/MadelineProto/TL_telegram_v95.tl +++ /dev/null @@ -1,1295 +0,0 @@ ----types--- -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#196683d9 id:long access_hash:long file_reference:bytes = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#91d11eb dc_id:int volume_id:long local_id:int secret:long file_reference:bytes = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4df30834 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#22a235da flags:# can_set_username:flags.7?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int = ChatFull; -channelFull#1c87a71a flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9c477dd8 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; - -userFull#8ea4a881 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#a6c47aaa flags:# inexact:flags.1?true count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#22893b26 chat_id:int id:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#e6ca25f6 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#5585a139 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#5daa6e23 flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#e6f9ddf3 flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#302f59f3 flags:# allow_flashcall:flags.0?true current_number:flags.1?true app_hash_persistent:flags.2?true app_hash:flags.3?string = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#b098aee6 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#83f6c0cd peer:InputPeer = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAdmin#70f893ba channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#9d51e814 lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -// LAYER 95 diff --git a/src/danog/MadelineProto/TL_telegram_v97.tl b/src/danog/MadelineProto/TL_telegram_v97.tl deleted file mode 100644 index 9c04c80a..00000000 --- a/src/danog/MadelineProto/TL_telegram_v97.tl +++ /dev/null @@ -1,1314 +0,0 @@ ----types--- -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#196683d9 id:long access_hash:long file_reference:bytes = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; -fileLocation#91d11eb dc_id:int volume_id:long local_id:int secret:long file_reference:bytes = FileLocation; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4df30834 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#22a235da flags:# can_set_username:flags.7?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int = ChatFull; -channelFull#1c87a71a flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#9c477dd8 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; - -userFull#8ea4a881 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#a6c47aaa flags:# inexact:flags.1?true count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#e6ca25f6 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#db74f558 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:ChatPhoto participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#6a90bcb7 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#5daa6e23 flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#e6f9ddf3 flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#302f59f3 flags:# allow_flashcall:flags.0?true current_number:flags.1?true app_hash_persistent:flags.2?true app_hash:flags.3?string = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - -autoDownloadSettings#d246fd47 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#b098aee6 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAdmin#70f893ba channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -// LAYER 97 diff --git a/src/danog/MadelineProto/TL_telegram_v98.tl b/src/danog/MadelineProto/TL_telegram_v98.tl deleted file mode 100644 index 2c1549f5..00000000 --- a/src/danog/MadelineProto/TL_telegram_v98.tl +++ /dev/null @@ -1,1319 +0,0 @@ ----types--- -help.configSimple#d997c3c5 date:int expires:int dc_id:int ip_port_list:Vector = help.ConfigSimple; -ipPort#d433ad73 ipv4:int port:int = IpPort; -ipPortSecret#37982646 ipv4:int port:int secret:bytes = IpPort; -accessPointRule#4679b65f phone_prefix_rules:string dc_id:int ips:vector = AccessPointRule; -help.configSimple#5a592a6c date:int expires:int rules:vector = help.ConfigSimple; - -boolFalse#bc799737 = Bool; -boolTrue#997275b5 = Bool; - -true#3fedd339 = True; - -vector#1cb5c415 {t:Type} # [ t ] = Vector t; - -error#c4b9f9bb code:int text:string = Error; - -null#56730bcc = Null; - -inputPeerEmpty#7f3b18ea = InputPeer; -inputPeerSelf#7da07ec9 = InputPeer; -inputPeerChat#179be863 chat_id:int = InputPeer; -inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; -inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; - -inputUserEmpty#b98886cf = InputUser; -inputUserSelf#f7c1b13f = InputUser; -inputUser#d8292816 user_id:int access_hash:long = InputUser; - -inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact; - -inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; -inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; - -inputMediaEmpty#9664f57f = InputMedia; -inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0?int = InputMedia; -inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia; -inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia; -inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector stickers:flags.0?Vector ttl_seconds:flags.1?int = InputMedia; -inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0?int = InputMedia; -inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia; -inputMediaGifExternal#4843b0fd url:string q:string = InputMedia; -inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int = InputMedia; -inputMediaGame#d33f43f3 id:InputGame = InputMedia; -inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia; -inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0?true geo_point:InputGeoPoint period:flags.1?int = InputMedia; -inputMediaPoll#6b3765b poll:Poll = InputMedia; - -inputChatPhotoEmpty#1ca48f57 = InputChatPhoto; -inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto; -inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto; - -inputGeoPointEmpty#e4c123d6 = InputGeoPoint; -inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint; - -inputPhotoEmpty#1cd7bf0d = InputPhoto; -inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto; - -inputFileLocation#dfdaabe1 volume_id:long local_id:int secret:long file_reference:bytes = InputFileLocation; -inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation; -inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocation; -inputTakeoutFileLocation#29be5899 = InputFileLocation; -inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation; -inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0?true peer:InputPeer volume_id:long local_id:int = InputFileLocation; -inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation; - -peerUser#9db1bc6d user_id:int = Peer; -peerChat#bad0e5bb chat_id:int = Peer; -peerChannel#bddde532 channel_id:int = Peer; - -storage.fileUnknown#aa963b05 = storage.FileType; -storage.filePartial#40bc6f52 = storage.FileType; -storage.fileJpeg#7efe0e = storage.FileType; -storage.fileGif#cae1aadf = storage.FileType; -storage.filePng#a4f63c0 = storage.FileType; -storage.filePdf#ae1e508d = storage.FileType; -storage.fileMp3#528a0677 = storage.FileType; -storage.fileMov#4b09ebbc = storage.FileType; -storage.fileMp4#b3cea0e4 = storage.FileType; -storage.fileWebp#1081464c = storage.FileType; - -userEmpty#200250ba id:int = User; -user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User; - -userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; -userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto; - -userStatusEmpty#9d05049 = UserStatus; -userStatusOnline#edb93949 expires:int = UserStatus; -userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; - -chatEmpty#9ba2d800 id:int = Chat; -chat#3bda1bde flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; -chatForbidden#7328bdb id:int title:string = Chat; -channel#4df30834 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat; -channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat; - -chatFull#22a235da flags:# can_set_username:flags.7?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int = ChatFull; -channelFull#1c87a71a flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_view_stats:flags.12?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull; - -chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant; -chatParticipantCreator#da13538a user_id:int = ChatParticipant; -chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant; - -chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants; -chatParticipants#3f460fed chat_id:int participants:Vector version:int = ChatParticipants; - -chatPhotoEmpty#37c1011c = ChatPhoto; -chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto; - -messageEmpty#83e5de54 id:int = Message; -message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message; -messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; - -messageMediaEmpty#3ded6320 = MessageMedia; -messageMediaPhoto#695150d7 flags:# photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; -messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; -messageMediaContact#cbf24940 phone_number:string first_name:string last_name:string vcard:string user_id:int = MessageMedia; -messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia; -messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia; -messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; -messageMediaGame#fdb19008 game:Game = MessageMedia; -messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia; -messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia; -messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; - -messageActionEmpty#b6aef7b0 = MessageAction; -messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; -messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; -messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; -messageActionChatDeletePhoto#95e3fbef = MessageAction; -messageActionChatAddUser#488a7337 users:Vector = MessageAction; -messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; -messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction; -messageActionChannelCreate#95d2ac92 title:string = MessageAction; -messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction; -messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction; -messageActionPinMessage#94bd38ed = MessageAction; -messageActionHistoryClear#9fbab604 = MessageAction; -messageActionGameScore#92a72876 game_id:long score:int = MessageAction; -messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction; -messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction; -messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction; -messageActionScreenshotTaken#4792929b = MessageAction; -messageActionCustomAction#fae69f56 message:string = MessageAction; -messageActionBotAllowed#abe9affe domain:string = MessageAction; -messageActionSecureValuesSentMe#1b287353 values:Vector credentials:SecureCredentialsEncrypted = MessageAction; -messageActionSecureValuesSent#d95c6154 types:Vector = MessageAction; -messageActionContactSignUp#f3f25f76 = MessageAction; - -dialog#e4def5db flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog; - -photoEmpty#2331b22d id:long = Photo; -photo#d07504a5 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector dc_id:int = Photo; - -photoSizeEmpty#e17e23c type:string = PhotoSize; -photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize; -photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize; -photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize; - -geoPointEmpty#1117dd5f = GeoPoint; -geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint; - -auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone; - -auth.sentCode#38faab5f flags:# phone_registered:flags.0?true type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int terms_of_service:flags.3?help.TermsOfService = auth.SentCode; - -auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization; - -auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization; - -inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer; -inputNotifyUsers#193b4417 = InputNotifyPeer; -inputNotifyChats#4a95e84e = InputNotifyPeer; -inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer; - -inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings; - -peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings; - -peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; - -wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper; - -inputReportReasonSpam#58dbcab8 = ReportReason; -inputReportReasonViolence#1e22c78d = ReportReason; -inputReportReasonPornography#2e59d922 = ReportReason; -inputReportReasonChildAbuse#adf44ee3 = ReportReason; -inputReportReasonOther#e1746d0a text:string = ReportReason; -inputReportReasonCopyright#9b89f93a = ReportReason; - -userFull#8ea4a881 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int = UserFull; - -contact#f911c994 user_id:int mutual:Bool = Contact; - -importedContact#d0028438 user_id:int client_id:long = ImportedContact; - -contactBlocked#561bc879 user_id:int date:int = ContactBlocked; - -contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; - -contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link; - -contacts.contactsNotModified#b74ba9d2 = contacts.Contacts; -contacts.contacts#eae87e42 contacts:Vector saved_count:int users:Vector = contacts.Contacts; - -contacts.importedContacts#77d01c3b imported:Vector popular_invites:Vector retry_contacts:Vector users:Vector = contacts.ImportedContacts; - -contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; -contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; - -messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; -messages.dialogsNotModified#f0e3e596 count:int = messages.Dialogs; - -messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesSlice#a6c47aaa flags:# inexact:flags.1?true count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.channelMessages#99262e37 flags:# inexact:flags.1?true pts:int count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messagesNotModified#74535f21 count:int = messages.Messages; - -messages.chats#64ff9fd5 chats:Vector = messages.Chats; -messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; - -messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; - -messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory; - -inputMessagesFilterEmpty#57e2f66c = MessagesFilter; -inputMessagesFilterPhotos#9609a51c = MessagesFilter; -inputMessagesFilterVideo#9fc00e65 = MessagesFilter; -inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter; -inputMessagesFilterDocument#9eddf188 = MessagesFilter; -inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; -inputMessagesFilterGif#ffc86587 = MessagesFilter; -inputMessagesFilterVoice#50f5c392 = MessagesFilter; -inputMessagesFilterMusic#3751b49e = MessagesFilter; -inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter; -inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter; -inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter; -inputMessagesFilterRoundVideo#b549da53 = MessagesFilter; -inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; -inputMessagesFilterGeo#e7026d0d = MessagesFilter; -inputMessagesFilterContacts#e062db83 = MessagesFilter; - -updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; -updateMessageID#4e90bfd6 id:int random_id:long = Update; -updateDeleteMessages#a20db0e5 messages:Vector pts:int pts_count:int = Update; -updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; -updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; -updateChatParticipants#7761198 participants:ChatParticipants = Update; -updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update; -updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update; -updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update; -updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update; -updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; -updateEncryptedChatTyping#1710f156 chat_id:int = Update; -updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update; -updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update; -updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update; -updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update; -updateDcOptions#8e5e9873 dc_options:Vector = Update; -updateUserBlocked#80ece81a user_id:int blocked:Bool = Update; -updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update; -updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector = Update; -updatePrivacy#ee3b272a key:PrivacyKey rules:Vector = Update; -updateUserPhone#12b9417b user_id:int phone:string = Update; -updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update; -updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update; -updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update; -updateReadMessagesContents#68c13933 messages:Vector pts:int pts_count:int = Update; -updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; -updateChannel#b6d45656 channel_id:int = Update; -updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; -updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update; -updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector pts:int pts_count:int = Update; -updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update; -updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update; -updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update; -updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector = Update; -updateStickerSets#43ae3dec = Update; -updateSavedGifs#9375341e = Update; -updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update; -updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update; -updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update; -updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; -updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update; -updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update; -updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update; -updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update; -updateReadFeaturedStickers#571d2742 = Update; -updateRecentStickers#9a422c20 = Update; -updateConfig#a229dd06 = Update; -updatePtsChanged#3354678f = Update; -updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; -updateDialogPinned#19d27f3c flags:# pinned:flags.0?true peer:DialogPeer = Update; -updatePinnedDialogs#ea4cb65b flags:# order:flags.0?Vector = Update; -updateBotWebhookJSON#8317c0c3 data:DataJSON = Update; -updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update; -updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update; -updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update; -updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; -updateLangPackTooLong#46560264 lang_code:string = Update; -updateLangPack#56022f4d difference:LangPackDifference = Update; -updateFavedStickers#e511996d = Update; -updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector = Update; -updateContactsReset#7084a7be = Update; -updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update; -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; -updateUserPinnedMessage#4c43da18 user_id:int id:int = Update; -updateChatPinnedMessage#e10db349 chat_id:int id:int version:int = Update; -updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; -updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update; - -updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; - -updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; -updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; -updates.differenceSlice#a8fb1981 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector intermediate_state:updates.State = updates.Difference; -updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; - -updatesTooLong#e317af7e = Updates; -updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector = Updates; -updateShort#78d4dec1 update:Update date:int = Updates; -updatesCombined#725b04c3 updates:Vector users:Vector chats:Vector date:int seq_start:int seq:int = Updates; -updates#74ae4240 updates:Vector users:Vector chats:Vector date:int seq:int = Updates; -updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; - -photos.photos#8dca6aa5 photos:Vector users:Vector = photos.Photos; -photos.photosSlice#15051f54 count:int photos:Vector users:Vector = photos.Photos; - -photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; - -upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File; -upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector = upload.File; - -dcOption#18b7a10d flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int secret:flags.10?bytes = DcOption; - -config#e6ca25f6 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int = Config; - -nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc; - -help.appUpdate#1da7158f flags:# popup:flags.0?true id:int version:string text:string entities:Vector document:flags.1?Document url:flags.2?string = help.AppUpdate; -help.noAppUpdate#c45a6536 = help.AppUpdate; - -help.inviteText#18cb9f78 message:string = help.InviteText; - -encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat; -encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat; -encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat; -encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat; -encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat; - -inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat; - -encryptedFileEmpty#c21f497e = EncryptedFile; -encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile; - -inputEncryptedFileEmpty#1837c364 = InputEncryptedFile; -inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile; -inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile; -inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile; - -encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage; -encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage; - -messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig; -messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig; - -messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage; -messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage; - -inputDocumentEmpty#72f0eaae = InputDocument; -inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument; - -documentEmpty#36f8c871 id:long = Document; -document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0?Vector dc_id:int attributes:Vector = Document; - -help.support#17c6b5f6 phone_number:string user:User = help.Support; - -notifyPeer#9fd40bd8 peer:Peer = NotifyPeer; -notifyUsers#b4c83b4c = NotifyPeer; -notifyChats#c007cec3 = NotifyPeer; -notifyBroadcasts#d612e8ef = NotifyPeer; - -sendMessageTypingAction#16bf744e = SendMessageAction; -sendMessageCancelAction#fd5ec8f5 = SendMessageAction; -sendMessageRecordVideoAction#a187d66f = SendMessageAction; -sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction; -sendMessageRecordAudioAction#d52f73f7 = SendMessageAction; -sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction; -sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; -sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; -sendMessageGeoLocationAction#176f8ba1 = SendMessageAction; -sendMessageChooseContactAction#628cbc6f = SendMessageAction; -sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; -sendMessageRecordRoundAction#88f27fbc = SendMessageAction; -sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction; - -contacts.found#b3134d9d my_results:Vector results:Vector chats:Vector users:Vector = contacts.Found; - -inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey; -inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey; -inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; -inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey; -inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey; -inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey; - -privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; -privacyKeyChatInvite#500e6dfa = PrivacyKey; -privacyKeyPhoneCall#3d662b7b = PrivacyKey; -privacyKeyPhoneP2P#39491cc8 = PrivacyKey; -privacyKeyForwards#69ec56a3 = PrivacyKey; -privacyKeyProfilePhoto#96151fed = PrivacyKey; - -inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; -inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; -inputPrivacyValueAllowUsers#131cc67f users:Vector = InputPrivacyRule; -inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule; -inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule; -inputPrivacyValueDisallowUsers#90110467 users:Vector = InputPrivacyRule; - -privacyValueAllowContacts#fffe1bac = PrivacyRule; -privacyValueAllowAll#65427b82 = PrivacyRule; -privacyValueAllowUsers#4d5bbe0c users:Vector = PrivacyRule; -privacyValueDisallowContacts#f888fa1a = PrivacyRule; -privacyValueDisallowAll#8b73e763 = PrivacyRule; -privacyValueDisallowUsers#c7f49b7 users:Vector = PrivacyRule; - -account.privacyRules#554abb6f rules:Vector users:Vector = account.PrivacyRules; - -accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; - -documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; -documentAttributeAnimated#11b58939 = DocumentAttribute; -documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute; -documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; -documentAttributeFilename#15590068 file_name:string = DocumentAttribute; -documentAttributeHasStickers#9801d2f7 = DocumentAttribute; - -messages.stickersNotModified#f1749a22 = messages.Stickers; -messages.stickers#e4599bbd hash:int stickers:Vector = messages.Stickers; - -stickerPack#12b299d4 emoticon:string documents:Vector = StickerPack; - -messages.allStickersNotModified#e86602c3 = messages.AllStickers; -messages.allStickers#edfd405f hash:int sets:Vector = messages.AllStickers; - -messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages; - -contactLinkUnknown#5f4f9247 = ContactLink; -contactLinkNone#feedd3ad = ContactLink; -contactLinkHasPhone#268f3f59 = ContactLink; -contactLinkContact#d502c2d0 = ContactLink; - -webPageEmpty#eb1477e8 id:long = WebPage; -webPagePending#c586da1c id:long date:int = WebPage; -webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage; -webPageNotModified#85849473 = WebPage; - -authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; - -account.authorizations#1250abde authorizations:Vector = account.Authorizations; - -account.password#ad2641f8 flags:# has_recovery:flags.0?true has_secure_values:flags.1?true has_password:flags.2?true current_algo:flags.2?PasswordKdfAlgo srp_B:flags.2?bytes srp_id:flags.2?long hint:flags.3?string email_unconfirmed_pattern:flags.4?string new_algo:PasswordKdfAlgo new_secure_algo:SecurePasswordKdfAlgo secure_random:bytes = account.Password; - -account.passwordSettings#9a5c33e5 flags:# email:flags.0?string secure_settings:flags.1?SecureSecretSettings = account.PasswordSettings; - -account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings; - -auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery; - -receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage; - -chatInviteEmpty#69df3769 = ExportedChatInvite; -chatInviteExported#fc2e05bc link:string = ExportedChatInvite; - -chatInviteAlready#5a686d7c chat:Chat = ChatInvite; -chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite; - -inputStickerSetEmpty#ffb62b95 = InputStickerSet; -inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet; -inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet; - -stickerSet#eeb46f27 flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumb:flags.4?PhotoSize thumb_dc_id:flags.4?int count:int hash:int = StickerSet; - -messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; - -botCommand#c27ac8c7 command:string description:string = BotCommand; - -botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; - -keyboardButton#a2fa4880 text:string = KeyboardButton; -keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; -keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton; -keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton; -keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton; -keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton; -keyboardButtonGame#50f41ccf text:string = KeyboardButton; -keyboardButtonBuy#afd93fbb text:string = KeyboardButton; - -keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; - -replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; -replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup; -replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector = ReplyMarkup; -replyInlineMarkup#48a30254 rows:Vector = ReplyMarkup; - -messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; -messageEntityMention#fa04579d offset:int length:int = MessageEntity; -messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity; -messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity; -messageEntityUrl#6ed02538 offset:int length:int = MessageEntity; -messageEntityEmail#64e475c2 offset:int length:int = MessageEntity; -messageEntityBold#bd610bc9 offset:int length:int = MessageEntity; -messageEntityItalic#826f8b60 offset:int length:int = MessageEntity; -messageEntityCode#28a20571 offset:int length:int = MessageEntity; -messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity; -messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; -messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity; -inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity; -messageEntityPhone#9b69e34b offset:int length:int = MessageEntity; -messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity; - -inputChannelEmpty#ee8c1e86 = InputChannel; -inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; - -contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector users:Vector = contacts.ResolvedPeer; - -messageRange#ae30253 min_id:int max_id:int = MessageRange; - -updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference; -updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector chats:Vector users:Vector = updates.ChannelDifference; -updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector other_updates:Vector chats:Vector users:Vector = updates.ChannelDifference; - -channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter; -channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter; - -channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant; -channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant; -channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant; -channelParticipantAdmin#5daa6e23 flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights = ChannelParticipant; -channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant; - -channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter; -channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter; -channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter; -channelParticipantsBots#b0d1865b = ChannelParticipantsFilter; -channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter; -channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter; -channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter; - -channels.channelParticipants#f56ee2a8 count:int participants:Vector users:Vector = channels.ChannelParticipants; -channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants; - -channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector = channels.ChannelParticipant; - -help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string entities:Vector min_age_confirm:flags.1?int = help.TermsOfService; - -foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif; -foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif; - -messages.foundGifs#450a1c0a next_offset:int results:Vector = messages.FoundGifs; - -messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs; -messages.savedGifs#2e0709a5 hash:int gifs:Vector = messages.SavedGifs; - -inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; -inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage; - -inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult; -inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult; - -botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; -botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage; - -botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult; -botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; - -messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector cache_time:int users:Vector = messages.BotResults; - -exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; - -messageFwdHeader#ec338270 flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader; - -auth.codeTypeSms#72a3158c = auth.CodeType; -auth.codeTypeCall#741cd3e3 = auth.CodeType; -auth.codeTypeFlashCall#226ccefb = auth.CodeType; - -auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType; -auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType; -auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType; -auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType; - -messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer; - -messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData; - -inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID; - -inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM; - -messages.peerDialogs#3371c354 dialogs:Vector messages:Vector chats:Vector users:Vector state:updates.State = messages.PeerDialogs; - -topPeer#edcdc05b peer:Peer rating:double = TopPeer; - -topPeerCategoryBotsPM#ab661b5b = TopPeerCategory; -topPeerCategoryBotsInline#148677e2 = TopPeerCategory; -topPeerCategoryCorrespondents#637b7ed = TopPeerCategory; -topPeerCategoryGroups#bd17a14a = TopPeerCategory; -topPeerCategoryChannels#161d9628 = TopPeerCategory; -topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; - -topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector = TopPeerCategoryPeers; - -contacts.topPeersNotModified#de266ef5 = contacts.TopPeers; -contacts.topPeers#70b772a8 categories:Vector chats:Vector users:Vector = contacts.TopPeers; -contacts.topPeersDisabled#b52c939d = contacts.TopPeers; - -draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage; -draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector date:int = DraftMessage; - -messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers; -messages.featuredStickers#f89d88e5 hash:int sets:Vector unread:Vector = messages.FeaturedStickers; - -messages.recentStickersNotModified#b17f890 = messages.RecentStickers; -messages.recentStickers#22f3afb3 hash:int packs:Vector stickers:Vector dates:Vector = messages.RecentStickers; - -messages.archivedStickers#4fcba9c8 count:int sets:Vector = messages.ArchivedStickers; - -messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult; -messages.stickerSetInstallResultArchive#35e410a8 sets:Vector = messages.StickerSetInstallResult; - -stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered; -stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector = StickerSetCovered; - -maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords; - -inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia; -inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia; - -game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game; - -inputGameID#32c3e77 id:long access_hash:long = InputGame; -inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame; - -highScore#58fffcd0 pos:int user_id:int score:int = HighScore; - -messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; - -textEmpty#dc3d824f = RichText; -textPlain#744694e0 text:string = RichText; -textBold#6724abc4 text:RichText = RichText; -textItalic#d912a59c text:RichText = RichText; -textUnderline#c12622c4 text:RichText = RichText; -textStrike#9bf8bb95 text:RichText = RichText; -textFixed#6c3f19b9 text:RichText = RichText; -textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText; -textEmail#de5a0dd6 text:RichText email:string = RichText; -textConcat#7e6260d7 texts:Vector = RichText; -textSubscript#ed6a8504 text:RichText = RichText; -textSuperscript#c7fb5e01 text:RichText = RichText; -textMarked#34b8621 text:RichText = RichText; -textPhone#1ccb966a text:RichText phone:string = RichText; -textImage#81ccf4f document_id:long w:int h:int = RichText; -textAnchor#35553762 text:RichText name:string = RichText; - -pageBlockUnsupported#13567e8a = PageBlock; -pageBlockTitle#70abc3fd text:RichText = PageBlock; -pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock; -pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock; -pageBlockHeader#bfd064ec text:RichText = PageBlock; -pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; -pageBlockParagraph#467a0766 text:RichText = PageBlock; -pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock; -pageBlockFooter#48870999 text:RichText = PageBlock; -pageBlockDivider#db20b188 = PageBlock; -pageBlockAnchor#ce0d37b0 name:string = PageBlock; -pageBlockList#e4e88011 items:Vector = PageBlock; -pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; -pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock; -pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock; -pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlock; -pageBlockCover#39f23300 cover:PageBlock = PageBlock; -pageBlockEmbed#a8718dc5 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:flags.5?int h:flags.5?int caption:PageCaption = PageBlock; -pageBlockEmbedPost#f259a80b url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:PageCaption = PageBlock; -pageBlockCollage#65a0fa4d items:Vector caption:PageCaption = PageBlock; -pageBlockSlideshow#31f9590 items:Vector caption:PageCaption = PageBlock; -pageBlockChannel#ef1751b5 channel:Chat = PageBlock; -pageBlockAudio#804361ea audio_id:long caption:PageCaption = PageBlock; -pageBlockKicker#1e148390 text:RichText = PageBlock; -pageBlockTable#bf4dea82 flags:# bordered:flags.0?true striped:flags.1?true title:RichText rows:Vector = PageBlock; -pageBlockOrderedList#9a8ae1e1 items:Vector = PageBlock; -pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector title:RichText = PageBlock; -pageBlockRelatedArticles#16115a96 title:RichText articles:Vector = PageBlock; -pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock; - -phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; -phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; -phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; -phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; - -dataJSON#7d748d04 data:string = DataJSON; - -labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; - -invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector = Invoice; - -paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; - -postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress; - -paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo; - -paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials; - -webDocument#1c570ed1 url:string access_hash:long size:int mime_type:string attributes:Vector = WebDocument; -webDocumentNoProxy#f9c8bcc6 url:string size:int mime_type:string attributes:Vector = WebDocument; - -inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector = InputWebDocument; - -inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation; -inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation; - -upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; - -payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector = payments.PaymentForm; - -payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; - -payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult; -payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult; - -payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector = payments.PaymentReceipt; - -payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo; - -inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials; -inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials; -inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials; - -account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword; - -shippingOption#b6213cdf id:string title:string prices:Vector = ShippingOption; - -inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem; - -inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall; - -phoneCallEmpty#5366c915 id:long = PhoneCall; -phoneCallWaiting#1b8f4ad1 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall; -phoneCallRequested#87eabb53 flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCallAccepted#997c454a flags:# video:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall; -phoneCall#8742ae7f flags:# p2p_allowed:flags.5?true id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector start_date:int = PhoneCall; -phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.5?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall; - -phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection; - -phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol; - -phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector = phone.PhoneCall; - -upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile; -upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile; - -cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey; - -cdnConfig#5725e40a public_keys:Vector = CdnConfig; - -langPackString#cad181f6 key:string value:string = LangPackString; -langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString; -langPackStringDeleted#2979eeb2 key:string = LangPackString; - -langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector = LangPackDifference; - -langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage; - -channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction; -channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; -channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction; -channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction; - -channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent; - -channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; - -channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter; - -popularContact#5ce14175 client_id:long importers:int = PopularContact; - -messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers; -messages.favedStickers#f37f2f16 hash:int packs:Vector stickers:Vector = messages.FavedStickers; - -recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl; -recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl; -recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl; -recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl; -recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl; - -help.recentMeUrls#e0310d7 urls:Vector chats:Vector users:Vector = help.RecentMeUrls; - -inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector = InputSingleMedia; - -webAuthorization#cac943f2 hash:long bot_id:int domain:string browser:string platform:string date_created:int date_active:int ip:string region:string = WebAuthorization; - -account.webAuthorizations#ed56c9fc authorizations:Vector users:Vector = account.WebAuthorizations; - -inputMessageID#a676a322 id:int = InputMessage; -inputMessageReplyTo#bad88395 id:int = InputMessage; -inputMessagePinned#86872538 = InputMessage; - -inputDialogPeer#fcaafeb7 peer:InputPeer = InputDialogPeer; - -dialogPeer#e56dbf05 peer:Peer = DialogPeer; - -messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets; -messages.foundStickerSets#5108d648 hash:int sets:Vector = messages.FoundStickerSets; - -fileHash#6242c773 offset:int limit:int hash:bytes = FileHash; - -inputClientProxy#75588b3f address:string port:int = InputClientProxy; - -help.proxyDataEmpty#e09e1fb8 expires:int = help.ProxyData; -help.proxyDataPromo#2bf7ee23 expires:int peer:Peer chats:Vector users:Vector = help.ProxyData; - -help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdate; -help.termsOfServiceUpdate#28ecf961 expires:int terms_of_service:help.TermsOfService = help.TermsOfServiceUpdate; - -inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile; -inputSecureFile#5367e5be id:long access_hash:long = InputSecureFile; - -secureFileEmpty#64199744 = SecureFile; -secureFile#e0277a62 id:long access_hash:long size:int dc_id:int date:int file_hash:bytes secret:bytes = SecureFile; - -secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData; - -securePlainPhone#7d6099dd phone:string = SecurePlainData; -securePlainEmail#21ec5a5f email:string = SecurePlainData; - -secureValueTypePersonalDetails#9d2a81e3 = SecureValueType; -secureValueTypePassport#3dac6a00 = SecureValueType; -secureValueTypeDriverLicense#6e425c4 = SecureValueType; -secureValueTypeIdentityCard#a0d0744b = SecureValueType; -secureValueTypeInternalPassport#99a48f23 = SecureValueType; -secureValueTypeAddress#cbe31e26 = SecureValueType; -secureValueTypeUtilityBill#fc36954e = SecureValueType; -secureValueTypeBankStatement#89137c0d = SecureValueType; -secureValueTypeRentalAgreement#8b883488 = SecureValueType; -secureValueTypePassportRegistration#99e3806a = SecureValueType; -secureValueTypeTemporaryRegistration#ea02ec33 = SecureValueType; -secureValueTypePhone#b320aadb = SecureValueType; -secureValueTypeEmail#8e3ca7ee = SecureValueType; - -secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData hash:bytes = SecureValue; - -inputSecureValue#db21d0a7 flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?InputSecureFile reverse_side:flags.2?InputSecureFile selfie:flags.3?InputSecureFile translation:flags.6?Vector files:flags.4?Vector plain_data:flags.5?SecurePlainData = InputSecureValue; - -secureValueHash#ed1ecdb0 type:SecureValueType hash:bytes = SecureValueHash; - -secureValueErrorData#e8a40bd9 type:SecureValueType data_hash:bytes field:string text:string = SecureValueError; -secureValueErrorFrontSide#be3dfa type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorReverseSide#868a2aa5 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorSelfie#e537ced6 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFile#7a700873 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorFiles#666220e9 type:SecureValueType file_hash:Vector text:string = SecureValueError; -secureValueError#869d758f type:SecureValueType hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFile#a1144770 type:SecureValueType file_hash:bytes text:string = SecureValueError; -secureValueErrorTranslationFiles#34636dd8 type:SecureValueType file_hash:Vector text:string = SecureValueError; - -secureCredentialsEncrypted#33f0ea47 data:bytes hash:bytes secret:bytes = SecureCredentialsEncrypted; - -account.authorizationForm#ad2e1cd8 flags:# required_types:Vector values:Vector errors:Vector users:Vector privacy_policy_url:flags.0?string = account.AuthorizationForm; - -account.sentEmailCode#811f854f email_pattern:string length:int = account.SentEmailCode; - -help.deepLinkInfoEmpty#66afa166 = help.DeepLinkInfo; -help.deepLinkInfo#6a4ee832 flags:# update_app:flags.0?true message:string entities:flags.1?Vector = help.DeepLinkInfo; - -savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContact; - -account.takeout#4dba4501 id:long = account.Takeout; - -passwordKdfAlgoUnknown#d45ab096 = PasswordKdfAlgo; -passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow#3a912d4a salt1:bytes salt2:bytes g:int p:bytes = PasswordKdfAlgo; - -securePasswordKdfAlgoUnknown#4a8537 = SecurePasswordKdfAlgo; -securePasswordKdfAlgoPBKDF2HMACSHA512iter100000#bbf2dda0 salt:bytes = SecurePasswordKdfAlgo; -securePasswordKdfAlgoSHA512#86471d92 salt:bytes = SecurePasswordKdfAlgo; - -secureSecretSettings#1527bcac secure_algo:SecurePasswordKdfAlgo secure_secret:bytes secure_secret_id:long = SecureSecretSettings; - -inputCheckPasswordEmpty#9880f658 = InputCheckPasswordSRP; -inputCheckPasswordSRP#d27ff082 srp_id:long A:bytes M1:bytes = InputCheckPasswordSRP; - -secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredType; -secureRequiredTypeOneOf#27477b4 types:Vector = SecureRequiredType; - -help.passportConfigNotModified#bfb9f457 = help.PassportConfig; -help.passportConfig#a098d6af hash:int countries_langs:DataJSON = help.PassportConfig; - -inputAppEvent#1d1b1245 time:double type:string peer:long data:JSONValue = InputAppEvent; - -jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue; - -jsonNull#3f6d7b68 = JSONValue; -jsonBool#c7345e6a value:Bool = JSONValue; -jsonNumber#2be0dfa4 value:double = JSONValue; -jsonString#b71e767a value:string = JSONValue; -jsonArray#f7444763 value:Vector = JSONValue; -jsonObject#99c1d49d value:Vector = JSONValue; - -pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell; - -pageTableRow#e0c0c5e5 cells:Vector = PageTableRow; - -pageCaption#6f747657 text:RichText credit:RichText = PageCaption; - -pageListItemText#b92fb6cd text:RichText = PageListItem; -pageListItemBlocks#25e073fc blocks:Vector = PageListItem; - -pageListOrderedItemText#5e068047 num:string text:RichText = PageListOrderedItem; -pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector = PageListOrderedItem; - -pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle; - -page#ae891bec flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector photos:Vector documents:Vector = Page; - -help.supportName#8c05f1c9 name:string = help.SupportName; - -help.userInfoEmpty#f3ae2eed = help.UserInfo; -help.userInfo#1eb3758 message:string entities:Vector author:string date:int = help.UserInfo; - -pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer; - -poll#d5529d06 id:long flags:# closed:flags.0?true question:string answers:Vector = Poll; - -pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true option:bytes voters:int = PollAnswerVoters; - -pollResults#5755785a flags:# min:flags.0?true results:flags.1?Vector total_voters:flags.2?int = PollResults; - -chatOnlines#f041e250 onlines:int = ChatOnlines; - -statsURL#47a971e0 url:string = StatsURL; - -chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true = ChatAdminRights; - -chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true until_date:int = ChatBannedRights; - -inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper; -inputWallPaperSlug#72091c80 slug:string = InputWallPaper; - -account.wallPapersNotModified#1c199183 = account.WallPapers; -account.wallPapers#702b65a9 hash:int wallpapers:Vector = account.WallPapers; - -codeSettings#302f59f3 flags:# allow_flashcall:flags.0?true current_number:flags.1?true app_hash_persistent:flags.2?true app_hash:flags.3?string = CodeSettings; - -wallPaperSettings#a12f40b8 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int intensity:flags.3?int = WallPaperSettings; - -autoDownloadSettings#d246fd47 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true photo_size_max:int video_size_max:int file_size_max:int = AutoDownloadSettings; - -account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; - -emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; -emojiKeywordDeleted#236df622 keyword:string emoticons:Vector = EmojiKeyword; - -emojiKeywordsDifference#5cc761bd lang_code:string from_version:int version:int keywords:Vector = EmojiKeywordsDifference; - -emojiURL#a575739d url:string = EmojiURL; - -emojiLanguage#b3fb5361 lang_code:string = EmojiLanguage; - -fileLocationToBeDeprecated#bc7fc6cd volume_id:long local_id:int = FileLocation; - ----functions--- - -invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; -invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; -initConnection#785188b8 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy query:!X = X; -invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X; -invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; -invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; -invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; - -auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization; -auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization; -auth.logOut#5717da40 = Bool; -auth.resetAuthorizations#9fab0d1a = Bool; -auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; -auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization; -auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool; -auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization; -auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization; -auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery; -auth.recoverPassword#4ea56e92 code:string = auth.Authorization; -auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode; -auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool; -auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; - -account.registerDevice#5cbea590 token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector = Bool; -account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector = Bool; -account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; -account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; -account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; -account.updateStatus#6628562c offline:Bool = Bool; -account.getWallPapers#aabb1763 hash:int = account.WallPapers; -account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool; -account.checkUsername#2714d86c username:string = Bool; -account.updateUsername#3e0bdd7c username:string = User; -account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules; -account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector = account.PrivacyRules; -account.deleteAccount#418d4e0b reason:string = Bool; -account.getAccountTTL#8fc711d = AccountDaysTTL; -account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool; -account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode; -account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User; -account.updateDeviceLocked#38df3532 period:int = Bool; -account.getAuthorizations#e320c158 = account.Authorizations; -account.resetAuthorization#df77f3bc hash:long = Bool; -account.getPassword#548a30f5 = account.Password; -account.getPasswordSettings#9cd4eaf9 password:InputCheckPasswordSRP = account.PasswordSettings; -account.updatePasswordSettings#a59b102f password:InputCheckPasswordSRP new_settings:account.PasswordInputSettings = Bool; -account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; -account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword; -account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; -account.resetWebAuthorization#2d01b9ef hash:long = Bool; -account.resetWebAuthorizations#682d2594 = Bool; -account.getAllSecureValues#b288bc7d = Vector; -account.getSecureValue#73665bc2 types:Vector = Vector; -account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; -account.deleteSecureValue#b880bc4b types:Vector = Bool; -account.getAuthorizationForm#b86ba8e1 bot_id:int scope:string public_key:string = account.AuthorizationForm; -account.acceptAuthorization#e7027c94 bot_id:int scope:string public_key:string value_hashes:Vector credentials:SecureCredentialsEncrypted = Bool; -account.sendVerifyPhoneCode#a5a356f9 phone_number:string settings:CodeSettings = auth.SentCode; -account.verifyPhone#4dd3a7f6 phone_number:string phone_code_hash:string phone_code:string = Bool; -account.sendVerifyEmailCode#7011509f email:string = account.SentEmailCode; -account.verifyEmail#ecba39db email:string code:string = Bool; -account.initTakeoutSession#f05b4804 flags:# contacts:flags.0?true message_users:flags.1?true message_chats:flags.2?true message_megagroups:flags.3?true message_channels:flags.4?true files:flags.5?true file_max_size:flags.5?int = account.Takeout; -account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool; -account.confirmPasswordEmail#8fdf1920 code:string = Bool; -account.resendPasswordEmail#7a7f2a15 = Bool; -account.cancelPasswordEmail#c1cbd5b6 = Bool; -account.getContactSignUpNotification#9f07c728 = Bool; -account.setContactSignUpNotification#cff43f61 silent:Bool = Bool; -account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates; -account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper; -account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper; -account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool; -account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool; -account.resetWallPapers#bb3b9804 = Bool; -account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings; -account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool; - -users.getUsers#d91a548 id:Vector = Vector; -users.getFullUser#ca30a5b1 id:InputUser = UserFull; -users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; - -contacts.getContactIDs#2caa4a42 hash:int = Vector; -contacts.getStatuses#c4a353ee = Vector; -contacts.getContacts#c023849f hash:int = contacts.Contacts; -contacts.importContacts#2c800be5 contacts:Vector = contacts.ImportedContacts; -contacts.deleteContact#8e953744 id:InputUser = contacts.Link; -contacts.deleteContacts#59ab389e id:Vector = Bool; -contacts.deleteByPhones#1013fd9e phones:Vector = Bool; -contacts.block#332b49fc id:InputUser = Bool; -contacts.unblock#e54100bd id:InputUser = Bool; -contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; -contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers; -contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; -contacts.resetSaved#879537f1 = Bool; -contacts.getSaved#82f1e39f = Vector; -contacts.toggleTopPeers#8514bdda enabled:Bool = Bool; - -messages.getMessages#63c66506 id:Vector = messages.Messages; -messages.getDialogs#b098aee6 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:int = messages.Dialogs; -messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.search#8614ef68 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages; -messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; -messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory; -messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; -messages.receivedMessages#5a954c0 max_id:int = Vector; -messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; -messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.sendMedia#b8d1262b flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer = Updates; -messages.reportSpam#cf1592db peer:InputPeer = Bool; -messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; -messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; -messages.report#bd82b658 peer:InputPeer id:Vector reason:ReportReason = Bool; -messages.getChats#3c6aa187 id:Vector = messages.Chats; -messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull; -messages.editChatTitle#dc452855 chat_id:int title:string = Updates; -messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates; -messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates; -messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates; -messages.createChat#9cb126e users:Vector title:string = Updates; -messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; -messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; -messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat; -messages.discardEncryption#edd923c5 chat_id:int = Bool; -messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool; -messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool; -messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage; -messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage; -messages.receivedQueue#55a5bb66 max_qts:int = Vector; -messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool; -messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages; -messages.getStickers#43d4f2c emoticon:string hash:int = messages.Stickers; -messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers; -messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia; -messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite; -messages.checkChatInvite#3eadb1bb hash:string = ChatInvite; -messages.importChatInvite#6c50051c hash:string = Updates; -messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet; -messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult; -messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool; -messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates; -messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector increment:Bool = Vector; -messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool; -messages.migrateChat#15a3b8e3 chat_id:int = Updates; -messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; -messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector = Bool; -messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; -messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs; -messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs; -messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; -messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; -messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool; -messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates; -messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData; -messages.editMessage#d116f31e flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Updates; -messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector = Bool; -messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer; -messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool; -messages.getPeerDialogs#e470bcfd peers:Vector = messages.PeerDialogs; -messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector = Bool; -messages.getAllDrafts#6a3f8d65 = Updates; -messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers; -messages.readFeaturedStickers#5b118126 id:Vector = Bool; -messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers; -messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool; -messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool; -messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers; -messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; -messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates; -messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; -messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores; -messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores; -messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats; -messages.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; -messages.getWebPage#32ca8f91 url:string hash:int = WebPage; -messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; -messages.reorderPinnedDialogs#5b51d63f flags:# force:flags.0?true order:Vector = Bool; -messages.getPinnedDialogs#e254d64e = messages.PeerDialogs; -messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector = Bool; -messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool; -messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia; -messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates; -messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers; -messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; -messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; -messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory; -messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages; -messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector = Updates; -messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; -messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets; -messages.getSplitRanges#1cff7e08 = Vector; -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; -messages.getDialogUnreadMarks#22e24e22 = Vector; -messages.clearAllDrafts#7e58ee9c = Bool; -messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true peer:InputPeer id:int = Updates; -messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector = Updates; -messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates; -messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines; -messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; -messages.editChatAbout#def60797 peer:InputPeer about:string = Bool; -messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates; -messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; -messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; -messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; -messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; - -updates.getState#edd4882a = updates.State; -updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference; -updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; - -photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto; -photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo; -photos.deletePhotos#87cf7f2f id:Vector = Vector; -photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos; - -upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool; -upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File; -upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool; -upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile; -upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile; -upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; -upload.getCdnFileHashes#4da54231 file_token:bytes offset:int = Vector; -upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; - -help.getConfig#c4f9186b = Config; -help.getNearestDc#1fb33026 = NearestDc; -help.getAppUpdate#522d5a7d source:string = help.AppUpdate; -help.getInviteText#4d392343 = help.InviteText; -help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; -help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; -help.getCdnConfig#52029342 = CdnConfig; -help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; -help.getProxyData#3d7758e1 = help.ProxyData; -help.getTermsOfServiceUpdate#2ca51fd1 = help.TermsOfServiceUpdate; -help.acceptTermsOfService#ee72f79a id:DataJSON = Bool; -help.getDeepLinkInfo#3fedc75f path:string = help.DeepLinkInfo; -help.getAppConfig#98914110 = JSONValue; -help.saveAppLog#6f02f748 events:Vector = Bool; -help.getPassportConfig#c661ad08 hash:int = help.PassportConfig; -help.getSupportName#d360e72c = help.SupportName; -help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo; -help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector = help.UserInfo; - -channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; -channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; -channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory; -channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector = Bool; -channels.getMessages#ad8c9a23 channel:InputChannel id:Vector = messages.Messages; -channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants; -channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant; -channels.getChannels#a7f6bbb id:Vector = messages.Chats; -channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; -channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates; -channels.editAdmin#70f893ba channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights = Updates; -channels.editTitle#566decd0 channel:InputChannel title:string = Updates; -channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates; -channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool; -channels.updateUsername#3514b3de channel:InputChannel username:string = Bool; -channels.joinChannel#24b524c5 channel:InputChannel = Updates; -channels.leaveChannel#f836aa95 channel:InputChannel = Updates; -channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector = Updates; -channels.deleteChannel#c0111fe3 channel:InputChannel = Updates; -channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink; -channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; -channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; -channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates; -channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector max_id:long min_id:long limit:int = channels.AdminLogResults; -channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector = Bool; -channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool; -channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates; -channels.getLeftChannels#8341ecc0 offset:int = messages.Chats; - -bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; -bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; - -payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm; -payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt; -payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo; -payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult; -payments.getSavedInfo#227d824b = payments.SavedInfo; -payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; - -stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector = messages.StickerSet; -stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; -stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet; -stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet; - -phone.getCallConfig#55451fa9 = DataJSON; -phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall; -phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall; -phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool; -phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates; -phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhoneCall rating:int comment:string = Updates; -phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool; - -langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference; -langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector = Vector; -langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference; -langpack.getLanguages#42c6978f lang_pack:string = Vector; -langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; - -// LAYER 98 diff --git a/src/danog/MadelineProto/TON/ADNLConnection.php b/src/danog/MadelineProto/TON/ADNLConnection.php index f0da4f94..94134e89 100644 --- a/src/danog/MadelineProto/TON/ADNLConnection.php +++ b/src/danog/MadelineProto/TON/ADNLConnection.php @@ -114,8 +114,8 @@ class ADNLConnection $secret = DH::computeSecret($private, $peerPublic); // Encrypting random with obf keys $digest = \hash('sha256', $random, true); - $key = \substr($secret, 0, 16) . \substr($digest, 16, 16); - $iv = \substr($digest, 0, 4) . \substr($secret, 20, 12); + $key = \substr($secret, 0, 16).\substr($digest, 16, 16); + $iv = \substr($digest, 0, 4).\substr($secret, 20, 12); $encryptedRandom = Crypt::ctrEncrypt($random, $key, $iv); // Generating plaintext init payload $payload = \hash('sha256', yield from $this->TL->serializeObject(['type' => ''], $endpoint['id'], 'key'), true); @@ -134,7 +134,7 @@ class ADNLConnection $data = yield $buffer->bufferRead($length); $data = $this->TL->deserialize($data); if ($data['_'] !== 'adnl.message.answer') { - throw new Exception('Wrong answer type: ' . $data['_']); + throw new Exception('Wrong answer type: '.$data['_']); } $this->requests[$data['query_id']]->resolve($this->TL->deserialize((string) $data['answer'])); } diff --git a/src/danog/MadelineProto/TON/APIFactory.php b/src/danog/MadelineProto/TON/APIFactory.php index 1a09eae7..008f98f1 100644 --- a/src/danog/MadelineProto/TON/APIFactory.php +++ b/src/danog/MadelineProto/TON/APIFactory.php @@ -95,7 +95,7 @@ class APIFactory extends AbstractAPIFactory { $lower_name = \strtolower($name); if ($this->namespace !== '' || !isset($this->methods[$lower_name])) { - $name = $this->namespace . $name; + $name = $this->namespace.$name; $aargs = isset($arguments[1]) && \is_array($arguments[1]) ? $arguments[1] : []; $aargs['apifactory'] = true; $args = isset($arguments[0]) && \is_array($arguments[0]) ? $arguments[0] : []; diff --git a/src/danog/MadelineProto/TON/Lite.php b/src/danog/MadelineProto/TON/Lite.php index 59235b16..f7550bf8 100644 --- a/src/danog/MadelineProto/TON/Lite.php +++ b/src/danog/MadelineProto/TON/Lite.php @@ -69,7 +69,7 @@ class Lite $this->settings = $settings; $this->logger = Logger::getLoggerFromSettings($this->settings); $this->TL = new TL($this); - $this->TL->init(['lite_api' => __DIR__ . '/schemes/lite_api.tl', 'ton_api' => __DIR__ . '/schemes/ton_api.tl']); + $this->TL->init(['lite_api' => __DIR__.'/../../../../schemas/TON/lite_api.tl', 'ton_api' => __DIR__.'/../../../../schemas/TON/ton_api.tl']); } /** * Connect to the lite endpoints specified in the config file. diff --git a/src/danog/MadelineProto/TON/schemes/lite_api.tl b/src/danog/MadelineProto/TON/schemes/lite_api.tl deleted file mode 100644 index 7d4495e7..00000000 --- a/src/danog/MadelineProto/TON/schemes/lite_api.tl +++ /dev/null @@ -1,81 +0,0 @@ -int ? = Int; -long ? = Long; -double ? = Double; -string ? = String; -object ? = Object; -function ? = Function; -bytes data:string = Bytes; -true = True; -boolTrue = Bool; -boolFalse = Bool; - - -vector {t:Type} # [ t ] = Vector t; - -int128 4*[ int ] = Int128; -int256 8*[ int ] = Int256; - -tonNode.blockId workchain:int shard:long seqno:int = tonNode.BlockId; -tonNode.blockIdExt workchain:int shard:long seqno:int root_hash:int256 file_hash:int256 = tonNode.BlockIdExt; -tonNode.zeroStateIdExt workchain:int root_hash:int256 file_hash:int256 = tonNode.ZeroStateIdExt; - -adnl.message.query query_id:int256 query:bytes = adnl.Message; -adnl.message.answer query_id:int256 answer:bytes = adnl.Message; - -liteServer.error code:int message:string = liteServer.Error; - -liteServer.accountId workchain:int id:int256 = liteServer.AccountId; - -liteServer.masterchainInfo last:tonNode.blockIdExt state_root_hash:int256 init:tonNode.zeroStateIdExt = liteServer.MasterchainInfo; -liteServer.masterchainInfoExt mode:# version:int capabilities:long last:tonNode.blockIdExt last_utime:int now:int state_root_hash:int256 init:tonNode.zeroStateIdExt = liteServer.MasterchainInfoExt; -liteServer.currentTime now:int = liteServer.CurrentTime; -liteServer.version mode:# version:int capabilities:long now:int = liteServer.Version; -liteServer.blockData id:tonNode.blockIdExt data:bytes = liteServer.BlockData; -liteServer.blockState id:tonNode.blockIdExt root_hash:int256 file_hash:int256 data:bytes = liteServer.BlockState; -liteServer.blockHeader id:tonNode.blockIdExt mode:# header_proof:bytes = liteServer.BlockHeader; -liteServer.sendMsgStatus status:int = liteServer.SendMsgStatus; -liteServer.accountState id:tonNode.blockIdExt shardblk:tonNode.blockIdExt shard_proof:bytes proof:bytes state:bytes = liteServer.AccountState; -liteServer.runMethodResult mode:# id:tonNode.blockIdExt shardblk:tonNode.blockIdExt shard_proof:mode.0?bytes proof:mode.0?bytes state_proof:mode.1?bytes init_c7:mode.3?bytes lib_extras:mode.4?bytes exit_code:int result:mode.2?bytes = liteServer.RunMethodResult; -liteServer.shardInfo id:tonNode.blockIdExt shardblk:tonNode.blockIdExt shard_proof:bytes shard_descr:bytes = liteServer.ShardInfo; -liteServer.allShardsInfo id:tonNode.blockIdExt proof:bytes data:bytes = liteServer.AllShardsInfo; -liteServer.transactionInfo id:tonNode.blockIdExt proof:bytes transaction:bytes = liteServer.TransactionInfo; -liteServer.transactionList ids:(vector tonNode.blockIdExt) transactions:bytes = liteServer.TransactionList; -liteServer.transactionId mode:# account:mode.0?int256 lt:mode.1?long hash:mode.2?int256 = liteServer.TransactionId; -liteServer.transactionId3 account:int256 lt:long = liteServer.TransactionId3; -liteServer.blockTransactions id:tonNode.blockIdExt req_count:# incomplete:Bool ids:(vector liteServer.transactionId) proof:bytes = liteServer.BlockTransactions; -liteServer.signature node_id_short:int256 signature:bytes = liteServer.Signature; -liteServer.signatureSet validator_set_hash:int catchain_seqno:int signatures:(vector liteServer.signature) = liteServer.SignatureSet; -liteServer.blockLinkBack to_key_block:Bool from:tonNode.blockIdExt to:tonNode.blockIdExt dest_proof:bytes proof:bytes state_proof:bytes = liteServer.BlockLink; -liteServer.blockLinkForward to_key_block:Bool from:tonNode.blockIdExt to:tonNode.blockIdExt dest_proof:bytes config_proof:bytes signatures:liteServer.SignatureSet = liteServer.BlockLink; -liteServer.partialBlockProof complete:Bool from:tonNode.blockIdExt to:tonNode.blockIdExt steps:(vector liteServer.BlockLink) = liteServer.PartialBlockProof; -liteServer.configInfo mode:# id:tonNode.blockIdExt state_proof:bytes config_proof:bytes = liteServer.ConfigInfo; -liteServer.validatorStats mode:# id:tonNode.blockIdExt count:int complete:Bool state_proof:bytes data_proof:bytes = liteServer.ValidatorStats; - -liteServer.debug.verbosity value:int = liteServer.debug.Verbosity; - ----functions--- - -liteServer.getMasterchainInfo = liteServer.MasterchainInfo; -liteServer.getMasterchainInfoExt mode:# = liteServer.MasterchainInfoExt; -liteServer.getTime = liteServer.CurrentTime; -liteServer.getVersion = liteServer.Version; -liteServer.getBlock id:tonNode.blockIdExt = liteServer.BlockData; -liteServer.getState id:tonNode.blockIdExt = liteServer.BlockState; -liteServer.getBlockHeader id:tonNode.blockIdExt mode:# = liteServer.BlockHeader; -liteServer.sendMessage body:bytes = liteServer.SendMsgStatus; -liteServer.getAccountState id:tonNode.blockIdExt account:liteServer.accountId = liteServer.AccountState; -liteServer.runSmcMethod mode:# id:tonNode.blockIdExt account:liteServer.accountId method_id:long params:bytes = liteServer.RunMethodResult; -liteServer.getShardInfo id:tonNode.blockIdExt workchain:int shard:long exact:Bool = liteServer.ShardInfo; -liteServer.getAllShardsInfo id:tonNode.blockIdExt = liteServer.AllShardsInfo; -liteServer.getOneTransaction id:tonNode.blockIdExt account:liteServer.accountId lt:long = liteServer.TransactionInfo; -liteServer.getTransactions count:# account:liteServer.accountId lt:long hash:int256 = liteServer.TransactionList; -liteServer.lookupBlock mode:# id:tonNode.blockId lt:mode.1?long utime:mode.2?int = liteServer.BlockHeader; -liteServer.listBlockTransactions id:tonNode.blockIdExt mode:# count:# after:mode.7?liteServer.transactionId3 reverse_order:mode.6?true want_proof:mode.5?true = liteServer.BlockTransactions; -liteServer.getBlockProof mode:# known_block:tonNode.blockIdExt target_block:mode.0?tonNode.blockIdExt = liteServer.PartialBlockProof; -liteServer.getConfigAll mode:# id:tonNode.blockIdExt = liteServer.ConfigInfo; -liteServer.getConfigParams mode:# id:tonNode.blockIdExt param_list:(vector int) = liteServer.ConfigInfo; -liteServer.getValidatorStats#091a58bc mode:# id:tonNode.blockIdExt limit:int start_after:mode.0?int256 modified_after:mode.2?int = liteServer.ValidatorStats; - -liteServer.queryPrefix = Object; -liteServer.query data:bytes = Object; -liteServer.waitMasterchainSeqno seqno:int timeout_ms:int = Object; // query prefix diff --git a/src/danog/MadelineProto/TON/schemes/ton_api.tl b/src/danog/MadelineProto/TON/schemes/ton_api.tl deleted file mode 100644 index 1f819d5d..00000000 --- a/src/danog/MadelineProto/TON/schemes/ton_api.tl +++ /dev/null @@ -1,638 +0,0 @@ -int ? = Int; -long ? = Long; -double ? = Double; -string ? = String; -object ? = Object; -function ? = Function; -bytes data:string = Bytes; -true = True; -boolTrue = Bool; -boolFalse = Bool; - - -vector {t:Type} # [ t ] = Vector t; - -int128 4*[ int ] = Int128; -int256 8*[ int ] = Int256; - -testObject value:int o:object f:function = TestObject; -testString value:string = TestObject; -testInt value:int = TestObject; -testVectorBytes value:(vector bytes) = TestObject; - -tcp.pong random_id:long = tcp.Pong; - -tcp.authentificate nonce:bytes = tcp.Message; -tcp.authentificationNonce nonce:bytes = tcp.Message; -tcp.authentificationComplete key:PublicKey signature:bytes = tcp.Message; - -fec.raptorQ data_size:int symbol_size:int symbols_count:int = fec.Type; -fec.roundRobin data_size:int symbol_size:int symbols_count:int = fec.Type; -fec.online data_size:int symbol_size:int symbols_count:int = fec.Type; - ----functions--- - -tcp.ping random_id:long = tcp.Pong; - -getTestObject = TestObject; - ----types--- - -pk.unenc data:bytes = PrivateKey; -pk.ed25519 key:int256 = PrivateKey; -pk.aes key:int256 = PrivateKey; -pk.overlay name:bytes = PrivateKey; - -pub.unenc data:bytes = PublicKey; -pub.ed25519 key:int256 = PublicKey; -pub.aes key:int256 = PublicKey; -pub.overlay name:bytes = PublicKey; - - ----functions--- - ----types--- - -adnl.id.short id:int256 = adnl.id.Short; - -adnl.proxyToFastHash ip:int port:int date:int data_hash:int256 shared_secret:int256 = adnl.ProxyTo; -adnl.proxyToFast ip:int port:int date:int signature:int256 = adnl.ProxyToSign; - -adnl.proxy.none = adnl.Proxy; -adnl.proxy.fast shared_secret:bytes = adnl.Proxy; - - -adnl.address.udp ip:int port:int = adnl.Address; -adnl.address.udp6 ip:int128 port:int = adnl.Address; -//adnl.address.tcp ip:int port:int = adnl.Address; -//adnl.address.tcp6 ip:int128 port:int = adnl.Address; - -//adnl.address.tunnel to:adnl.Address tunid: = adnl.Address; - -adnl.addressList addrs:(vector adnl.Address) version:int reinit_date:int priority:int expire_at:int = adnl.AddressList; - -adnl.node id:PublicKey addr_list:adnl.addressList = adnl.Node; -adnl.nodes nodes:(vector adnl.node) = adnl.Nodes; - ----functions--- - ----types--- - -adnl.packetContents - rand1:bytes - flags:# - from:flags.0?PublicKey - from_short:flags.1?adnl.id.short - message:flags.2?adnl.Message - messages:flags.3?(vector adnl.Message) - address:flags.4?adnl.addressList - priority_address:flags.5?adnl.addressList - seqno:flags.6?long - confirm_seqno:flags.7?long - recv_addr_list_version:flags.8?int - recv_priority_addr_list_version:flags.9?int - reinit_date:flags.10?int - dst_reinit_date:flags.10?int - signature:flags.11?bytes - rand2:bytes - = adnl.PacketContents; - - -adnl.message.createChannel key:int256 date:int = adnl.Message; -adnl.message.confirmChannel key:int256 peer_key:int256 date:int = adnl.Message; - -adnl.message.custom data:bytes = adnl.Message; - -adnl.message.nop = adnl.Message; -adnl.message.reinit date:int = adnl.Message; - -adnl.message.query query_id:int256 query:bytes = adnl.Message; -adnl.message.answer query_id:int256 answer:bytes = adnl.Message; - -adnl.message.part hash:int256 total_size:int offset:int data:bytes = adnl.Message; - ----functions--- ----types--- - -adnl.db.node.key local_id:int256 peer_id:int256 = adnl.db.Key; -adnl.db.node.value date:int id:PublicKey addr_list:adnl.addressList priority_addr_list:adnl.addressList = adnl.db.node.Value; - ----functions--- - - ----types--- - -rldp.messagePart transfer_id:int256 fec_type:fec.Type part:int total_size:long seqno:int data:bytes = rldp.MessagePart; -rldp.confirm transfer_id:int256 part:int seqno:int = rldp.MessagePart; -rldp.complete transfer_id:int256 part:int = rldp.MessagePart; - -rldp.message id:int256 data:bytes = rldp.Message; -rldp.query query_id:int256 max_answer_size:long timeout:int data:bytes = rldp.Message; -rldp.answer query_id:int256 data:bytes = rldp.Message; - - ----functions--- ----types--- -dht.node id:PublicKey addr_list:adnl.addressList version:int signature:bytes = dht.Node; -dht.nodes nodes:(vector dht.node) = dht.Nodes; - -dht.key id:int256 name:bytes idx:int = dht.Key; - -dht.updateRule.signature = dht.UpdateRule; -dht.updateRule.anybody = dht.UpdateRule; -dht.updateRule.overlayNodes = dht.UpdateRule; - -dht.keyDescription key:dht.key id:PublicKey update_rule:dht.UpdateRule signature:bytes = dht.KeyDescription; - -dht.value key:dht.keyDescription value:bytes ttl:int signature:bytes = dht.Value; - -dht.pong random_id:long = dht.Pong; - -dht.valueNotFound nodes:dht.nodes = dht.ValueResult; -dht.valueFound value:dht.Value = dht.ValueResult; - -dht.stored = dht.Stored; -dht.message node:dht.node = dht.Message; - -dht.db.bucket nodes:dht.nodes = dht.db.Bucket; -dht.db.key.bucket id:int = dht.db.Key; - ----functions--- - -dht.ping random_id:long = dht.Pong; -dht.store value:dht.value = dht.Stored; -dht.findNode key:int256 k:int = dht.Nodes; -dht.findValue key:int256 k:int = dht.ValueResult; -dht.getSignedAddressList = dht.Node; - -dht.query node:dht.node = True; - ----types--- - -overlay.node.toSign id:adnl.id.short overlay:int256 version:int = overlay.node.ToSign; -overlay.node id:PublicKey overlay:int256 version:int signature:bytes = overlay.Node; -overlay.nodes nodes:(vector overlay.node) = overlay.Nodes; - -overlay.message overlay:int256 = overlay.Message; -//overlay.randomPeers peers:(vector adnl.node) = overlay.RandomPeers; -overlay.broadcastList hashes:(vector int256) = overlay.BroadcastList; - -overlay.fec.received hash:int256 = overlay.Broadcast; -overlay.fec.completed hash:int256 = overlay.Broadcast; - -overlay.broadcast.id src:int256 data_hash:int256 flags:int = overlay.broadcast.Id; -overlay.broadcastFec.id src:int256 type:int256 data_hash:int256 size:int flags:int = overlay.broadcastFec.Id; -overlay.broadcastFec.partId broadcast_hash:int256 data_hash:int256 seqno:int = overlay.broadcastFec.PartId; - -overlay.broadcast.toSign hash:int256 date:int = overlay.broadcast.ToSign; - -overlay.certificate issued_by:PublicKey expire_at:int max_size:int signature:bytes = overlay.Certificate; -overlay.emptyCertificate = overlay.Certificate; - -overlay.certificateId overlay_id:int256 node:int256 expire_at:int max_size:int = overlay.CertificateId; - -overlay.unicast data:bytes = overlay.Broadcast; -overlay.broadcast src:PublicKey certificate:overlay.Certificate flags:int data:bytes date:int signature:bytes = overlay.Broadcast; -overlay.broadcastFec src:PublicKey certificate:overlay.Certificate data_hash:int256 data_size:int flags:int - data:bytes seqno:int fec:fec.Type date:int signature:bytes = overlay.Broadcast; -overlay.broadcastFecShort src:PublicKey certificate:overlay.Certificate broadcast_hash:int256 part_data_hash:int256 seqno:int signature:bytes = overlay.Broadcast; -overlay.broadcastNotFound = overlay.Broadcast; - ----functions--- - -overlay.getRandomPeers peers:overlay.nodes = overlay.Nodes; - -overlay.query overlay:int256 = True; -overlay.getBroadcast hash:int256 = overlay.Broadcast; -overlay.getBroadcastList list:overlay.broadcastList = overlay.BroadcastList; - ----types--- - -overlay.db.nodes nodes:overlay.nodes = overlay.db.Nodes; -overlay.db.key.nodes local_id:int256 overlay:int256 = overlay.db.Key; - ----functions--- - ----types--- - -catchain.block.id incarnation:int256 src:int256 height:int data_hash:int256 = catchain.block.Id; -catchain.block.dep src:int height:int data_hash:int256 signature:bytes = catchain.block.Dep; -catchain.block.data prev:catchain.block.dep deps:(vector catchain.block.dep) = catchain.block.Data; -catchain.block incarnation:int256 src:int height:int data:catchain.block.data signature:bytes = catchain.Block; -catchain.blocks blocks:(vector catchain.block) = catchain.Blocks; -catchain.blockUpdate block:catchain.block = catchain.Update; - -catchain.block.data.badBlock block:catchain.block = catchain.block.inner.Data; -catchain.block.data.fork left:catchain.block.Dep right:catchain.block.Dep = catchain.block.inner.Data; -catchain.block.data.nop = catchain.block.inner.Data; -catchain.block.data.vector msgs:(vector bytes) = catchain.block.inner.Data; -//catchain.block.data.custom = catchain.block.inner.Data; - -catchain.firstblock unique_hash:int256 nodes:(vector int256) = catchain.FirstBlock; - -catchain.difference sent_upto:(vector int) = catchain.Difference; -catchain.differenceFork left:catchain.block.dep right:catchain.block.dep = catchain.Difference; - -catchain.blockNotFound = catchain.BlockResult; -catchain.blockResult block:catchain.block = catchain.BlockResult; - -catchain.sent cnt:int = catchain.Sent; - ----functions--- - -catchain.getBlock block:int256 = catchain.BlockResult; -catchain.getBlocks blocks:(vector int256) = catchain.Sent; -catchain.getDifference rt:(vector int) = catchain.Difference; -catchain.getBlockHistory block:int256 height:long stop_if:(vector int256) = catchain.Sent; -//catchain.getForkDifference src:int fork:catchain.fork = catchain.ForkDifference; - ----types--- - -validatorSession.round.id session:int256 height:long prev_block:int256 seqno:int = validatorSession.round.Id; - -validatorSession.candidate.id round:int256 block_hash:int256 = validatorSession.tempBlock.Id; - -validatorSession.message.startSession = validatorSession.Message; -validatorSession.message.finishSession = validatorSession.Message; - -validatorSession.message.submittedBlock round:int root_hash:int256 file_hash:int256 - collated_data_file_hash:int256 = validatorSession.round.Message; -validatorSession.message.approvedBlock round:int candidate:int256 signature:bytes = validatorSession.round.Message; -validatorSession.message.rejectedBlock round:int candidate:int256 reason:bytes = validatorSession.round.Message; -validatorSession.message.commit round:int candidate:int256 signature:bytes = validatorSession.round.Message; - -validatorSession.message.vote round:int attempt:int candidate:int256 = validatorSession.round.Message; -validatorSession.message.voteFor round:int attempt:int candidate:int256 = validatorSession.round.Message; -validatorSession.message.precommit round:int attempt:int candidate:int256 = validatorSession.round.Message; -validatorSession.message.empty round:int attempt:int = validatorSession.round.Message; - -validatorSession.pong hash:long = validatorSession.Pong; - -validatorSession.candidateId src:int256 root_hash:int256 file_hash:int256 collated_data_file_hash:int256 = validatorSession.CandidateId; - -validatorSession.blockUpdate ts:long actions:(vector validatorSession.round.Message) state:int = validatorSession.BlockUpdate; -validatorSession.candidate src:int256 round:int root_hash:int256 data:bytes collated_data:bytes = validatorSession.Candidate; - -validatorSession.config catchain_idle_timeout:double catchain_max_deps:int round_candidates:int next_candidate_delay:double round_attempt_duration:int - max_round_attempts:int max_block_size:int max_collated_data_size:int = validatorSession.Config; - ----functions--- - -validatorSession.ping hash:long = validatorSession.Pong; -validatorSession.downloadCandidate round:int id:validatorSession.candidateId = validatorSession.Candidate; - ----types--- - -hashable.bool value:Bool = Hashable; -hashable.int32 value:int = Hashable; -hashable.int64 value:long = Hashable; -hashable.int256 value:int256 = Hashable; -hashable.bytes value:bytes = Hashable; -hashable.pair left:int right:int = Hashable; -hashable.vector value:(vector int) = Hashable; -hashable.validatorSessionOldRound seqno:int block:int signatures:int approve_signatures:int = Hashable; -hashable.validatorSessionRoundAttempt seqno:int votes:int precommitted:int vote_for_inited:int vote_for:int = Hashable; -hashable.validatorSessionRound locked_round:int locked_block:int seqno:int precommitted:Bool - first_attempt:int approved_blocks:int signatures:int attempts:int = Hashable; -hashable.blockSignature signature:int = Hashable; -hashable.sentBlock src:int root_hash:int file_hash:int collated_data_file_hash:int = Hashable; -hashable.sentBlockEmpty = Hashable; -hashable.vote block:int node:int = Hashable; -hashable.blockCandidate block:int approved:int = Hashable; -hashable.blockVoteCandidate block:int approved:int = Hashable; -hashable.blockCandidateAttempt block:int votes:int = Hashable; - -hashable.cntVector data:int = Hashable; -hashable.cntSortedVector data:int = Hashable; - -hashable.validatorSession ts:int old_rounds:int cur_round:int = Hashable; - ----functions--- ----types--- - - -tonNode.sessionId workchain:int shard:long cc_seqno:int opts_hash:int256 = tonNode.SessionId; - - -tonNode.blockSignature who:int256 signature:bytes = tonNode.BlockSignature; - -tonNode.blockId workchain:int shard:long seqno:int = tonNode.BlockId; -tonNode.blockIdExt workchain:int shard:long seqno:int root_hash:int256 file_hash:int256 = tonNode.BlockIdExt; -tonNode.zeroStateIdExt workchain:int root_hash:int256 file_hash:int256 = tonNode.ZeroStateIdExt; - -tonNode.blockDescriptionEmpty = tonNode.BlockDescription; -tonNode.blockDescription id:tonNode.blockIdExt = tonNode.BlockDescription; -tonNode.blocksDescription ids:(vector tonNode.blockIdExt) incomplete:Bool = tonNode.BlocksDescription; -tonNode.preparedProofEmpty = tonNode.PreparedProof; -tonNode.preparedProof = tonNode.PreparedProof; -tonNode.preparedProofLink = tonNode.PreparedProof; -tonNode.preparedState = tonNode.PreparedState; -tonNode.notFoundState = tonNode.PreparedState; -tonNode.prepared = tonNode.Prepared; -tonNode.notFound = tonNode.Prepared; -tonNode.data data:bytes = tonNode.Data; -//tonNode.preparedKeyBlockProofEmpty = tonNode.PreparedKeyBlockProof; -//tonNode.preparedKeyBlockProof block_id:tonNode.blockIdExt = tonNode.PreparedKeyBlockProof; - -tonNode.ihrMessage data:bytes = tonNode.IhrMessage; -tonNode.externalMessage data:bytes = tonNode.ExternalMessage; - -tonNode.newShardBlock block:tonNode.blockIdExt cc_seqno:int data:bytes = tonNode.NewShardBlock; - -tonNode.blockBroadcast id:tonNode.blockIdExt catchain_seqno:int validator_set_hash:int - signatures:(vector tonNode.blockSignature) - proof:bytes data:bytes = tonNode.Broadcast; -tonNode.ihrMessageBroadcast message:tonNode.ihrMessage = tonNode.Broadcast; -tonNode.externalMessageBroadcast message:tonNode.externalMessage = tonNode.Broadcast; -tonNode.newShardBlockBroadcast block:tonNode.newShardBlock = tonNode.Broadcast; - -tonNode.shardPublicOverlayId workchain:int shard:long zero_state_file_hash:int256 = tonNode.ShardPublicOverlayId; - -tonNode.keyBlocks blocks:(vector tonNode.blockIdExt) incomplete:Bool error:Bool = tonNode.KeyBlocks; - -ton.blockId root_cell_hash:int256 file_hash:int256 = ton.BlockId; -ton.blockIdApprove root_cell_hash:int256 file_hash:int256 = ton.BlockId; - -tonNode.dataList data:(vector bytes) = tonNode.DataList; - -tonNode.dataFull id:tonNode.blockIdExt proof:bytes block:bytes is_link:Bool = tonNode.DataFull; -tonNode.dataFullEmpty = tonNode.DataFull; - -tonNode.capabilities version:int capabilities:long = tonNode.Capabilities; - -tonNode.success = tonNode.Success; - -tonNode.archiveNotFound = tonNode.ArchiveInfo; -tonNode.archiveInfo id:long = tonNode.ArchiveInfo; - ----functions--- - -tonNode.getNextBlockDescription prev_block:tonNode.blockIdExt = tonNode.BlockDescription; -tonNode.getNextBlocksDescription prev_block:tonNode.blockIdExt limit:int = tonNode.BlocksDescription; -tonNode.getPrevBlocksDescription next_block:tonNode.blockIdExt limit:int cutoff_seqno:int = tonNode.BlocksDescription; -tonNode.prepareBlockProof block:tonNode.blockIdExt allow_partial:Bool = tonNode.PreparedProof; -tonNode.prepareBlockProofs blocks:(vector tonNode.blockIdExt) allow_partial:Bool = tonNode.PreparedProof; -tonNode.prepareBlock block:tonNode.blockIdExt = tonNode.Prepared; -tonNode.prepareBlocks blocks:(vector tonNode.blockIdExt) = tonNode.Prepared; -tonNode.preparePersistentState block:tonNode.blockIdExt masterchain_block:tonNode.blockIdExt = tonNode.PreparedState; -tonNode.prepareZeroState block:tonNode.blockIdExt = tonNode.PreparedState; -tonNode.getNextKeyBlockIds block:tonNode.blockIdExt max_size:int = tonNode.KeyBlocks; -tonNode.downloadNextBlockFull prev_block:tonNode.blockIdExt = tonNode.DataFull; -tonNode.downloadBlockFull block:tonNode.blockIdExt = tonNode.DataFull; -tonNode.downloadBlock block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlocks blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.downloadPersistentState block:tonNode.blockIdExt masterchain_block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadPersistentStateSlice block:tonNode.blockIdExt masterchain_block:tonNode.blockIdExt offset:long max_size:long = tonNode.Data; -tonNode.downloadZeroState block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlockProof block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlockProofs blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.downloadBlockProofLink block:tonNode.blockIdExt = tonNode.Data; -tonNode.downloadBlockProofLinks blocks:(vector tonNode.blockIdExt) = tonNode.DataList; -tonNode.getArchiveInfo masterchain_seqno:int = tonNode.ArchiveInfo; -tonNode.getArchiveSlice archive_id:long offset:long max_size:int = tonNode.Data; - -tonNode.getCapabilities = tonNode.Capabilities; - -tonNode.slave.sendExtMessage message:tonNode.externalMessage = tonNode.Success; - -tonNode.query = Object; - ----types--- - -// bit 0 - started -// bit 1 - ready to switch -// bit 2 - switched from -// bit 3 - archived -// bit 4 - disabled - -db.root.dbDescription version:int first_masterchain_block_id:tonNode.blockIdExt flags:int = db.root.DbDescription; - -db.root.key.cellDb version:int = db.root.Key; -db.root.key.blockDb version:int = db.root.Key; - -db.root.config celldb_version:int blockdb_version:int = db.root.Config; -db.root.key.config = db.root.Key; - -db.celldb.value block_id:tonNode.blockIdExt prev:int256 next:int256 root_hash:int256 = db.celldb.Value; -db.celldb.key.value hash:int256 = db.celldb.key.Value; - -db.block.info#4ac6e727 id:tonNode.blockIdExt flags:# prev_left:flags.1?tonNode.blockIdExt - prev_right:flags.2?tonNode.blockIdExt - next_left:flags.3?tonNode.blockIdExt - next_right:flags.4?tonNode.blockIdExt - lt:flags.13?long - ts:flags.14?int - state:flags.17?int256 - masterchain_ref_seqno:flags.23?int = db.block.Info; -db.block.packedInfo id:tonNode.blockIdExt unixtime:int offset:long = db.block.Info; -db.block.archivedInfo id:tonNode.blockIdExt flags:# next:flags.0?tonNode.blockIdExt = db.block.Info; - -db.blockdb.value next:tonNode.blockIdExt data:bytes = db.blockdb.Value; -db.blockdb.lru id:tonNode.blockIdExt prev:int256 next:int256 = db.blockdb.Lru; -db.blockdb.key.lru id:tonNode.blockIdExt = db.blockdb.Key; -db.blockdb.key.value id:tonNode.blockIdExt = db.blockdb.Key; - -db.candidate source:PublicKey id:tonNode.blockIdExt data:bytes collated_data:bytes = db.Candidate; -db.candidate.id source:PublicKey id:tonNode.blockIdExt collated_data_file_hash:int256 = db.candidate.Id; - -db.filedb.key.empty = db.filedb.Key; -db.filedb.key.blockFile block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.zeroStateFile block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.persistentStateFile block_id:tonNode.blockIdExt masterchain_block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.proof block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.proofLink block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.signatures block_id:tonNode.blockIdExt = db.filedb.Key; -db.filedb.key.candidate id:db.candidate.id = db.filedb.Key; -db.filedb.key.blockInfo block_id:tonNode.blockIdExt = db.filedb.Key; - -db.filedb.value key:db.filedb.Key prev:int256 next:int256 file_hash:int256 = db.filedb.Value; - -db.state.destroyedSessions sessions:(vector int256) = db.state.DestroyedSessions; -db.state.initBlockId block:tonNode.blockIdExt = db.state.InitBlockId; -db.state.gcBlockId block:tonNode.blockIdExt = db.state.GcBlockId; -db.state.shardClient block:tonNode.blockIdExt = db.state.ShardClient; -db.state.asyncSerializer block:tonNode.blockIdExt last:tonNode.blockIdExt last_ts:int = db.state.AsyncSerializer; -db.state.hardforks blocks:(vector tonNode.blockIdExt) = db.state.Hardforks; -db.state.dbVersion version:int = db.state.DbVersion; - -db.state.key.destroyedSessions = db.state.Key; -db.state.key.initBlockId = db.state.Key; -db.state.key.gcBlockId = db.state.Key; -db.state.key.shardClient = db.state.Key; -db.state.key.asyncSerializer = db.state.Key; -db.state.key.hardforks = db.state.Key; -db.state.key.dbVersion = db.state.Key; - -db.lt.el.key workchain:int shard:long idx:int = db.lt.Key; -db.lt.desc.key workchain:int shard:long = db.lt.Key; -db.lt.shard.key idx:int = db.lt.Key; -db.lt.status.key = db.lt.Key; -db.lt.el.value id:tonNode.blockIdExt lt:long ts:int = db.lt.el.Value; -db.lt.desc.value first_idx:int last_idx:int last_seqno:int last_lt:long last_ts:int = db.lt.desc.Value; -db.lt.shard.value workchain:int shard:long = db.lt.shard.Value; -db.lt.status.value total_shards:int = db.lt.status.Value; - -db.files.index.key = db.files.Key; -db.files.package.key package_id:int key:Bool temp:Bool = db.files.Key; - -db.files.index.value packages:(vector int) key_packages:(vector int) temp_packages:(vector int) = db.files.index.Value; -db.files.package.firstBlock workchain:int shard:long seqno:int unixtime:int lt:long = db.files.package.FirstBlock; -db.files.package.value package_id:int key:Bool temp:Bool firstblocks:(vector db.files.package.firstBlock) deleted:Bool - = db.files.package.Value; - ----functions--- - ----types--- - -validator.groupMember public_key_hash:int256 adnl:int256 weight:long = engine.validator.GroupMember; -validator.group workchain:int shard:long catchain_seqno:int config_hash:int256 members:(vector validator.groupMember) = validator.Group; -validator.groupEx workchain:int shard:long vertical_seqno:int catchain_seqno:int config_hash:int256 members:(vector validator.groupMember) = validator.Group; - ----functions--- - - ----types--- - - -id.config.local id:PrivateKey = id.config.Local; -dht.config.local id:adnl.id.short = dht.config.Local; -dht.config.random.local cnt:int = dht.config.Local; -liteserver.config.local id:PrivateKey port:int = liteserver.config.Local; -liteserver.config.random.local port:int = liteserver.config.Local; -validator.config.local id:adnl.id.short = validator.config.Local; -validator.config.random.local addr_list:adnl.addressList = validator.config.Local; -control.config.local priv:PrivateKey pub:int256 port:int = control.config.Local; -config.local local_ids:(vector id.config.local) dht:(vector dht.config.Local) validators:(vector validator.config.Local) liteservers:(vector liteserver.config.Local) control:(vector control.config.local) = config.Local; - -dht.config.global static_nodes:dht.nodes k:int a:int = dht.config.Global; -adnl.config.global static_nodes:adnl.nodes = adnl.config.Global; -catchain.config.global tag:int256 nodes:(vector PublicKey) = catchain.config.Global; -dummyworkchain0.config.global zero_state_hash:int256 = dummyworkchain0.config.Global; -validator.config.global zero_state:tonNode.blockIdExt init_block:tonNode.blockIdExt hardforks:(vector tonNode.blockIdExt) = validator.config.Global; -config.global adnl:adnl.config.global dht:dht.config.global validator:validator.config.global = config.Global; - -liteserver.desc id:PublicKey ip:int port:int = liteserver.Desc; -liteclient.config.global liteservers:(vector liteserver.desc) validator:validator.config.global = liteclient.config.Global; - -engine.adnl id:int256 category:int = engine.Adnl; -engine.addr ip:int port:int categories:(vector int) priority_categories:(vector int) = engine.Addr; -engine.addrProxy in_ip:int in_port:int out_ip:int out_port:int - proxy_type:adnl.Proxy categories:(vector int) priority_categories:(vector int) = engine.Addr; -engine.dht id:int256 = engine.Dht; -engine.validatorTempKey key:int256 expire_at:int = engine.ValidatorTempKey; -engine.validatorAdnlAddress id:int256 expire_at:int = engine.ValidatorAdnlAddress; -engine.validator id:int256 temp_keys:(vector engine.validatorTempKey) adnl_addrs:(vector engine.validatorAdnlAddress) election_date:int expire_at:int = engine.Validator; -engine.liteServer id:int256 port:int = engine.LiteServer; -engine.controlProcess id:int256 permissions:int = engine.ControlProcess; -engine.controlInterface id:int256 port:int allowed:(vector engine.controlProcess) = engine.ControlInterface; -engine.gc ids:(vector int256) = engine.Gc; - -engine.dht.config dht:(vector engine.dht) gc:engine.gc = engine.dht.Config; -engine.validator.fullNodeMaster port:int adnl:int256 = engine.validator.FullNodeMaster; -engine.validator.fullNodeSlave ip:int port:int adnl:PublicKey = engine.validator.FullNodeSlave; -engine.validator.config out_port:int addrs:(vector engine.Addr) adnl:(vector engine.adnl) - dht:(vector engine.dht) - validators:(vector engine.validator) fullnode:int256 fullnodeslaves:(vector engine.validator.fullNodeSlave) - fullnodemasters:(vector engine.validator.fullNodeMaster) - liteservers:(vector engine.liteServer) control:(vector engine.controlInterface) - gc:engine.gc = engine.validator.Config; - ----functions--- ----types--- - -engine.adnlProxy.port in_port:int out_port:int dst_ip:int dst_port:int proxy_type:adnl.Proxy = engine.adnlProxy.Port; - -engine.adnlProxy.config ports:(vector engine.adnlProxy.port) = engine.adnlProxy.Config; - ----functions--- - ----types--- - -adnl.pong value:long = adnl.Pong; - ----functions--- - -adnl.ping value:long = adnl.Pong; - ----types--- - -engine.validator.keyHash key_hash:int256 = engine.validator.KeyHash; -engine.validator.signature signature:bytes = engine.validator.Signature; - -engine.validator.oneStat key:string value:string = engine.validator.OneStat; -engine.validator.stats stats:(vector engine.validator.oneStat) = engine.validator.Stats; - -engine.validator.controlQueryError code:int message:string = engine.validator.ControlQueryError; - -engine.validator.time time:int = engine.validator.Time; -engine.validator.success = engine.validator.Success; - -engine.validator.jsonConfig data:string = engine.validator.JsonConfig; - -engine.validator.electionBid election_date:int perm_key:int256 adnl_addr:int256 to_send_payload:bytes = engine.validator.ElectionBid; - -engine.validator.dhtServerStatus id:int256 status:int = engine.validator.DhtServerStatus; -engine.validator.dhtServersStatus servers:(vector engine.validator.dhtServerStatus) = engine.validator.DhtServersStatus; - ----functions--- - -engine.validator.getTime = engine.validator.Time; -engine.validator.importPrivateKey key:PrivateKey = engine.validator.KeyHash; -engine.validator.exportPrivateKey key_hash:int256 = PrivateKey; -engine.validator.exportPublicKey key_hash:int256 = PublicKey; -engine.validator.generateKeyPair = engine.validator.KeyHash; -engine.validator.addAdnlId key_hash:int256 category:int = engine.validator.Success; -engine.validator.addDhtId key_hash:int256 = engine.validator.Success; -engine.validator.addValidatorPermanentKey key_hash:int256 election_date:int ttl:int = engine.validator.Success; -engine.validator.addValidatorTempKey permanent_key_hash:int256 key_hash:int256 ttl:int = engine.validator.Success; -engine.validator.addValidatorAdnlAddress permanent_key_hash:int256 key_hash:int256 ttl:int = engine.validator.Success; -engine.validator.changeFullNodeAdnlAddress adnl_id:int256 = engine.validator.Success; -engine.validator.addLiteserver key_hash:int256 port:int = engine.validator.Success; -engine.validator.addControlInterface key_hash:int256 port:int = engine.validator.Success; -engine.validator.addControlProcess key_hash:int256 port:int peer_key:int256 permissions:int = engine.validator.Success; - -engine.validator.delAdnlId key_hash:int256 = engine.validator.Success; -engine.validator.delDhtId key_hash:int256 = engine.validator.Success; -engine.validator.delValidatorPermanentKey key_hash:int256 = engine.validator.Success; -engine.validator.delValidatorTempKey permanent_key_hash:int256 key_hash:int256 = engine.validator.Success; -engine.validator.delValidatorAdnlAddress permanent_key_hash:int256 key_hash:int256 = engine.validator.Success; - -engine.validator.addListeningPort ip:int port:int categories:(vector int) priority_categories:(vector int) = engine.validator.Success; -engine.validator.addProxy in_ip:int in_port:int out_ip:int out_port:int proxy:adnl.Proxy categories:(vector int) priority_categories:(vector int) = engine.validator.Success; -engine.validator.delListeningPort ip:int port:int categories:(vector int) priority_categories:(vector int) = engine.validator.Success; -engine.validator.delProxy out_ip:int out_port:int categories:(vector int) priority_categories:(vector int) = engine.validator.Success; - -engine.validator.sign key_hash:int256 data:bytes = engine.validator.Signature; - -engine.validator.getStats = engine.validator.Stats; -engine.validator.getConfig = engine.validator.JsonConfig; - -engine.validator.setVerbosity verbosity:int = engine.validator.Success; - -engine.validator.createElectionBid election_date:int election_addr:string wallet:string = engine.validator.ElectionBid; - -engine.validator.checkDhtServers id:int256 = engine.validator.DhtServersStatus; - -engine.validator.controlQuery data:bytes = Object; - - ----types--- - -http.header name:string value:string = http.Header; -http.payloadPart data:bytes trailer:(vector http.header) last:Bool = http.PayloadPart; -http.response http_version:string status_code:int reason:string headers:(vector http.header) = http.Response; - ----functions--- - -http.request id:int256 method:string url:string http_version:string headers:(vector http.header) = http.Response; -http.getNextPayloadPart id:int256 seqno:int max_chunk_size:int = http.PayloadPart; - ----types--- - - -http.server.dnsEntry domain:string addr:adnl.id.short = http.server.DnsEntry; -http.server.host domains:(vector string) ip:int port:int adnl_id:adnl.id.short = http.server.Host; - -http.server.config dhs:(vector http.server.dnsEntry) local_hosts:(vector http.server.host) = http.server.Config; - ----functions--- diff --git a/src/danog/MadelineProto/TON/schemes/tonlib_api.tl b/src/danog/MadelineProto/TON/schemes/tonlib_api.tl deleted file mode 100644 index a7385eb3..00000000 --- a/src/danog/MadelineProto/TON/schemes/tonlib_api.tl +++ /dev/null @@ -1,257 +0,0 @@ -double ? = Double; -string ? = String; - -int32 = Int32; -int53 = Int53; -int64 = Int64; -bytes = Bytes; -secureString = SecureString; -secureBytes = SecureBytes; - -object ? = Object; -function ? = Function; - -boolFalse = Bool; -boolTrue = Bool; - -vector {t:Type} # [ t ] = Vector t; - -error code:int32 message:string = Error; -ok = Ok; - -keyStoreTypeDirectory directory:string = KeyStoreType; -keyStoreTypeInMemory = KeyStoreType; - -config config:string blockchain_name:string use_callbacks_for_network:Bool ignore_cache:Bool = Config; - -options config:config keystore_type:KeyStoreType = Options; -options.configInfo default_wallet_id:int64 = options.ConfigInfo; -options.info config_info:options.configInfo = options.Info; - -key public_key:string secret:secureBytes = Key; -inputKeyRegular key:key local_password:secureBytes = InputKey; -inputKeyFake = InputKey; -exportedKey word_list:vector = ExportedKey; -exportedPemKey pem:secureString = ExportedPemKey; -exportedEncryptedKey data:secureBytes = ExportedEncryptedKey; - -bip39Hints words:vector = Bip39Hints; - -accountAddress account_address:string = AccountAddress; -accountRevisionList revisions:vector = AccountRevisionList; - -unpackedAccountAddress workchain_id:int32 bounceable:Bool testnet:Bool addr:bytes = UnpackedAccountAddress; - -internal.transactionId lt:int64 hash:bytes = internal.TransactionId; - -ton.blockId workchain:int32 shard:int64 seqno:int32 = internal.BlockId; -ton.blockIdExt workchain:int32 shard:int64 seqno:int32 root_hash:bytes file_hash:bytes = ton.BlockIdExt; - -raw.fullAccountState balance:int64 code:bytes data:bytes last_transaction_id:internal.transactionId block_id:ton.blockIdExt frozen_hash:bytes sync_utime:int53 = raw.FullAccountState; -raw.message source:string destination:string value:int64 fwd_fee:int64 ihr_fee:int64 created_lt:int64 body_hash:bytes message:bytes = raw.Message; -raw.transaction utime:int53 data:bytes transaction_id:internal.transactionId fee:int64 storage_fee:int64 other_fee:int64 in_msg:raw.message out_msgs:vector = raw.Transaction; -raw.transactions transactions:vector previous_transaction_id:internal.transactionId = raw.Transactions; - -raw.initialAccountState code:bytes data:bytes = InitialAccountState; -testGiver.initialAccountState = InitialAccountState; -testWallet.initialAccountState public_key:string = InitialAccountState; -wallet.initialAccountState public_key:string = InitialAccountState; -wallet.v3.initialAccountState public_key:string wallet_id:int64 = InitialAccountState; -wallet.highload.v1.initialAccountState public_key:string wallet_id:int64 = InitialAccountState; -wallet.highload.v2.initialAccountState public_key:string wallet_id:int64 = InitialAccountState; -dns.initialAccountState public_key:string wallet_id:int64 = InitialAccountState; - -raw.accountState code:bytes data:bytes frozen_hash:bytes = AccountState; -testWallet.accountState seqno:int32 = AccountState; -wallet.accountState seqno:int32 = AccountState; -wallet.v3.accountState wallet_id:int64 seqno:int32 = AccountState; -wallet.highload.v1.accountState wallet_id:int64 seqno:int32 = AccountState; -wallet.highload.v2.accountState wallet_id:int64 = AccountState; -testGiver.accountState seqno:int32 = AccountState; -dns.accountState wallet_id:int64 = AccountState; -uninited.accountState frozen_hash:bytes = AccountState; - -fullAccountState balance:int64 last_transaction_id:internal.transactionId block_id:ton.blockIdExt sync_utime:int53 account_state:AccountState = FullAccountState; - -syncStateDone = SyncState; -syncStateInProgress from_seqno:int32 to_seqno:int32 current_seqno:int32 = SyncState; - -// -// MSG -// - -msg.dataText text:string = msg.Data; -msg.dataEncryptedText text:string = msg.Data; -msg.message destination:accountAddress amount:int64 data:msg.Data = msg.Message; - -// -// DNS -// - -dns.entryDataUnknown bytes:bytes = dns.EntryData; -dns.entryDataText text:string = dns.EntryData; -dns.entryDataNextResolver resolver:AccountAddress = dns.EntryData; -dns.entryDataSmcAddress smc_address:AccountAddress = dns.EntryData; -//TODO: other entry types - -dns.entry name:string category:int32 entry:dns.EntryData = dns.Entry; - -dns.actionDeleteAll = dns.Action; -// use category = 0 to delete all entries -dns.actionDelete name:string category:int32 = dns.Action; -dns.actionSet entry:dns.entry = dns.Action; - -dns.resolved entries:vector = dns.Resolved; - -// -// Actions -// - -actionNoop = Action; -actionMsg messages:vector allow_send_to_uninited:Bool = Action; -actionDns actions:vector = Action; -//actionMultisig actions:vector = Action; - -fees in_fwd_fee:int53 storage_fee:int53 gas_fee:int53 fwd_fee:int53 = Fees; -query.fees source_fees:fees destination_fees:vector = query.Fees; -// query.emulationResult exit_code:int32 fees:fees = query.EmulationResult; -query.info id:int53 valid_until:int53 body_hash:bytes = query.Info; - -tvm.slice bytes:bytes = tvm.Slice; -tvm.cell bytes:bytes = tvm.Cell; -tvm.numberDecimal number:string = tvm.Number; -tvm.tuple elements:vector = tvm.Tuple; -tvm.list elements:vector = tvm.List; - -tvm.stackEntrySlice slice:tvm.slice = tvm.StackEntry; -tvm.stackEntryCell cell:tvm.cell = tvm.StackEntry; -tvm.stackEntryNumber number:tvm.Number = tvm.StackEntry; -tvm.stackEntryTuple tuple:tvm.Tuple = tvm.StackEntry; -tvm.stackEntryList list:tvm.List = tvm.StackEntry; -tvm.stackEntryUnsupported = tvm.StackEntry; - -smc.info id:int53 = smc.Info; - -smc.methodIdNumber number:int32 = smc.MethodId; -smc.methodIdName name:string = smc.MethodId; - -smc.runResult gas_used:int53 stack:vector exit_code:int32 = smc.RunResult; - -updateSendLiteServerQuery id:int64 data:bytes = Update; -updateSyncState sync_state:SyncState = Update; - -//@class LogStream @description Describes a stream to which tonlib internal log is written - -//@description The log is written to stderr or an OS specific log -logStreamDefault = LogStream; - -//@description The log is written to a file @path Path to the file to where the internal tonlib log will be written @max_file_size Maximum size of the file to where the internal tonlib log is written before the file will be auto-rotated -logStreamFile path:string max_file_size:int53 = LogStream; - -//@description The log is written nowhere -logStreamEmpty = LogStream; - - -//@description Contains a tonlib internal log verbosity level @verbosity_level Log verbosity level -logVerbosityLevel verbosity_level:int32 = LogVerbosityLevel; - -//@description Contains a list of available tonlib internal log tags @tags List of log tags -logTags tags:vector = LogTags; - -data bytes:secureBytes = Data; - -liteServer.info now:int53 version:int32 capabilities:int64 = liteServer.Info; - ----functions--- - -init options:options = options.Info; -close = Ok; - -options.setConfig config:config = options.ConfigInfo; -options.validateConfig config:config = options.ConfigInfo; - -createNewKey local_password:secureBytes mnemonic_password:secureBytes random_extra_seed:secureBytes = Key; -deleteKey key:key = Ok; -deleteAllKeys = Ok; -exportKey input_key:InputKey = ExportedKey; -exportPemKey input_key:InputKey key_password:secureBytes = ExportedPemKey; -exportEncryptedKey input_key:InputKey key_password:secureBytes = ExportedEncryptedKey; -importKey local_password:secureBytes mnemonic_password:secureBytes exported_key:exportedKey = Key; -importPemKey local_password:secureBytes key_password:secureBytes exported_key:exportedPemKey = Key; -importEncryptedKey local_password:secureBytes key_password:secureBytes exported_encrypted_key:exportedEncryptedKey = Key; -changeLocalPassword input_key:InputKey new_local_password:secureBytes = Key; - -encrypt decrypted_data:secureBytes secret:secureBytes = Data; -decrypt encrypted_data:secureBytes secret:secureBytes = Data; -kdf password:secureBytes salt:secureBytes iterations:int32 = Data; - -unpackAccountAddress account_address:string = UnpackedAccountAddress; -packAccountAddress account_address:unpackedAccountAddress = AccountAddress; -getBip39Hints prefix:string = Bip39Hints; - -//raw.init initial_account_state:raw.initialAccountState = Ok; -raw.getAccountState account_address:accountAddress = raw.FullAccountState; -raw.getTransactions private_key:InputKey account_address:accountAddress from_transaction_id:internal.transactionId = raw.Transactions; -raw.sendMessage body:bytes = Ok; -raw.createAndSendMessage destination:accountAddress initial_account_state:bytes data:bytes = Ok; -raw.createQuery destination:accountAddress init_code:bytes init_data:bytes body:bytes = query.Info; - -sync = ton.BlockIdExt; - -// revision = 0 -- use default revision -// revision = x (x > 0) -- use revision x -getAccountAddress initial_account_state:InitialAccountState revision:int32 = AccountAddress; -// guessAccountRevision initial_account_state:InitialAccountState = AccountRevisionList; -getAccountState account_address:accountAddress = FullAccountState; -createQuery private_key:InputKey address:accountAddress timeout:int32 action:Action = query.Info; - -query.send id:int53 = Ok; -query.forget id:int53 = Ok; -query.estimateFees id:int53 ignore_chksig:Bool = query.Fees; -// query.emulate id:int53 ignore_chksig:Bool = query.EmulationResult; -query.getInfo id:int53 = query.Info; - -smc.load account_address:accountAddress = smc.Info; -//smc.forget id:int53 = Ok; -smc.getCode id:int53 = tvm.Cell; -smc.getData id:int53 = tvm.Cell; -smc.getState id:int53 = tvm.Cell; -smc.runGetMethod id:int53 method:smc.MethodId stack:vector = smc.RunResult; - -dns.resolve account_address:accountAddress name:string category:int32 = dns.Resolved; - -onLiteServerQueryResult id:int64 bytes:bytes = Ok; -onLiteServerQueryError id:int64 error:error = Ok; - -withBlock id:ton.blockIdExt function:Function = Object; - -runTests dir:string = Ok; - -liteServer.getInfo = liteServer.Info; - -//@description Sets new log stream for internal logging of tonlib. This is an offline method. Can be called before authorization. Can be called synchronously @log_stream New log stream -setLogStream log_stream:LogStream = Ok; - -//@description Returns information about currently used log stream for internal logging of tonlib. This is an offline method. Can be called before authorization. Can be called synchronously -getLogStream = LogStream; - -//@description Sets the verbosity level of the internal logging of tonlib. This is an offline method. Can be called before authorization. Can be called synchronously -//@new_verbosity_level New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging -setLogVerbosityLevel new_verbosity_level:int32 = Ok; - -//@description Returns current verbosity level of the internal logging of tonlib. This is an offline method. Can be called before authorization. Can be called synchronously -getLogVerbosityLevel = LogVerbosityLevel; - -//@description Returns list of available tonlib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"]. This is an offline method. Can be called before authorization. Can be called synchronously -getLogTags = LogTags; - -//@description Sets the verbosity level for a specified tonlib internal log tag. This is an offline method. Can be called before authorization. Can be called synchronously -//@tag Logging tag to change verbosity level @new_verbosity_level New verbosity level; 1-1024 -setLogTagVerbosityLevel tag:string new_verbosity_level:int32 = Ok; - -//@description Returns current verbosity level for a specified tonlib internal log tag. This is an offline method. Can be called before authorization. Can be called synchronously @tag Logging tag to change verbosity level -getLogTagVerbosityLevel tag:string = LogVerbosityLevel; - -//@description Adds a message to tonlib internal log. This is an offline method. Can be called before authorization. Can be called synchronously -//@verbosity_level Minimum verbosity level needed for the message to be logged, 0-1023 @text Text of a message to log -addLogMessage verbosity_level:int32 text:string = Ok; diff --git a/src/danog/MadelineProto/Tools.php b/src/danog/MadelineProto/Tools.php index 1b1d3f2c..f94a5bf2 100644 --- a/src/danog/MadelineProto/Tools.php +++ b/src/danog/MadelineProto/Tools.php @@ -406,9 +406,9 @@ abstract class Tools * @param \Generator|Promise $promise Promise to resolve * @param ?\Generator|Promise $actual Promise to resolve instead of $promise * @param string $file File - * + * * @psalm-suppress InvalidScope - * + * * @return Promise|mixed */ public static function callFork($promise, $actual = null, $file = '') @@ -450,7 +450,7 @@ abstract class Tools * @param string $file File where the strand started * * @psalm-suppress InvalidScope - * + * * @return void */ public static function rethrow(\Throwable $e, $file = ''): void @@ -482,7 +482,7 @@ abstract class Tools * @param \Generator|Promise $b Promise B * * @psalm-suppress InvalidScope - * + * * @return Promise */ public static function after($a, $b): Promise @@ -521,7 +521,7 @@ abstract class Tools * @param integer $operation Locking mode * @param float $polling Polling interval * - * @return Promise + * @return Promise */ public static function flock(string $file, int $operation, float $polling = 0.1): Promise { @@ -576,7 +576,7 @@ abstract class Tools * * @param string $prompt Prompt * - * @return Promise + * @return Promise */ public static function readLine(string $prompt = ''): Promise { @@ -589,7 +589,7 @@ abstract class Tools * * @internal Generator function * - * @return \Generator + * @return \Generator */ public static function readLineGenerator(string $prompt = ''): \Generator { @@ -828,7 +828,7 @@ abstract class Tools * @param string $var Attribute name * * @psalm-suppress InvalidScope - * + * * @return mixed * @access public */ @@ -850,7 +850,7 @@ abstract class Tools * @param mixed $val Attribute value * * @psalm-suppress InvalidScope - * + * * @return mixed * @access public */ @@ -864,4 +864,20 @@ abstract class Tools \get_class($obj) )->__invoke(); } + /** + * Get absolute path to file, related to session path. + * + * @param string $file File + * + * @internal + * + * @return string + */ + public static function absolute(string $file): string + { + if (($file[0] ?? '') !== '/' && ($file[1] ?? '') !== ':' && !\in_array(\substr($file, 0, 4), ['phar', 'http'])) { + $file = Magic::getcwd().'/'.$file; + } + return $file; + } } diff --git a/src/danog/MadelineProto/Wrappers/Loop.php b/src/danog/MadelineProto/Wrappers/Loop.php index 1c5e5d34..c44da077 100644 --- a/src/danog/MadelineProto/Wrappers/Loop.php +++ b/src/danog/MadelineProto/Wrappers/Loop.php @@ -73,11 +73,11 @@ trait Loop $needs_restart = true; } if (isset($_REQUEST['MadelineSelfRestart'])) { - $this->logger->logger("Self-restarted, restart token " . $_REQUEST['MadelineSelfRestart']); + $this->logger->logger("Self-restarted, restart token ".$_REQUEST['MadelineSelfRestart']); } $this->logger->logger($needs_restart ? 'Will self-restart' : 'Will not self-restart'); $backtrace = \debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); - $lockfile = \dirname(\end($backtrace)['file']) . '/bot' . $this->authorization['user']['id'] . '.lock'; + $lockfile = \dirname(\end($backtrace)['file']).'/bot'.$this->authorization['user']['id'].'.lock'; unset($backtrace); $try_locking = true; if (!\file_exists($lockfile)) { @@ -117,7 +117,7 @@ trait Loop if ($needs_restart) { $this->logger->logger("Adding restart callback!"); $id = Shutdown::addCallback(static function () use (&$logger) { - $address = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] ? 'tls' : 'tcp') . '://' . $_SERVER['SERVER_NAME']; + $address = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] ? 'tls' : 'tcp').'://'.$_SERVER['SERVER_NAME']; $port = $_SERVER['SERVER_PORT']; $uri = $_SERVER['REQUEST_URI']; $params = $_GET; @@ -125,7 +125,7 @@ trait Loop $url = \explode('?', $uri, 2)[0] ?? ''; $query = \http_build_query($params); $uri = \implode('?', [$url, $query]); - $payload = $_SERVER['REQUEST_METHOD'] . ' ' . $uri . ' ' . $_SERVER['SERVER_PROTOCOL'] . "\r\n" . 'Host: ' . $_SERVER['SERVER_NAME'] . "\r\n\r\n"; + $payload = $_SERVER['REQUEST_METHOD'].' '.$uri.' '.$_SERVER['SERVER_PROTOCOL']."\r\n".'Host: '.$_SERVER['SERVER_NAME']."\r\n\r\n"; $logger->logger("Connecting to {$address}:{$port}"); $a = \fsockopen($address, $port); $logger->logger("Sending self-restart payload"); @@ -211,7 +211,7 @@ trait Loop } $this->logger->logger($message); $buffer = @\ob_get_clean() ?: ''; - $buffer .= '

' . \htmlentities($message) . '

'; + $buffer .= '

'.\htmlentities($message).'

'; \ignore_user_abort(true); \header('Connection: close'); \header('Content-Type: text/html'); diff --git a/src/danog/MadelineProto/Wrappers/Start.php b/src/danog/MadelineProto/Wrappers/Start.php index e068011d..68cceba1 100644 --- a/src/danog/MadelineProto/Wrappers/Start.php +++ b/src/danog/MadelineProto/Wrappers/Start.php @@ -43,7 +43,7 @@ trait Start yield from $this->phoneLogin(yield Tools::readLine('Enter your phone number: ')); $authorization = (yield from $this->completePhoneLogin(yield Tools::readLine('Enter the phone code: '))); if ($authorization['_'] === 'account.password') { - $authorization = (yield from $this->complete2faLogin(yield Tools::readLine('Please enter your password (hint ' . $authorization['hint'] . '): '))); + $authorization = (yield from $this->complete2faLogin(yield Tools::readLine('Please enter your password (hint '.$authorization['hint'].'): '))); } if ($authorization['_'] === 'account.needSignup') { $authorization = (yield from $this->completeSignup(yield Tools::readLine('Please enter your first name: '), yield Tools::readLine('Please enter your last name (can be empty): '))); @@ -91,9 +91,9 @@ trait Start yield from $this->phoneLogin($_POST['phone_number']); yield from $this->webEcho(); } catch (\danog\MadelineProto\RPCErrorException $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } catch (\danog\MadelineProto\Exception $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } } private function webCompletePhoneLogin(): \Generator @@ -102,9 +102,9 @@ trait Start yield from $this->completePhoneLogin($_POST['phone_code']); yield from $this->webEcho(); } catch (\danog\MadelineProto\RPCErrorException $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } catch (\danog\MadelineProto\Exception $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } } private function webComplete2faLogin(): \Generator @@ -113,9 +113,9 @@ trait Start yield from $this->complete2faLogin($_POST['password']); yield from $this->webEcho(); } catch (\danog\MadelineProto\RPCErrorException $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } catch (\danog\MadelineProto\Exception $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } } private function webCompleteSignup(): \Generator @@ -124,9 +124,9 @@ trait Start yield from $this->completeSignup($_POST['first_name'], isset($_POST['last_name']) ? $_POST['last_name'] : ''); yield from $this->webEcho(); } catch (\danog\MadelineProto\RPCErrorException $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } catch (\danog\MadelineProto\Exception $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } } private function webBotLogin(): \Generator @@ -135,9 +135,9 @@ trait Start yield from $this->botLogin($_POST['token']); yield from $this->webEcho(); } catch (\danog\MadelineProto\RPCErrorException $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } catch (\danog\MadelineProto\Exception $e) { - yield from $this->webEcho('ERROR: ' . $e->getMessage() . '. Try again.'); + yield from $this->webEcho('ERROR: '.$e->getMessage().'. Try again.'); } } } diff --git a/src/danog/MadelineProto/Wrappers/Templates.php b/src/danog/MadelineProto/Wrappers/Templates.php index 5405bcae..4099663a 100644 --- a/src/danog/MadelineProto/Wrappers/Templates.php +++ b/src/danog/MadelineProto/Wrappers/Templates.php @@ -37,22 +37,22 @@ trait Templates case self::NOT_LOGGED_IN: if (isset($_POST['type'])) { if ($_POST['type'] === 'phone') { - yield $stdout->write($this->webEchoTemplate('Enter your phone number
' . $message . '', '')); + yield $stdout->write($this->webEchoTemplate('Enter your phone number
'.$message.'', '')); } else { - yield $stdout->write($this->webEchoTemplate('Enter your bot token
' . $message . '', '')); + yield $stdout->write($this->webEchoTemplate('Enter your bot token
'.$message.'', '')); } } else { - yield $stdout->write($this->webEchoTemplate('Do you want to login as user or bot?
' . $message . '', '')); + yield $stdout->write($this->webEchoTemplate('Do you want to login as user or bot?
'.$message.'', '')); } break; case self::WAITING_CODE: - yield $stdout->write($this->webEchoTemplate('Enter your code
' . $message . '', '')); + yield $stdout->write($this->webEchoTemplate('Enter your code
'.$message.'', '')); break; case self::WAITING_PASSWORD: - yield $stdout->write($this->webEchoTemplate('Enter your password
' . $message . '', '')); + yield $stdout->write($this->webEchoTemplate('Enter your password
'.$message.'', '')); break; case self::WAITING_SIGNUP: - yield $stdout->write($this->webEchoTemplate('Sign up please
' . $message . '', '')); + yield $stdout->write($this->webEchoTemplate('Sign up please
'.$message.'', '')); break; } } diff --git a/tools/build_docs.php b/tools/build_docs.php index 955a5462..64f88017 100755 --- a/tools/build_docs.php +++ b/tools/build_docs.php @@ -39,7 +39,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png '.\str_replace(' ['td' => "$d/src/danog/MadelineProto/TL_td.tl"], + 'tl_schema' => ['td' => "$d/schemas/TL_td.tl"], 'title' => 'MadelineProto API documentation (td-lib)', 'description' => 'MadelineProto API documentation (td-lib)', 'output_dir' => "$d/docs/docs/TD_docs", @@ -72,14 +72,14 @@ $docs = [ 'td' => true, ],*/ [ - 'tl_schema' => ['mtproto' => "$d/src/danog/MadelineProto/TL_mtproto_v1.json"], + 'tl_schema' => ['mtproto' => "$d/schemas/TL_mtproto_v1.json"], 'title' => 'MadelineProto API documentation (mtproto)', 'description' => 'MadelineProto API documentation (mtproto)', 'output_dir' => "$d/docs/docs/MTProto_docs", 'readme' => false, ], [ - 'tl_schema' => ['telegram' => "$d/src/danog/MadelineProto/TL_telegram_v$layer.tl", 'calls' => "$d/src/danog/MadelineProto/TL_calls.tl", 'secret' => "$d/src/danog/MadelineProto/TL_secret.tl", 'td' => "$d/src/danog/MadelineProto/TL_td.tl"], + 'tl_schema' => ['telegram' => "$d/schemas/TL_telegram_v$layer.tl", 'calls' => "$d/schemas/TL_calls.tl", 'secret' => "$d/schemas/TL_secret.tl", 'td' => "$d/schemas/TL_td.tl"], 'title' => "MadelineProto API documentation (layer $layer)", 'description' => "MadelineProto API documentation (layer $layer)", 'output_dir' => "$d/docs/docs/API_docs", @@ -114,9 +114,9 @@ $doc->mkAnnotations(); $ton = [ 'tl_schema' => [ - 'lite_api' => "$d/src/danog/MadelineProto/TON/schemes/lite_api.tl", - 'ton_api' => "$d/src/danog/MadelineProto/TON/schemes/ton_api.tl", - //'tonlib_api' => "$d/src/danog/MadelineProto/TON/schemes/tonlib_api.tl", + 'lite_api' => "$d/schemas/TON/lite_api.tl", + 'ton_api' => "$d/schemas/TON/ton_api.tl", + //'tonlib_api' => "$d/schemas/TON/tonlib_api.tl", ] ]; diff --git a/tools/layerdiff.php b/tools/layerdiff.php index d4540775..aec1356c 100644 --- a/tools/layerdiff.php +++ b/tools/layerdiff.php @@ -33,7 +33,7 @@ if ($argc !== 3) { */ function getTL($layer) { - $layer = __DIR__."/../src/danog/MadelineProto/TL_telegram_v$layer.tl"; + $layer = __DIR__."/../schemas/TL_telegram_v$layer.tl"; $layer = new class($layer) { use TL;