Written module to translate tl scheme files, turned documentation script into a class, separated ed the MTProto and telegram docs, added layer 46 and layer 55 docs
This commit is contained in:
parent
64aca6040b
commit
ec23e14c68
@ -18,6 +18,10 @@ This project is in beta state.
|
|||||||
|
|
||||||
The MadelineProto API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/).
|
The MadelineProto API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/).
|
||||||
|
|
||||||
|
The MadelineProto API documentation (mtproto tl scheme) can be found [here](https://daniil.it/MadelineProto/MTProto_docs/).
|
||||||
|
|
||||||
|
The MadelineProto API documentations (old layers) can be found [here (layer 46)](https://daniil.it/MadelineProto/API_docs_46/), [here (layer 55)](https://daniil.it/MadelineProto/API_docs_55/).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
556
build_docs.php
556
build_docs.php
@ -10,11 +10,9 @@ See the GNU Affero General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License along with MadelineProto.
|
You should have received a copy of the GNU General Public License along with MadelineProto.
|
||||||
If not, see <http://www.gnu.org/licenses/>.
|
If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
require 'vendor/autoload.php';
|
||||||
require_once 'vendor/autoload.php';
|
$param = 1;
|
||||||
|
\danog\MadelineProto\Logger::constructor($param);
|
||||||
$TL = new \danog\MadelineProto\API();
|
|
||||||
$types = [];
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Copying readme...');
|
\danog\MadelineProto\Logger::log('Copying readme...');
|
||||||
|
|
||||||
@ -24,524 +22,34 @@ description: PHP implementation of telegram\'s MTProto protocol
|
|||||||
---
|
---
|
||||||
'.file_get_contents('README.md'));
|
'.file_get_contents('README.md'));
|
||||||
|
|
||||||
chdir(__DIR__.'/docs/API_docs');
|
$docs = [
|
||||||
|
[
|
||||||
|
'tl_schema' => ['mtproto' => __DIR__.'/src/danog/MadelineProto/TL_mtproto_v1.json'],
|
||||||
|
'title' => 'MadelineProto API documentation (mtproto)',
|
||||||
|
'description' => 'MadelineProto API documentation (mtproto)',
|
||||||
|
'output_dir' => __DIR__.'/docs/MTProto_docs'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v57.json'],
|
||||||
|
'title' => 'MadelineProto API documentation (layer 57)',
|
||||||
|
'description' => 'MadelineProto API documentation (layer 57)',
|
||||||
|
'output_dir' => __DIR__.'/docs/API_docs'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v55.json'],
|
||||||
|
'title' => 'MadelineProto API documentation (layer 55)',
|
||||||
|
'description' => 'MadelineProto API documentation (layer 55)',
|
||||||
|
'output_dir' => __DIR__.'/docs/API_docs_55'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v46.tl'],
|
||||||
|
'title' => 'MadelineProto API documentation (layer 46)',
|
||||||
|
'description' => 'MadelineProto API documentation (layer 46)',
|
||||||
|
'output_dir' => __DIR__.'/docs/API_docs_46'
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating documentation index...');
|
foreach ($docs as $settings) {
|
||||||
|
$doc = new \danog\MadelineProto\DocsBuilder($settings);
|
||||||
file_put_contents('index.md', '---
|
$doc->mk_docs();
|
||||||
title: MadelineProto API documentation (layer 57)
|
|
||||||
description: MadelineProto API documentation (layer 57)
|
|
||||||
---
|
|
||||||
# MadelineProto API documentation (layer 57)
|
|
||||||
|
|
||||||
[Methods](methods/)
|
|
||||||
|
|
||||||
[Constructors](constructors/)
|
|
||||||
|
|
||||||
[Types](types/)
|
|
||||||
|
|
||||||
|
|
||||||
[Back to main documentation](..)
|
|
||||||
');
|
|
||||||
|
|
||||||
foreach (glob('methods/*') as $unlink) {
|
|
||||||
unlink($unlink);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists('methods')) {
|
|
||||||
rmdir('methods');
|
|
||||||
}
|
|
||||||
|
|
||||||
mkdir('methods');
|
|
||||||
|
|
||||||
$methods = [];
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating methods documentation...');
|
|
||||||
|
|
||||||
foreach ($TL->API->methods->method as $key => $method) {
|
|
||||||
$method = str_replace('.', '_', $method);
|
|
||||||
|
|
||||||
$type = str_replace(['.', '<', '>'], ['_', '_of_', ''], $TL->API->methods->type[$key]);
|
|
||||||
$real_type = preg_replace('/.*_of_/', '', $type);
|
|
||||||
|
|
||||||
if (!isset($types[$real_type])) {
|
|
||||||
$types[$real_type] = ['constructors' => [], 'methods' => []];
|
|
||||||
}
|
|
||||||
if (!in_array($key, $types[$real_type]['methods'])) {
|
|
||||||
$types[$real_type]['methods'][] = $key;
|
|
||||||
}
|
|
||||||
|
|
||||||
$params = '';
|
|
||||||
foreach ($TL->API->methods->params[$key] as $param) {
|
|
||||||
if (in_array($param['name'], ['flags', 'random_id'])) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$stype = 'type';
|
|
||||||
$link_type = 'types';
|
|
||||||
if (isset($param['subtype'])) {
|
|
||||||
$stype = 'subtype';
|
|
||||||
if ($param['type'] == 'vector') {
|
|
||||||
$link_type = 'constructors';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$ptype = str_replace('.', '_', $param[$stype]);
|
|
||||||
switch ($ptype) {
|
|
||||||
case 'true':
|
|
||||||
case 'false':
|
|
||||||
$ptype = 'Bool';
|
|
||||||
}
|
|
||||||
$params .= "'".$param['name']."' => ";
|
|
||||||
$ptype =
|
|
||||||
'['.
|
|
||||||
str_replace('_', '\_', $ptype).
|
|
||||||
'](../'.$link_type.'/'.$ptype.'.md)';
|
|
||||||
|
|
||||||
$params .= (isset($param['subtype']) ? '\['.$ptype.'\]' : $ptype).', ';
|
|
||||||
}
|
|
||||||
$md_method = '['.str_replace('_', '->', $method).']('.$method.'.md)';
|
|
||||||
|
|
||||||
$methods[$method] = '$MadelineProto->'.$md_method.'(\['.$params.'\]) == [$'.str_replace('_', '\_', $type).'](../types/'.$real_type.'.md)<a name="'.$method.'"></a>
|
|
||||||
|
|
||||||
';
|
|
||||||
|
|
||||||
$params = '';
|
|
||||||
$table = empty($TL->API->methods->params[$key]) ? '' : '### Parameters:
|
|
||||||
|
|
||||||
| Name | Type | Required |
|
|
||||||
|----------|:-------------:|---------:|
|
|
||||||
';
|
|
||||||
foreach ($TL->API->methods->params[$key] as $param) {
|
|
||||||
if (in_array($param['name'], ['flags', 'random_id'])) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$ptype = str_replace('.', '_', $param[isset($param['subtype']) ? 'subtype' : 'type']);
|
|
||||||
switch ($ptype) {
|
|
||||||
case 'true':
|
|
||||||
case 'false':
|
|
||||||
$ptype = 'Bool';
|
|
||||||
}
|
|
||||||
$table .= '|'.str_replace('_', '\_', $param['name']).'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.str_replace('_', '\_', $ptype).'](../types/'.$ptype.'.md) | '.($param['flag'] ? 'Optional' : 'Required').'|
|
|
||||||
';
|
|
||||||
|
|
||||||
$params .= "'".$param['name']."' => ";
|
|
||||||
$params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', ';
|
|
||||||
}
|
|
||||||
$header = '---
|
|
||||||
title: '.$method.'
|
|
||||||
description: '.$method.' parameters, return type and example
|
|
||||||
---
|
|
||||||
## Method: '.str_replace('_', '\_', $method).'
|
|
||||||
[Back to methods index](index.md)
|
|
||||||
|
|
||||||
|
|
||||||
';
|
|
||||||
$table .= '
|
|
||||||
|
|
||||||
';
|
|
||||||
$return = '### Return type: ['.str_replace('_', '\_', $type).'](../types/'.$real_type.'.md)
|
|
||||||
|
|
||||||
';
|
|
||||||
$example = str_replace('[]', '', '### Example:
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
$MadelineProto = new \danog\MadelineProto\API();
|
|
||||||
if (isset($token)) {
|
|
||||||
$this->bot_login($token);
|
|
||||||
}
|
|
||||||
if (isset($number)) {
|
|
||||||
$sentCode = $MadelineProto->phone_login($number);
|
|
||||||
echo \'Enter the code you received: \';
|
|
||||||
$code = \'\';
|
|
||||||
for ($x = 0; $x < $sentCode[\'type\'][\'length\']; $x++) {
|
|
||||||
$code .= fgetc(STDIN);
|
|
||||||
}
|
|
||||||
$MadelineProto->complete_phone_login($code);
|
|
||||||
}
|
|
||||||
|
|
||||||
$'.$type.' = $MadelineProto->'.str_replace('_', '->', $method).'(['.$params.']);
|
|
||||||
```');
|
|
||||||
file_put_contents('methods/'.$method.'.md', $header.$table.$return.$example);
|
|
||||||
}
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating methods index...');
|
|
||||||
|
|
||||||
ksort($methods);
|
|
||||||
$last_namespace = '';
|
|
||||||
foreach ($methods as $method => &$value) {
|
|
||||||
$new_namespace = preg_replace('/_.*/', '', $method);
|
|
||||||
$br = $new_namespace != $last_namespace ? '***
|
|
||||||
<br><br>' : '';
|
|
||||||
$value = $br.$value;
|
|
||||||
$last_namespace = $new_namespace;
|
|
||||||
}
|
|
||||||
|
|
||||||
file_put_contents('methods/index.md', '---
|
|
||||||
title: Methods
|
|
||||||
description: List of methods
|
|
||||||
---
|
|
||||||
# Methods
|
|
||||||
[Back to API documentation index](..)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
'.implode('', $methods));
|
|
||||||
|
|
||||||
foreach (glob('constructors/*') as $unlink) {
|
|
||||||
unlink($unlink);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (file_exists('constructors')) {
|
|
||||||
rmdir('constructors');
|
|
||||||
}
|
|
||||||
|
|
||||||
mkdir('constructors');
|
|
||||||
|
|
||||||
$constructors = [];
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating constructors documentation...');
|
|
||||||
|
|
||||||
foreach ($TL->API->constructors->predicate as $key => $constructor) {
|
|
||||||
if (preg_match('/%/', $type)) {
|
|
||||||
$type = $TL->API->constructors->find_by_type(str_replace('%', '', $type))['predicate'];
|
|
||||||
}
|
|
||||||
$type = str_replace(['.', '<', '>'], ['_', '_of_', ''], $TL->API->constructors->type[$key]);
|
|
||||||
$real_type = preg_replace('/.*_of_/', '', $type);
|
|
||||||
|
|
||||||
$constructor = str_replace(['.', '<', '>'], ['_', '_of_', ''], $constructor);
|
|
||||||
|
|
||||||
$real_constructor = preg_replace('/.*_of_/', '', $constructor);
|
|
||||||
|
|
||||||
$params = '';
|
|
||||||
foreach ($TL->API->constructors->params[$key] as $param) {
|
|
||||||
if (in_array($param['name'], ['flags', 'random_id'])) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$stype = 'type';
|
|
||||||
$link_type = 'types';
|
|
||||||
if (isset($param['subtype'])) {
|
|
||||||
$stype = 'subtype';
|
|
||||||
if ($param['type'] == 'vector') {
|
|
||||||
$link_type = 'constructors';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$ptype = str_replace('.', '_', $param[$stype]);
|
|
||||||
switch ($ptype) {
|
|
||||||
case 'true':
|
|
||||||
case 'false':
|
|
||||||
$ptype = 'Bool';
|
|
||||||
}
|
|
||||||
if (preg_match('/%/', $ptype)) {
|
|
||||||
$ptype = $TL->API->constructors->find_by_type(str_replace('%', '', $ptype))['predicate'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$params .= "'".$param['name']."' => ";
|
|
||||||
$ptype =
|
|
||||||
'['.
|
|
||||||
str_replace('_', '\_', $ptype).
|
|
||||||
'](../'.$link_type.'/'.$ptype.'.md)';
|
|
||||||
|
|
||||||
$params .= (isset($param['subtype']) ? '\['.$ptype.'\]' : $ptype).', ';
|
|
||||||
}
|
|
||||||
$md_constructor = str_replace('_', '\_', $constructor);
|
|
||||||
|
|
||||||
$constructors[$constructor] = '[$'.$md_constructor.'](../constructors/'.$real_constructor.'.md) = \['.$params.'\];<a name="'.$constructor.'"></a>
|
|
||||||
|
|
||||||
';
|
|
||||||
|
|
||||||
if (!isset($types[$real_type])) {
|
|
||||||
$types[$real_type] = ['constructors' => [], 'methods' => []];
|
|
||||||
}
|
|
||||||
if (!in_array($key, $types[$real_type]['constructors'])) {
|
|
||||||
$types[$real_type]['constructors'][] = $key;
|
|
||||||
}
|
|
||||||
$table = empty($TL->API->constructors->params[$key]) ? '' : '### Attributes:
|
|
||||||
|
|
||||||
| Name | Type | Required |
|
|
||||||
|----------|:-------------:|---------:|
|
|
||||||
';
|
|
||||||
$params = '';
|
|
||||||
foreach ($TL->API->constructors->params[$key] as $param) {
|
|
||||||
if (in_array($param['name'], ['flags', 'random_id'])) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$ptype = str_replace('.', '_', $param[isset($param['subtype']) ? 'subtype' : 'type']);
|
|
||||||
|
|
||||||
$link_type = 'types';
|
|
||||||
if (isset($param['subtype'])) {
|
|
||||||
if ($param['type'] == 'vector') {
|
|
||||||
$link_type = 'constructors';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (preg_match('/%/', $ptype)) {
|
|
||||||
$ptype = $TL->API->constructors->find_by_type(str_replace('%', '', $ptype))['predicate'];
|
|
||||||
}
|
|
||||||
switch ($ptype) {
|
|
||||||
case 'true':
|
|
||||||
case 'false':
|
|
||||||
$ptype = 'Bool';
|
|
||||||
}
|
|
||||||
$table .= '|'.str_replace('_', '\_', $param['name']).'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.str_replace('_', '\_', $ptype).'](../'.$link_type.'/'.$ptype.'.md) | '.($param['flag'] ? 'Optional' : 'Required').'|
|
|
||||||
';
|
|
||||||
|
|
||||||
$params .= "'".$param['name']."' => ";
|
|
||||||
$params .= (isset($param['subtype']) ? '['.$param['type'].']' : $param['type']).', ';
|
|
||||||
}
|
|
||||||
$params = "['_' => '".$constructor."', ".$params.']';
|
|
||||||
|
|
||||||
$header = '---
|
|
||||||
title: '.$constructor.'
|
|
||||||
description: '.$constructor.' attributes, type and example
|
|
||||||
---
|
|
||||||
## Constructor: '.str_replace('_', '\_', $constructor).'
|
|
||||||
[Back to constructors index](index.md)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
';
|
|
||||||
$table .= '
|
|
||||||
|
|
||||||
|
|
||||||
';
|
|
||||||
$type = '### Type: ['.str_replace('_', '\_', $real_type).'](../types/'.$real_type.'.md)
|
|
||||||
|
|
||||||
|
|
||||||
';
|
|
||||||
$example = '### Example:
|
|
||||||
|
|
||||||
```
|
|
||||||
$'.$constructor.' = '.$params.';
|
|
||||||
```';
|
|
||||||
|
|
||||||
file_put_contents('constructors/'.$constructor.'.md', $header.$table.$type.$example);
|
|
||||||
}
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating constructors index...');
|
|
||||||
|
|
||||||
ksort($constructors);
|
|
||||||
$last_namespace = '';
|
|
||||||
foreach ($constructors as $method => &$value) {
|
|
||||||
$new_namespace = preg_replace('/_.*/', '', $method);
|
|
||||||
$br = $new_namespace != $last_namespace ? '***
|
|
||||||
<br><br>' : '';
|
|
||||||
$value = $br.$value;
|
|
||||||
$last_namespace = $new_namespace;
|
|
||||||
}
|
|
||||||
file_put_contents('constructors/index.md', '---
|
|
||||||
title: Constructors
|
|
||||||
description: List of constructors
|
|
||||||
---
|
|
||||||
# Constructors
|
|
||||||
[Back to API documentation index](..)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
'.implode('', $constructors));
|
|
||||||
|
|
||||||
foreach (glob('types/*') as $unlink) {
|
|
||||||
unlink($unlink);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (file_exists('types')) {
|
|
||||||
rmdir('types');
|
|
||||||
}
|
|
||||||
mkdir('types');
|
|
||||||
|
|
||||||
ksort($types);
|
|
||||||
$index = '';
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating types documentation...');
|
|
||||||
|
|
||||||
$old_namespace = '';
|
|
||||||
foreach ($types as $type => $keys) {
|
|
||||||
$new_namespace = preg_replace('/_.*/', '', $method);
|
|
||||||
$br = $new_namespace != $last_namespace ? '***
|
|
||||||
<br><br>' : '';
|
|
||||||
$type = str_replace('.', '_', $type);
|
|
||||||
|
|
||||||
$index .= $br.'['.str_replace('_', '\_', $type).']('.$type.'.md)<a name="'.$type.'"></a>
|
|
||||||
|
|
||||||
';
|
|
||||||
$constructors = '';
|
|
||||||
foreach ($keys['constructors'] as $key) {
|
|
||||||
$predicate = str_replace('.', '_', $TL->API->constructors->predicate[$key]);
|
|
||||||
$md_predicate = str_replace('_', '\_', $predicate);
|
|
||||||
$constructors .= '['.$md_predicate.'](../constructors/'.$predicate.'.md)
|
|
||||||
|
|
||||||
';
|
|
||||||
}
|
|
||||||
|
|
||||||
$methods = '';
|
|
||||||
foreach ($keys['methods'] as $key) {
|
|
||||||
$name = str_replace('.', '_', $TL->API->methods->method[$key]);
|
|
||||||
$md_name = str_replace('_', '->', $name);
|
|
||||||
$methods .= '[$MadelineProto->'.$md_name.'](../methods/'.$name.'.md)
|
|
||||||
|
|
||||||
';
|
|
||||||
}
|
|
||||||
|
|
||||||
$header = '---
|
|
||||||
title: '.$type.'
|
|
||||||
description: constructors and methods of type '.$type.'
|
|
||||||
---
|
|
||||||
## Type: '.str_replace('_', '\_', $type).'
|
|
||||||
[Back to types index](index.md)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
';
|
|
||||||
$constructors = '### Possible values (constructors):
|
|
||||||
|
|
||||||
'.$constructors.'
|
|
||||||
|
|
||||||
';
|
|
||||||
$methods = '### Methods that return an object of this type (methods):
|
|
||||||
|
|
||||||
'.$methods.'
|
|
||||||
|
|
||||||
';
|
|
||||||
file_put_contents('types/'.$type.'.md', $header.$constructors.$methods);
|
|
||||||
$last_namespace = $new_namespace;
|
|
||||||
}
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating types index...');
|
|
||||||
|
|
||||||
file_put_contents('types/index.md', '---
|
|
||||||
title: Types
|
|
||||||
description: List of types
|
|
||||||
---
|
|
||||||
# Types
|
|
||||||
[Back to API documentation index](..)
|
|
||||||
|
|
||||||
|
|
||||||
'.$index);
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Generating additional types...');
|
|
||||||
|
|
||||||
file_put_contents('types/string.md', '---
|
|
||||||
title: string
|
|
||||||
description: A string of variable length
|
|
||||||
---
|
|
||||||
## Type: string
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A string of variable length.');
|
|
||||||
file_put_contents('types/bytes.md', '---
|
|
||||||
title: bytes
|
|
||||||
description: A string of variable length
|
|
||||||
---
|
|
||||||
## Type: bytes
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A string of variable length.');
|
|
||||||
|
|
||||||
file_put_contents('types/int.md', '---
|
|
||||||
title: integer
|
|
||||||
description: A 32 bit signed integer ranging from -2147483647 to 2147483647
|
|
||||||
---
|
|
||||||
## Type: int
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A 32 bit signed integer ranging from `-2147483647` to `2147483647`.');
|
|
||||||
|
|
||||||
file_put_contents('types/long.md', '---
|
|
||||||
title: long
|
|
||||||
description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807
|
|
||||||
---
|
|
||||||
## Type: long
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`.');
|
|
||||||
|
|
||||||
file_put_contents('types/int128.md', '---
|
|
||||||
title: int128
|
|
||||||
description: A 128 bit signed integer
|
|
||||||
---
|
|
||||||
## Type: int128
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A 128 bit signed integer represented in little-endian base256 (`string`) format.');
|
|
||||||
|
|
||||||
file_put_contents('types/int256.md', '---
|
|
||||||
title: int256
|
|
||||||
description: A 256 bit signed integer
|
|
||||||
---
|
|
||||||
## Type: int256
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A 256 bit signed integer represented in little-endian base256 (`string`) format.');
|
|
||||||
|
|
||||||
file_put_contents('types/int512.md', '---
|
|
||||||
title: int512
|
|
||||||
description: A 512 bit signed integer
|
|
||||||
---
|
|
||||||
## Type: int512
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A 512 bit signed integer represented in little-endian base256 (`string`) format.');
|
|
||||||
|
|
||||||
file_put_contents('types/double.md', '---
|
|
||||||
title: double
|
|
||||||
description: A double precision floating point number
|
|
||||||
---
|
|
||||||
## Type: double
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
A double precision floating point number, single precision can also be used (float).');
|
|
||||||
|
|
||||||
file_put_contents('types/!X.md', '---
|
|
||||||
title: !X
|
|
||||||
description: Represents a TL serialized payload
|
|
||||||
---
|
|
||||||
## Type: !X
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
Represents a TL serialized payload.');
|
|
||||||
|
|
||||||
file_put_contents('types/X.md', '---
|
|
||||||
title: X
|
|
||||||
description: Represents a TL serialized payload
|
|
||||||
---
|
|
||||||
## Type: X
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
Represents a TL serialized payload.');
|
|
||||||
|
|
||||||
file_put_contents('constructors/boolFalse.md', '---
|
|
||||||
title: boolFalse
|
|
||||||
description: Represents a boolean with value equal to false
|
|
||||||
---
|
|
||||||
# boolFalse
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
Represents a boolean with value equal to `false`.');
|
|
||||||
|
|
||||||
file_put_contents('constructors/boolTrue.md', '---
|
|
||||||
title: boolTrue
|
|
||||||
description: Represents a boolean with value equal to true
|
|
||||||
---
|
|
||||||
# boolTrue
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
Represents a boolean with value equal to `true`.');
|
|
||||||
|
|
||||||
file_put_contents('constructors/null.md', '---
|
|
||||||
title: null
|
|
||||||
description: Represents a null value
|
|
||||||
---
|
|
||||||
# null
|
|
||||||
[Back to constructor index](index.md)
|
|
||||||
|
|
||||||
Represents a `null` value.');
|
|
||||||
|
|
||||||
file_put_contents('types/Bool.md', '---
|
|
||||||
title: Bool
|
|
||||||
description: Represents a boolean.
|
|
||||||
---
|
|
||||||
# Bool
|
|
||||||
[Back to types index](index.md)
|
|
||||||
|
|
||||||
Represents a boolean.');
|
|
||||||
|
|
||||||
\danog\MadelineProto\Logger::log('Done!');
|
|
||||||
|
@ -5,4 +5,4 @@ description: Represents a boolean with value equal to false
|
|||||||
# boolFalse
|
# boolFalse
|
||||||
[Back to constructor index](index.md)
|
[Back to constructor index](index.md)
|
||||||
|
|
||||||
Represents a boolean with value equal to `false`.
|
Represents a boolean with value equal to `false`.
|
@ -7,9 +7,6 @@ description: List of constructors
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$MTmessage](../constructors/MTmessage.md) = \['msg_id' => [long](../types/long.md), 'seqno' => [int](../types/int.md), 'bytes' => [int](../types/int.md), 'body' => [Object](../types/Object.md), \];<a name="MTmessage"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \];<a name="accountDaysTTL"></a>
|
<br><br>[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \];<a name="accountDaysTTL"></a>
|
||||||
|
|
||||||
@ -54,14 +51,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \];<a name="authorization"></a>
|
<br><br>[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \];<a name="authorization"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$bad\_msg\_notification](../constructors/bad_msg_notification.md) = \['bad_msg_id' => [long](../types/long.md), 'bad_msg_seqno' => [int](../types/int.md), 'error_code' => [int](../types/int.md), \];<a name="bad_msg_notification"></a>
|
|
||||||
|
|
||||||
[$bad\_server\_salt](../constructors/bad_server_salt.md) = \['bad_msg_id' => [long](../types/long.md), 'bad_msg_seqno' => [int](../types/int.md), 'error_code' => [int](../types/int.md), 'new_server_salt' => [long](../types/long.md), \];<a name="bad_server_salt"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$bind\_auth\_key\_inner](../constructors/bind_auth_key_inner.md) = \['nonce' => [long](../types/long.md), 'temp_auth_key_id' => [long](../types/long.md), 'perm_auth_key_id' => [long](../types/long.md), 'temp_session_id' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), \];<a name="bind_auth_key_inner"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$boolFalse](../constructors/boolFalse.md) = \[\];<a name="boolFalse"></a>
|
<br><br>[$boolFalse](../constructors/boolFalse.md) = \[\];<a name="boolFalse"></a>
|
||||||
|
|
||||||
@ -199,9 +188,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\];<a name="chatPhotoEmpty"></a>
|
<br><br>[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\];<a name="chatPhotoEmpty"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$client\_DH\_inner\_data](../constructors/client_DH_inner_data.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'retry_id' => [long](../types/long.md), 'g_b' => [bytes](../types/bytes.md), \];<a name="client_DH_inner_data"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
|
<br><br>[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
|
||||||
|
|
||||||
@ -250,18 +236,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \];<a name="dcOption"></a>
|
<br><br>[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \];<a name="dcOption"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$destroy\_session\_none](../constructors/destroy_session_none.md) = \['session_id' => [long](../types/long.md), \];<a name="destroy_session_none"></a>
|
|
||||||
|
|
||||||
[$destroy\_session\_ok](../constructors/destroy_session_ok.md) = \['session_id' => [long](../types/long.md), \];<a name="destroy_session_ok"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$dh\_gen\_fail](../constructors/dh_gen_fail.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash3' => [int128](../types/int128.md), \];<a name="dh_gen_fail"></a>
|
|
||||||
|
|
||||||
[$dh\_gen\_ok](../constructors/dh_gen_ok.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash1' => [int128](../types/int128.md), \];<a name="dh_gen_ok"></a>
|
|
||||||
|
|
||||||
[$dh\_gen\_retry](../constructors/dh_gen_retry.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash2' => [int128](../types/int128.md), \];<a name="dh_gen_retry"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \];<a name="dialog"></a>
|
<br><br>[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \];<a name="dialog"></a>
|
||||||
|
|
||||||
@ -346,11 +320,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$foundGifCached](../constructors/foundGifCached.md) = \['url' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \];<a name="foundGifCached"></a>
|
<br><br>[$foundGifCached](../constructors/foundGifCached.md) = \['url' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \];<a name="foundGifCached"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$future\_salt](../constructors/future_salt.md) = \['valid_since' => [int](../types/int.md), 'valid_until' => [int](../types/int.md), 'salt' => [long](../types/long.md), \];<a name="future_salt"></a>
|
|
||||||
|
|
||||||
[$future\_salts](../constructors/future_salts.md) = \['req_msg_id' => [long](../types/long.md), 'now' => [int](../types/int.md), 'salts' => \[[future\_salt](../constructors/future_salt.md)\], \];<a name="future_salts"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$game](../constructors/game.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'short_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \];<a name="game"></a>
|
<br><br>[$game](../constructors/game.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'short_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \];<a name="game"></a>
|
||||||
|
|
||||||
@ -360,9 +329,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\];<a name="geoPointEmpty"></a>
|
<br><br>[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\];<a name="geoPointEmpty"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$gzip\_packed](../constructors/gzip_packed.md) = \['packed_data' => [bytes](../types/bytes.md), \];<a name="gzip_packed"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \];<a name="help_appChangelog"></a>
|
<br><br>[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \];<a name="help_appChangelog"></a>
|
||||||
|
|
||||||
@ -880,32 +846,9 @@ description: List of constructors
|
|||||||
|
|
||||||
[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\];<a name="messages_stickersNotModified"></a>
|
[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\];<a name="messages_stickersNotModified"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$msg\_container](../constructors/msg_container.md) = \['messages' => \[[MTmessage](../constructors/MTmessage.md)\], \];<a name="msg_container"></a>
|
|
||||||
|
|
||||||
[$msg\_copy](../constructors/msg_copy.md) = \['orig_message' => [MTMessage](../types/MTMessage.md), \];<a name="msg_copy"></a>
|
|
||||||
|
|
||||||
[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \];<a name="msg_detailed_info"></a>
|
|
||||||
|
|
||||||
[$msg\_new\_detailed\_info](../constructors/msg_new_detailed_info.md) = \['answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \];<a name="msg_new_detailed_info"></a>
|
|
||||||
|
|
||||||
[$msg\_resend\_req](../constructors/msg_resend_req.md) = \['msg_ids' => \[[long](../types/long.md)\], \];<a name="msg_resend_req"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$msgs\_ack](../constructors/msgs_ack.md) = \['msg_ids' => \[[long](../types/long.md)\], \];<a name="msgs_ack"></a>
|
|
||||||
|
|
||||||
[$msgs\_all\_info](../constructors/msgs_all_info.md) = \['msg_ids' => \[[long](../types/long.md)\], 'info' => [bytes](../types/bytes.md), \];<a name="msgs_all_info"></a>
|
|
||||||
|
|
||||||
[$msgs\_state\_info](../constructors/msgs_state_info.md) = \['req_msg_id' => [long](../types/long.md), 'info' => [bytes](../types/bytes.md), \];<a name="msgs_state_info"></a>
|
|
||||||
|
|
||||||
[$msgs\_state\_req](../constructors/msgs_state_req.md) = \['msg_ids' => \[[long](../types/long.md)\], \];<a name="msgs_state_req"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \];<a name="nearestDc"></a>
|
<br><br>[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \];<a name="nearestDc"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$new\_session\_created](../constructors/new_session_created.md) = \['first_msg_id' => [long](../types/long.md), 'unique_id' => [long](../types/long.md), 'server_salt' => [long](../types/long.md), \];<a name="new_session_created"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$notifyAll](../constructors/notifyAll.md) = \[\];<a name="notifyAll"></a>
|
<br><br>[$notifyAll](../constructors/notifyAll.md) = \[\];<a name="notifyAll"></a>
|
||||||
|
|
||||||
@ -921,11 +864,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$null](../constructors/null.md) = \[\];<a name="null"></a>
|
<br><br>[$null](../constructors/null.md) = \[\];<a name="null"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$p\_q\_inner\_data](../constructors/p_q_inner_data.md) = \['pq' => [bytes](../types/bytes.md), 'p' => [bytes](../types/bytes.md), 'q' => [bytes](../types/bytes.md), 'nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce' => [int256](../types/int256.md), \];<a name="p_q_inner_data"></a>
|
|
||||||
|
|
||||||
[$p\_q\_inner\_data\_temp](../constructors/p_q_inner_data_temp.md) = \['pq' => [bytes](../types/bytes.md), 'p' => [bytes](../types/bytes.md), 'q' => [bytes](../types/bytes.md), 'nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce' => [int256](../types/int256.md), 'expires_in' => [int](../types/int.md), \];<a name="p_q_inner_data_temp"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \];<a name="peerChannel"></a>
|
<br><br>[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \];<a name="peerChannel"></a>
|
||||||
|
|
||||||
@ -972,9 +910,6 @@ description: List of constructors
|
|||||||
|
|
||||||
[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="photos_photosSlice"></a>
|
[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="photos_photosSlice"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \];<a name="pong"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\];<a name="privacyKeyChatInvite"></a>
|
<br><br>[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\];<a name="privacyKeyChatInvite"></a>
|
||||||
|
|
||||||
@ -1014,20 +949,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \];<a name="replyKeyboardMarkup"></a>
|
<br><br>[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \];<a name="replyKeyboardMarkup"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$resPQ](../constructors/resPQ.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'pq' => [bytes](../types/bytes.md), 'server_public_key_fingerprints' => \[[long](../types/long.md)\], \];<a name="resPQ"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$rpc\_answer\_dropped](../constructors/rpc_answer_dropped.md) = \['msg_id' => [long](../types/long.md), 'seq_no' => [int](../types/int.md), 'bytes' => [int](../types/int.md), \];<a name="rpc_answer_dropped"></a>
|
|
||||||
|
|
||||||
[$rpc\_answer\_dropped\_running](../constructors/rpc_answer_dropped_running.md) = \[\];<a name="rpc_answer_dropped_running"></a>
|
|
||||||
|
|
||||||
[$rpc\_answer\_unknown](../constructors/rpc_answer_unknown.md) = \[\];<a name="rpc_answer_unknown"></a>
|
|
||||||
|
|
||||||
[$rpc\_error](../constructors/rpc_error.md) = \['error_code' => [int](../types/int.md), 'error_message' => [string](../types/string.md), \];<a name="rpc_error"></a>
|
|
||||||
|
|
||||||
[$rpc\_result](../constructors/rpc_result.md) = \['req_msg_id' => [long](../types/long.md), 'result' => [Object](../types/Object.md), \];<a name="rpc_result"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\];<a name="sendMessageCancelAction"></a>
|
<br><br>[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\];<a name="sendMessageCancelAction"></a>
|
||||||
|
|
||||||
@ -1061,13 +982,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \];<a name="sendMessageUploadVideoAction"></a>
|
<br><br>[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \];<a name="sendMessageUploadVideoAction"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$server\_DH\_inner\_data](../constructors/server_DH_inner_data.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'g' => [int](../types/int.md), 'dh_prime' => [bytes](../types/bytes.md), 'g_a' => [bytes](../types/bytes.md), 'server_time' => [int](../types/int.md), \];<a name="server_DH_inner_data"></a>
|
|
||||||
|
|
||||||
[$server\_DH\_params\_fail](../constructors/server_DH_params_fail.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash' => [int128](../types/int128.md), \];<a name="server_DH_params_fail"></a>
|
|
||||||
|
|
||||||
[$server\_DH\_params\_ok](../constructors/server_DH_params_ok.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_answer' => [bytes](../types/bytes.md), \];<a name="server_DH_params_ok"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \];<a name="stickerPack"></a>
|
<br><br>[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \];<a name="stickerPack"></a>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: MadelineProto API documentation (layer 57)
|
title: MadelineProto API documentation (layer 57)
|
||||||
description: MadelineProto API documentation (layer 57)
|
description: MadelineProto API documentation (layer 57)
|
||||||
---
|
---
|
||||||
# MadelineProto API documentation (layer 57)
|
# MadelineProto API documentation (layer 57)
|
||||||
|
|
||||||
[Methods](methods/)
|
[Methods](methods/)
|
||||||
|
|
||||||
|
@ -8,202 +8,193 @@ description: List of methods
|
|||||||
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md)<a name="account_changePhone"></a>
|
<br><br>$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->confirmPhone](account_confirmPhone.md)(\['phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_confirmPhone"></a>
|
$MadelineProto->[account_confirmPhone](account_confirmPhone.md)(\['phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_confirmPhone"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_deleteAccount"></a>
|
$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_deleteAccount"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md)<a name="account_getAccountTTL"></a>
|
$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md)<a name="account_getAccountTTL"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md)<a name="account_getAuthorizations"></a>
|
$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md)<a name="account_getAuthorizations"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md)<a name="account_getNotifySettings"></a>
|
$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md)<a name="account_getNotifySettings"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md)<a name="account_getPassword"></a>
|
$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md)<a name="account_getPassword"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md)<a name="account_getPasswordSettings"></a>
|
$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md)<a name="account_getPasswordSettings"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)<a name="account_getPrivacy"></a>
|
$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)<a name="account_getPrivacy"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md)<a name="account_getWallPapers"></a>
|
$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md)<a name="account_getWallPapers"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_registerDevice"></a>
|
$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_registerDevice"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md)<a name="account_reportPeer"></a>
|
$MadelineProto->[account_reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md)<a name="account_reportPeer"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md)<a name="account_resetAuthorization"></a>
|
$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md)<a name="account_resetAuthorization"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md)<a name="account_resetNotifySettings"></a>
|
$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md)<a name="account_resetNotifySettings"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->sendChangePhoneCode](account_sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="account_sendChangePhoneCode"></a>
|
$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="account_sendChangePhoneCode"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->sendConfirmPhoneCode](account_sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="account_sendConfirmPhoneCode"></a>
|
$MadelineProto->[account_sendConfirmPhoneCode](account_sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="account_sendConfirmPhoneCode"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md)<a name="account_setAccountTTL"></a>
|
$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md)<a name="account_setAccountTTL"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)<a name="account_setPrivacy"></a>
|
$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)<a name="account_setPrivacy"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_unregisterDevice"></a>
|
$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="account_unregisterDevice"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="account_updateDeviceLocked"></a>
|
$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="account_updateDeviceLocked"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md)<a name="account_updateNotifySettings"></a>
|
$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md)<a name="account_updateNotifySettings"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md)<a name="account_updatePasswordSettings"></a>
|
$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md)<a name="account_updatePasswordSettings"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$User](../types/User.md)<a name="account_updateProfile"></a>
|
$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$User](../types/User.md)<a name="account_updateProfile"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="account_updateStatus"></a>
|
$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="account_updateStatus"></a>
|
||||||
|
|
||||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md)<a name="account_updateUsername"></a>
|
$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
<br><br>$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
$MadelineProto->[auth_cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="auth_cancelCode"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)<a name="auth_checkPhone"></a>
|
$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)<a name="auth_checkPhone"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->dropTempAuthKeys](auth_dropTempAuthKeys.md)(\['except_auth_keys' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)<a name="auth_dropTempAuthKeys"></a>
|
$MadelineProto->[auth_dropTempAuthKeys](auth_dropTempAuthKeys.md)(\['except_auth_keys' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)<a name="auth_dropTempAuthKeys"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)<a name="auth_exportAuthorization"></a>
|
$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)<a name="auth_exportAuthorization"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_importAuthorization"></a>
|
$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_importAuthorization"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_importBotAuthorization"></a>
|
$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_importBotAuthorization"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md)<a name="auth_logOut"></a>
|
$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md)<a name="auth_logOut"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_recoverPassword"></a>
|
$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_recoverPassword"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)<a name="auth_requestPasswordRecovery"></a>
|
$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)<a name="auth_requestPasswordRecovery"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->resendCode](auth_resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="auth_resendCode"></a>
|
$MadelineProto->[auth_resendCode](auth_resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="auth_resendCode"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md)<a name="auth_resetAuthorizations"></a>
|
$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md)<a name="auth_resetAuthorizations"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->sendCode](auth_sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="auth_sendCode"></a>
|
$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)<a name="auth_sendCode"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="auth_sendInvites"></a>
|
$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="auth_sendInvites"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signIn"></a>
|
$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signIn"></a>
|
||||||
|
|
||||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
<br><br>$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="channels_checkUsername"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="channels_createChannel"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)<a name="channels_deleteChannel"></a>
|
$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)<a name="channels_deleteChannel"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="channels_deleteMessages"></a>
|
$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="channels_deleteMessages"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="channels_deleteUserHistory"></a>
|
$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="channels_deleteUserHistory"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="channels_editAbout"></a>
|
$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="channels_editAbout"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md)<a name="channels_editAdmin"></a>
|
$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md)<a name="channels_editAdmin"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)<a name="channels_editPhoto"></a>
|
$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)<a name="channels_editPhoto"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="channels_editTitle"></a>
|
$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="channels_editTitle"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)<a name="channels_exportInvite"></a>
|
$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)<a name="channels_exportInvite"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->exportMessageLink](channels_exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$ExportedMessageLink](../types/ExportedMessageLink.md)<a name="channels_exportMessageLink"></a>
|
$MadelineProto->[channels_exportMessageLink](channels_exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$ExportedMessageLink](../types/ExportedMessageLink.md)<a name="channels_exportMessageLink"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getAdminedPublicChannels](channels_getAdminedPublicChannels.md)(\[\]) == [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getAdminedPublicChannels"></a>
|
$MadelineProto->[channels_getAdminedPublicChannels](channels_getAdminedPublicChannels.md)(\[\]) == [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getAdminedPublicChannels"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getChannels"></a>
|
$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getChannels"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)<a name="channels_getFullChannel"></a>
|
$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)<a name="channels_getFullChannel"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="channels_getMessages"></a>
|
$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="channels_getMessages"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)<a name="channels_getParticipant"></a>
|
$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)<a name="channels_getParticipant"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)<a name="channels_getParticipants"></a>
|
$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)<a name="channels_getParticipants"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md)<a name="channels_inviteToChannel"></a>
|
$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md)<a name="channels_inviteToChannel"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)<a name="channels_joinChannel"></a>
|
$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)<a name="channels_joinChannel"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="channels_kickFromChannel"></a>
|
$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="channels_kickFromChannel"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)<a name="channels_leaveChannel"></a>
|
$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)<a name="channels_leaveChannel"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="channels_readHistory"></a>
|
$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="channels_readHistory"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md)<a name="channels_reportSpam"></a>
|
$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md)<a name="channels_reportSpam"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->toggleInvites](channels_toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="channels_toggleInvites"></a>
|
$MadelineProto->[channels_toggleInvites](channels_toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="channels_toggleInvites"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->toggleSignatures](channels_toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="channels_toggleSignatures"></a>
|
$MadelineProto->[channels_toggleSignatures](channels_toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="channels_toggleSignatures"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="channels_updatePinnedMessage"></a>
|
$MadelineProto->[channels_updatePinnedMessage](channels_updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="channels_updatePinnedMessage"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="channels_updateUsername"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
<br><br>$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)<a name="contacts_block"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md)<a name="contacts_deleteContact"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md)<a name="contacts_deleteContacts"></a>
|
$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md)<a name="contacts_deleteContacts"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md)<a name="contacts_exportCard"></a>
|
$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md)<a name="contacts_exportCard"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md)<a name="contacts_getBlocked"></a>
|
$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md)<a name="contacts_getBlocked"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md)<a name="contacts_getContacts"></a>
|
$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md)<a name="contacts_getContacts"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md)<a name="contacts_getStatuses"></a>
|
$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md)<a name="contacts_getStatuses"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) == [$contacts\_TopPeers](../types/contacts_TopPeers.md)<a name="contacts_getTopPeers"></a>
|
$MadelineProto->[contacts_getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) == [$contacts\_TopPeers](../types/contacts_TopPeers.md)<a name="contacts_getTopPeers"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md)<a name="contacts_importCard"></a>
|
$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md)<a name="contacts_importCard"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)<a name="contacts_importContacts"></a>
|
$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)<a name="contacts_importContacts"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->resetTopPeerRating](contacts_resetTopPeerRating.md)(\['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)<a name="contacts_resetTopPeerRating"></a>
|
$MadelineProto->[contacts_resetTopPeerRating](contacts_resetTopPeerRating.md)(\['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)<a name="contacts_resetTopPeerRating"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md)<a name="contacts_resolveUsername"></a>
|
$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md)<a name="contacts_resolveUsername"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md)<a name="contacts_search"></a>
|
$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md)<a name="contacts_search"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[destroy->session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) == [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
<br><br>$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\[\]) == [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
||||||
|
|
||||||
***
|
$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\[\]) == [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||||
<br><br>$MadelineProto->[get->future->salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) == [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
|
||||||
|
|
||||||
***
|
$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md)<a name="help_getConfig"></a>
|
||||||
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) == [$help\_AppChangelog](../types/help_AppChangelog.md)<a name="help_getAppChangelog"></a>
|
|
||||||
|
|
||||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) == [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
$MadelineProto->[help_getInviteText](help_getInviteText.md)(\[\]) == [$help\_InviteText](../types/help_InviteText.md)<a name="help_getInviteText"></a>
|
||||||
|
|
||||||
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md)<a name="help_getConfig"></a>
|
$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md)<a name="help_getNearestDc"></a>
|
||||||
|
|
||||||
$MadelineProto->[help->getInviteText](help_getInviteText.md)(\[\]) == [$help\_InviteText](../types/help_InviteText.md)<a name="help_getInviteText"></a>
|
$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md)<a name="help_getSupport"></a>
|
||||||
|
|
||||||
$MadelineProto->[help->getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md)<a name="help_getNearestDc"></a>
|
$MadelineProto->[help_getTermsOfService](help_getTermsOfService.md)(\[\]) == [$help\_TermsOfService](../types/help_TermsOfService.md)<a name="help_getTermsOfService"></a>
|
||||||
|
|
||||||
$MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md)<a name="help_getSupport"></a>
|
$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||||
|
|
||||||
$MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) == [$help\_TermsOfService](../types/help_TermsOfService.md)<a name="help_getTermsOfService"></a>
|
|
||||||
|
|
||||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>$MadelineProto->[http->wait](http_wait.md)(\['max_delay' => [int](../types/int.md), 'wait_after' => [int](../types/int.md), 'max_wait' => [int](../types/int.md), \]) == [$HttpWait](../types/HttpWait.md)<a name="http_wait"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md)<a name="initConnection"></a>
|
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md)<a name="initConnection"></a>
|
||||||
@ -221,199 +212,183 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
|
|||||||
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
<br><br>$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md)<a name="messages_checkChatInvite"></a>
|
$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md)<a name="messages_checkChatInvite"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->clearRecentStickers](messages_clearRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_clearRecentStickers"></a>
|
$MadelineProto->[messages_clearRecentStickers](messages_clearRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_clearRecentStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_createChat"></a>
|
$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_createChat"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md)<a name="messages_deleteChatUser"></a>
|
$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md)<a name="messages_deleteChatUser"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->deleteHistory](messages_deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="messages_deleteHistory"></a>
|
$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="messages_deleteHistory"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_deleteMessages"></a>
|
$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_deleteMessages"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="messages_discardEncryption"></a>
|
$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="messages_discardEncryption"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_editChatAdmin"></a>
|
$MadelineProto->[messages_editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_editChatAdmin"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)<a name="messages_editChatPhoto"></a>
|
$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)<a name="messages_editChatPhoto"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_editChatTitle"></a>
|
$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_editChatTitle"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_editInlineBotMessage"></a>
|
$MadelineProto->[messages_editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_editInlineBotMessage"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)<a name="messages_editMessage"></a>
|
$MadelineProto->[messages_editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)<a name="messages_editMessage"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)<a name="messages_exportChatInvite"></a>
|
$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)<a name="messages_exportChatInvite"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_forwardMessage"></a>
|
$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_forwardMessage"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->forwardMessages](messages_forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'with_my_score' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md)<a name="messages_forwardMessages"></a>
|
$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'with_my_score' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md)<a name="messages_forwardMessages"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getAllDrafts](messages_getAllDrafts.md)(\[\]) == [$Updates](../types/Updates.md)<a name="messages_getAllDrafts"></a>
|
$MadelineProto->[messages_getAllDrafts](messages_getAllDrafts.md)(\[\]) == [$Updates](../types/Updates.md)<a name="messages_getAllDrafts"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getAllStickers](messages_getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)<a name="messages_getAllStickers"></a>
|
$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)<a name="messages_getAllStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getArchivedStickers](messages_getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md)<a name="messages_getArchivedStickers"></a>
|
$MadelineProto->[messages_getArchivedStickers](messages_getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md)<a name="messages_getArchivedStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getAttachedStickers](messages_getAttachedStickers.md)(\['media' => [InputStickeredMedia](../types/InputStickeredMedia.md), \]) == [$Vector\_of\_StickerSetCovered](../types/StickerSetCovered.md)<a name="messages_getAttachedStickers"></a>
|
$MadelineProto->[messages_getAttachedStickers](messages_getAttachedStickers.md)(\['media' => [InputStickeredMedia](../types/InputStickeredMedia.md), \]) == [$Vector\_of\_StickerSetCovered](../types/StickerSetCovered.md)<a name="messages_getAttachedStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getBotCallbackAnswer](messages_getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md)<a name="messages_getBotCallbackAnswer"></a>
|
$MadelineProto->[messages_getBotCallbackAnswer](messages_getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md)<a name="messages_getBotCallbackAnswer"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)<a name="messages_getChats"></a>
|
$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)<a name="messages_getChats"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md)<a name="messages_getDhConfig"></a>
|
$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md)<a name="messages_getDhConfig"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md)<a name="messages_getDialogs"></a>
|
$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md)<a name="messages_getDialogs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md)<a name="messages_getDocumentByHash"></a>
|
$MadelineProto->[messages_getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md)<a name="messages_getDocumentByHash"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getFeaturedStickers](messages_getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)<a name="messages_getFeaturedStickers"></a>
|
$MadelineProto->[messages_getFeaturedStickers](messages_getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)<a name="messages_getFeaturedStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)<a name="messages_getFullChat"></a>
|
$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)<a name="messages_getFullChat"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getGameHighScores](messages_getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)<a name="messages_getGameHighScores"></a>
|
$MadelineProto->[messages_getGameHighScores](messages_getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)<a name="messages_getGameHighScores"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getHistory"></a>
|
$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getHistory"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getInlineBotResults](messages_getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) == [$messages\_BotResults](../types/messages_BotResults.md)<a name="messages_getInlineBotResults"></a>
|
$MadelineProto->[messages_getInlineBotResults](messages_getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) == [$messages\_BotResults](../types/messages_BotResults.md)<a name="messages_getInlineBotResults"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getInlineGameHighScores](messages_getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)<a name="messages_getInlineGameHighScores"></a>
|
$MadelineProto->[messages_getInlineGameHighScores](messages_getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)<a name="messages_getInlineGameHighScores"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getMaskStickers](messages_getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)<a name="messages_getMaskStickers"></a>
|
$MadelineProto->[messages_getMaskStickers](messages_getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)<a name="messages_getMaskStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getMessageEditData](messages_getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_MessageEditData](../types/messages_MessageEditData.md)<a name="messages_getMessageEditData"></a>
|
$MadelineProto->[messages_getMessageEditData](messages_getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_MessageEditData](../types/messages_MessageEditData.md)<a name="messages_getMessageEditData"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getMessages"></a>
|
$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getMessages"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md)<a name="messages_getMessagesViews"></a>
|
$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md)<a name="messages_getMessagesViews"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getPeerDialogs](messages_getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) == [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPeerDialogs"></a>
|
$MadelineProto->[messages_getPeerDialogs](messages_getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) == [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPeerDialogs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$PeerSettings](../types/PeerSettings.md)<a name="messages_getPeerSettings"></a>
|
$MadelineProto->[messages_getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$PeerSettings](../types/PeerSettings.md)<a name="messages_getPeerSettings"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getRecentStickers](messages_getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) == [$messages\_RecentStickers](../types/messages_RecentStickers.md)<a name="messages_getRecentStickers"></a>
|
$MadelineProto->[messages_getRecentStickers](messages_getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) == [$messages\_RecentStickers](../types/messages_RecentStickers.md)<a name="messages_getRecentStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_SavedGifs](../types/messages_SavedGifs.md)<a name="messages_getSavedGifs"></a>
|
$MadelineProto->[messages_getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_SavedGifs](../types/messages_SavedGifs.md)<a name="messages_getSavedGifs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="messages_getStickerSet"></a>
|
$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="messages_getStickerSet"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md)<a name="messages_getWebPagePreview"></a>
|
$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md)<a name="messages_getWebPagePreview"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->hideReportSpam](messages_hideReportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)<a name="messages_hideReportSpam"></a>
|
$MadelineProto->[messages_hideReportSpam](messages_hideReportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)<a name="messages_hideReportSpam"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_importChatInvite"></a>
|
$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_importChatInvite"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) == [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md)<a name="messages_installStickerSet"></a>
|
$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) == [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md)<a name="messages_installStickerSet"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_migrateChat"></a>
|
$MadelineProto->[messages_migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_migrateChat"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="messages_readEncryptedHistory"></a>
|
$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="messages_readEncryptedHistory"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->readFeaturedStickers](messages_readFeaturedStickers.md)(\['id' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_readFeaturedStickers"></a>
|
$MadelineProto->[messages_readFeaturedStickers](messages_readFeaturedStickers.md)(\['id' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_readFeaturedStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readHistory"></a>
|
$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readHistory"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readMessageContents"></a>
|
$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readMessageContents"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)<a name="messages_receivedMessages"></a>
|
$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)<a name="messages_receivedMessages"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md)<a name="messages_receivedQueue"></a>
|
$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md)<a name="messages_receivedQueue"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->reorderStickerSets](messages_reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_reorderStickerSets"></a>
|
$MadelineProto->[messages_reorderStickerSets](messages_reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_reorderStickerSets"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)<a name="messages_reportSpam"></a>
|
$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)<a name="messages_reportSpam"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_requestEncryption"></a>
|
$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_requestEncryption"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->saveDraft](messages_saveDraft.md)(\['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_saveDraft"></a>
|
$MadelineProto->[messages_saveDraft](messages_saveDraft.md)(\['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)<a name="messages_saveDraft"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_saveGif"></a>
|
$MadelineProto->[messages_saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_saveGif"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->saveRecentSticker](messages_saveRecentSticker.md)(\['attached' => [Bool](../types/Bool.md), 'id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_saveRecentSticker"></a>
|
$MadelineProto->[messages_saveRecentSticker](messages_saveRecentSticker.md)(\['attached' => [Bool](../types/Bool.md), 'id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_saveRecentSticker"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_search"></a>
|
$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_search"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md)<a name="messages_searchGifs"></a>
|
$MadelineProto->[messages_searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md)<a name="messages_searchGifs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_searchGlobal"></a>
|
$MadelineProto->[messages_searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)<a name="messages_searchGlobal"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncrypted"></a>
|
$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncrypted"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncryptedFile"></a>
|
$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncryptedFile"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncryptedService"></a>
|
$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncryptedService"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->sendInlineBotResult](messages_sendInlineBotResult.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'query_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_sendInlineBotResult"></a>
|
$MadelineProto->[messages_sendInlineBotResult](messages_sendInlineBotResult.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'query_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_sendInlineBotResult"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->sendMedia](messages_sendMedia.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md)<a name="messages_sendMedia"></a>
|
$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md)<a name="messages_sendMedia"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)<a name="messages_sendMessage"></a>
|
$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)<a name="messages_sendMessage"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->setBotCallbackAnswer](messages_setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setBotCallbackAnswer"></a>
|
$MadelineProto->[messages_setBotCallbackAnswer](messages_setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setBotCallbackAnswer"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setEncryptedTyping"></a>
|
$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setEncryptedTyping"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->setGameScore](messages_setGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_setGameScore"></a>
|
$MadelineProto->[messages_setGameScore](messages_setGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)<a name="messages_setGameScore"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->setInlineBotResults](messages_setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'results' => \[[InputBotInlineResult](../types/InputBotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setInlineBotResults"></a>
|
$MadelineProto->[messages_setInlineBotResults](messages_setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'results' => \[[InputBotInlineResult](../types/InputBotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setInlineBotResults"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->setInlineGameScore](messages_setInlineGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setInlineGameScore"></a>
|
$MadelineProto->[messages_setInlineGameScore](messages_setInlineGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setInlineGameScore"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setTyping"></a>
|
$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md)<a name="messages_setTyping"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_startBot"></a>
|
$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)<a name="messages_startBot"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="messages_toggleChatAdmins"></a>
|
$MadelineProto->[messages_toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)<a name="messages_toggleChatAdmins"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
<br><br>$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md)<a name="photos_deletePhotos"></a>
|
||||||
|
|
||||||
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md)<a name="photos_getUserPhotos"></a>
|
||||||
|
|
||||||
$MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md)<a name="photos_updateProfilePhoto"></a>
|
$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md)<a name="photos_updateProfilePhoto"></a>
|
||||||
|
|
||||||
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) == [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) == [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) == [$Pong](../types/Pong.md)<a name="ping"></a>
|
<br><br>$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
||||||
|
|
||||||
$MadelineProto->[ping->delay->disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) == [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[req->DH->params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [bytes](../types/bytes.md), 'q' => [bytes](../types/bytes.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) == [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
<br><br>$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||||
|
|
||||||
$MadelineProto->[req->pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) == [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>$MadelineProto->[rpc->drop->answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) == [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
<br><br>$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
||||||
|
|
||||||
***
|
$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||||
<br><br>$MadelineProto->[set->client->DH->params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [bytes](../types/bytes.md), \]) == [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>
|
|
||||||
|
|
||||||
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md)<a name="updates_getDifference"></a>
|
|
||||||
|
|
||||||
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md)<a name="updates_getState"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
|
||||||
|
|
||||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
|
||||||
|
|
||||||
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)<a name="upload_saveFilePart"></a>
|
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md)<a name="users_getFullUser"></a>
|
|
||||||
|
|
||||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
|
||||||
|
|
||||||
|
@ -11,8 +11,6 @@ description: constructors and methods of type Vector t
|
|||||||
|
|
||||||
[vector](../constructors/vector.md)
|
[vector](../constructors/vector.md)
|
||||||
|
|
||||||
[vector](../constructors/vector.md)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -10,10 +10,6 @@ description: List of types
|
|||||||
|
|
||||||
[Authorization](Authorization.md)<a name="Authorization"></a>
|
[Authorization](Authorization.md)<a name="Authorization"></a>
|
||||||
|
|
||||||
[BadMsgNotification](BadMsgNotification.md)<a name="BadMsgNotification"></a>
|
|
||||||
|
|
||||||
[BindAuthKeyInner](BindAuthKeyInner.md)<a name="BindAuthKeyInner"></a>
|
|
||||||
|
|
||||||
[Bool](Bool.md)<a name="Bool"></a>
|
[Bool](Bool.md)<a name="Bool"></a>
|
||||||
|
|
||||||
[BotCommand](BotCommand.md)<a name="BotCommand"></a>
|
[BotCommand](BotCommand.md)<a name="BotCommand"></a>
|
||||||
@ -44,8 +40,6 @@ description: List of types
|
|||||||
|
|
||||||
[ChatPhoto](ChatPhoto.md)<a name="ChatPhoto"></a>
|
[ChatPhoto](ChatPhoto.md)<a name="ChatPhoto"></a>
|
||||||
|
|
||||||
[Client\_DH\_Inner\_Data](Client_DH_Inner_Data.md)<a name="Client_DH_Inner_Data"></a>
|
|
||||||
|
|
||||||
[Config](Config.md)<a name="Config"></a>
|
[Config](Config.md)<a name="Config"></a>
|
||||||
|
|
||||||
[Contact](Contact.md)<a name="Contact"></a>
|
[Contact](Contact.md)<a name="Contact"></a>
|
||||||
@ -58,8 +52,6 @@ description: List of types
|
|||||||
|
|
||||||
[DcOption](DcOption.md)<a name="DcOption"></a>
|
[DcOption](DcOption.md)<a name="DcOption"></a>
|
||||||
|
|
||||||
[DestroySessionRes](DestroySessionRes.md)<a name="DestroySessionRes"></a>
|
|
||||||
|
|
||||||
[Dialog](Dialog.md)<a name="Dialog"></a>
|
[Dialog](Dialog.md)<a name="Dialog"></a>
|
||||||
|
|
||||||
[DisabledFeature](DisabledFeature.md)<a name="DisabledFeature"></a>
|
[DisabledFeature](DisabledFeature.md)<a name="DisabledFeature"></a>
|
||||||
@ -86,18 +78,12 @@ description: List of types
|
|||||||
|
|
||||||
[FoundGif](FoundGif.md)<a name="FoundGif"></a>
|
[FoundGif](FoundGif.md)<a name="FoundGif"></a>
|
||||||
|
|
||||||
[FutureSalt](FutureSalt.md)<a name="FutureSalt"></a>
|
|
||||||
|
|
||||||
[FutureSalts](FutureSalts.md)<a name="FutureSalts"></a>
|
|
||||||
|
|
||||||
[Game](Game.md)<a name="Game"></a>
|
[Game](Game.md)<a name="Game"></a>
|
||||||
|
|
||||||
[GeoPoint](GeoPoint.md)<a name="GeoPoint"></a>
|
[GeoPoint](GeoPoint.md)<a name="GeoPoint"></a>
|
||||||
|
|
||||||
[HighScore](HighScore.md)<a name="HighScore"></a>
|
[HighScore](HighScore.md)<a name="HighScore"></a>
|
||||||
|
|
||||||
[HttpWait](HttpWait.md)<a name="HttpWait"></a>
|
|
||||||
|
|
||||||
[ImportedContact](ImportedContact.md)<a name="ImportedContact"></a>
|
[ImportedContact](ImportedContact.md)<a name="ImportedContact"></a>
|
||||||
|
|
||||||
[InlineBotSwitchPM](InlineBotSwitchPM.md)<a name="InlineBotSwitchPM"></a>
|
[InlineBotSwitchPM](InlineBotSwitchPM.md)<a name="InlineBotSwitchPM"></a>
|
||||||
@ -156,18 +142,12 @@ description: List of types
|
|||||||
|
|
||||||
[KeyboardButtonRow](KeyboardButtonRow.md)<a name="KeyboardButtonRow"></a>
|
[KeyboardButtonRow](KeyboardButtonRow.md)<a name="KeyboardButtonRow"></a>
|
||||||
|
|
||||||
[MTMessage](MTMessage.md)<a name="MTMessage"></a>
|
|
||||||
|
|
||||||
[MaskCoords](MaskCoords.md)<a name="MaskCoords"></a>
|
[MaskCoords](MaskCoords.md)<a name="MaskCoords"></a>
|
||||||
|
|
||||||
[Message](Message.md)<a name="Message"></a>
|
[Message](Message.md)<a name="Message"></a>
|
||||||
|
|
||||||
[MessageAction](MessageAction.md)<a name="MessageAction"></a>
|
[MessageAction](MessageAction.md)<a name="MessageAction"></a>
|
||||||
|
|
||||||
[MessageContainer](MessageContainer.md)<a name="MessageContainer"></a>
|
|
||||||
|
|
||||||
[MessageCopy](MessageCopy.md)<a name="MessageCopy"></a>
|
|
||||||
|
|
||||||
[MessageEntity](MessageEntity.md)<a name="MessageEntity"></a>
|
[MessageEntity](MessageEntity.md)<a name="MessageEntity"></a>
|
||||||
|
|
||||||
[MessageFwdHeader](MessageFwdHeader.md)<a name="MessageFwdHeader"></a>
|
[MessageFwdHeader](MessageFwdHeader.md)<a name="MessageFwdHeader"></a>
|
||||||
@ -178,30 +158,12 @@ description: List of types
|
|||||||
|
|
||||||
[MessagesFilter](MessagesFilter.md)<a name="MessagesFilter"></a>
|
[MessagesFilter](MessagesFilter.md)<a name="MessagesFilter"></a>
|
||||||
|
|
||||||
[MsgDetailedInfo](MsgDetailedInfo.md)<a name="MsgDetailedInfo"></a>
|
|
||||||
|
|
||||||
[MsgResendReq](MsgResendReq.md)<a name="MsgResendReq"></a>
|
|
||||||
|
|
||||||
[MsgsAck](MsgsAck.md)<a name="MsgsAck"></a>
|
|
||||||
|
|
||||||
[MsgsAllInfo](MsgsAllInfo.md)<a name="MsgsAllInfo"></a>
|
|
||||||
|
|
||||||
[MsgsStateInfo](MsgsStateInfo.md)<a name="MsgsStateInfo"></a>
|
|
||||||
|
|
||||||
[MsgsStateReq](MsgsStateReq.md)<a name="MsgsStateReq"></a>
|
|
||||||
|
|
||||||
[NearestDc](NearestDc.md)<a name="NearestDc"></a>
|
[NearestDc](NearestDc.md)<a name="NearestDc"></a>
|
||||||
|
|
||||||
[NewSession](NewSession.md)<a name="NewSession"></a>
|
|
||||||
|
|
||||||
[NotifyPeer](NotifyPeer.md)<a name="NotifyPeer"></a>
|
[NotifyPeer](NotifyPeer.md)<a name="NotifyPeer"></a>
|
||||||
|
|
||||||
[Null](Null.md)<a name="Null"></a>
|
[Null](Null.md)<a name="Null"></a>
|
||||||
|
|
||||||
[Object](Object.md)<a name="Object"></a>
|
|
||||||
|
|
||||||
[P\_Q\_inner\_data](P_Q_inner_data.md)<a name="P_Q_inner_data"></a>
|
|
||||||
|
|
||||||
[Peer](Peer.md)<a name="Peer"></a>
|
[Peer](Peer.md)<a name="Peer"></a>
|
||||||
|
|
||||||
[PeerNotifyEvents](PeerNotifyEvents.md)<a name="PeerNotifyEvents"></a>
|
[PeerNotifyEvents](PeerNotifyEvents.md)<a name="PeerNotifyEvents"></a>
|
||||||
@ -214,8 +176,6 @@ description: List of types
|
|||||||
|
|
||||||
[PhotoSize](PhotoSize.md)<a name="PhotoSize"></a>
|
[PhotoSize](PhotoSize.md)<a name="PhotoSize"></a>
|
||||||
|
|
||||||
[Pong](Pong.md)<a name="Pong"></a>
|
|
||||||
|
|
||||||
[PrivacyKey](PrivacyKey.md)<a name="PrivacyKey"></a>
|
[PrivacyKey](PrivacyKey.md)<a name="PrivacyKey"></a>
|
||||||
|
|
||||||
[PrivacyRule](PrivacyRule.md)<a name="PrivacyRule"></a>
|
[PrivacyRule](PrivacyRule.md)<a name="PrivacyRule"></a>
|
||||||
@ -226,22 +186,8 @@ description: List of types
|
|||||||
|
|
||||||
[ReportReason](ReportReason.md)<a name="ReportReason"></a>
|
[ReportReason](ReportReason.md)<a name="ReportReason"></a>
|
||||||
|
|
||||||
[ResPQ](ResPQ.md)<a name="ResPQ"></a>
|
|
||||||
|
|
||||||
[RpcDropAnswer](RpcDropAnswer.md)<a name="RpcDropAnswer"></a>
|
|
||||||
|
|
||||||
[RpcError](RpcError.md)<a name="RpcError"></a>
|
|
||||||
|
|
||||||
[RpcResult](RpcResult.md)<a name="RpcResult"></a>
|
|
||||||
|
|
||||||
[SendMessageAction](SendMessageAction.md)<a name="SendMessageAction"></a>
|
[SendMessageAction](SendMessageAction.md)<a name="SendMessageAction"></a>
|
||||||
|
|
||||||
[Server\_DH\_Params](Server_DH_Params.md)<a name="Server_DH_Params"></a>
|
|
||||||
|
|
||||||
[Server\_DH\_inner\_data](Server_DH_inner_data.md)<a name="Server_DH_inner_data"></a>
|
|
||||||
|
|
||||||
[Set\_client\_DH\_params\_answer](Set_client_DH_params_answer.md)<a name="Set_client_DH_params_answer"></a>
|
|
||||||
|
|
||||||
[StickerPack](StickerPack.md)<a name="StickerPack"></a>
|
[StickerPack](StickerPack.md)<a name="StickerPack"></a>
|
||||||
|
|
||||||
[StickerSet](StickerSet.md)<a name="StickerSet"></a>
|
[StickerSet](StickerSet.md)<a name="StickerSet"></a>
|
||||||
|
41
docs/API_docs_46/constructors/MTmessage.md
Normal file
41
docs/API_docs_46/constructors/MTmessage.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
title: MTmessage
|
||||||
|
description: MTmessage attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: MTmessage
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|unread|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|out|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|mentioned|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|media\_unread|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|from\_id|[int](../types/int.md) | Optional|
|
||||||
|
|to\_id|[Peer](../types/Peer.md) | Required|
|
||||||
|
|fwd\_from\_id|[Peer](../types/Peer.md) | Optional|
|
||||||
|
|fwd\_date|[int](../types/int.md) | Optional|
|
||||||
|
|via\_bot\_id|[int](../types/int.md) | Optional|
|
||||||
|
|reply\_to\_msg\_id|[int](../types/int.md) | Optional|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|message|[string](../types/string.md) | Required|
|
||||||
|
|media|[MessageMedia](../types/MessageMedia.md) | Optional|
|
||||||
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||||
|
|views|[int](../types/int.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [MTMessage](../types/MTMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$MTmessage = ['_' => 'MTmessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/accountDaysTTL.md
Normal file
25
docs/API_docs_46/constructors/accountDaysTTL.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: accountDaysTTL
|
||||||
|
description: accountDaysTTL attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: accountDaysTTL
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|days|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/account_authorizations.md
Normal file
25
docs/API_docs_46/constructors/account_authorizations.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: account_authorizations
|
||||||
|
description: account_authorizations attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account\_authorizations
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|authorizations|Array of [Authorization](../types/Authorization.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_Authorizations](../types/account_Authorizations.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/account_noPassword.md
Normal file
26
docs/API_docs_46/constructors/account_noPassword.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: account_noPassword
|
||||||
|
description: account_noPassword attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account\_noPassword
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|new\_salt|[bytes](../types/bytes.md) | Required|
|
||||||
|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_Password](../types/account_Password.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ];
|
||||||
|
```
|
29
docs/API_docs_46/constructors/account_password.md
Normal file
29
docs/API_docs_46/constructors/account_password.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: account_password
|
||||||
|
description: account_password attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account\_password
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|current\_salt|[bytes](../types/bytes.md) | Required|
|
||||||
|
|new\_salt|[bytes](../types/bytes.md) | Required|
|
||||||
|
|hint|[string](../types/string.md) | Required|
|
||||||
|
|has\_recovery|[Bool](../types/Bool.md) | Required|
|
||||||
|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_Password](../types/account_Password.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ];
|
||||||
|
```
|
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
title: account_passwordInputSettings
|
||||||
|
description: account_passwordInputSettings attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account\_passwordInputSettings
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|new\_salt|[bytes](../types/bytes.md) | Optional|
|
||||||
|
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|
|
||||||
|
|hint|[string](../types/string.md) | Optional|
|
||||||
|
|email|[string](../types/string.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/account_passwordSettings.md
Normal file
25
docs/API_docs_46/constructors/account_passwordSettings.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: account_passwordSettings
|
||||||
|
description: account_passwordSettings attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account\_passwordSettings
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|email|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/account_privacyRules.md
Normal file
26
docs/API_docs_46/constructors/account_privacyRules.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: account_privacyRules
|
||||||
|
description: account_privacyRules attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account\_privacyRules
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/account_sentChangePhoneCode.md
Normal file
26
docs/API_docs_46/constructors/account_sentChangePhoneCode.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: account_sentChangePhoneCode
|
||||||
|
description: account_sentChangePhoneCode attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account\_sentChangePhoneCode
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|phone\_code\_hash|[string](../types/string.md) | Required|
|
||||||
|
|send\_call\_timeout|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ];
|
||||||
|
```
|
31
docs/API_docs_46/constructors/audio.md
Normal file
31
docs/API_docs_46/constructors/audio.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
title: audio
|
||||||
|
description: audio attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: audio
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[long](../types/long.md) | Required|
|
||||||
|
|access\_hash|[long](../types/long.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|duration|[int](../types/int.md) | Required|
|
||||||
|
|mime\_type|[string](../types/string.md) | Required|
|
||||||
|
|size|[int](../types/int.md) | Required|
|
||||||
|
|dc\_id|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Audio](../types/Audio.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/audioEmpty.md
Normal file
25
docs/API_docs_46/constructors/audioEmpty.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: audioEmpty
|
||||||
|
description: audioEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: audioEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[long](../types/long.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Audio](../types/Audio.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/auth_authorization.md
Normal file
25
docs/API_docs_46/constructors/auth_authorization.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: auth_authorization
|
||||||
|
description: auth_authorization attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth\_authorization
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user|[User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/auth_checkedPhone.md
Normal file
25
docs/API_docs_46/constructors/auth_checkedPhone.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: auth_checkedPhone
|
||||||
|
description: auth_checkedPhone attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth\_checkedPhone
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|phone\_registered|[Bool](../types/Bool.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/auth_exportedAuthorization.md
Normal file
26
docs/API_docs_46/constructors/auth_exportedAuthorization.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: auth_exportedAuthorization
|
||||||
|
description: auth_exportedAuthorization attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth\_exportedAuthorization
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|bytes|[bytes](../types/bytes.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/auth_passwordRecovery.md
Normal file
25
docs/API_docs_46/constructors/auth_passwordRecovery.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: auth_passwordRecovery
|
||||||
|
description: auth_passwordRecovery attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth\_passwordRecovery
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|email\_pattern|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ];
|
||||||
|
```
|
28
docs/API_docs_46/constructors/auth_sentAppCode.md
Normal file
28
docs/API_docs_46/constructors/auth_sentAppCode.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
title: auth_sentAppCode
|
||||||
|
description: auth_sentAppCode attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth\_sentAppCode
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|phone\_registered|[Bool](../types/Bool.md) | Required|
|
||||||
|
|phone\_code\_hash|[string](../types/string.md) | Required|
|
||||||
|
|send\_call\_timeout|[int](../types/int.md) | Required|
|
||||||
|
|is\_password|[Bool](../types/Bool.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ];
|
||||||
|
```
|
28
docs/API_docs_46/constructors/auth_sentCode.md
Normal file
28
docs/API_docs_46/constructors/auth_sentCode.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
title: auth_sentCode
|
||||||
|
description: auth_sentCode attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth\_sentCode
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|phone\_registered|[Bool](../types/Bool.md) | Required|
|
||||||
|
|phone\_code\_hash|[string](../types/string.md) | Required|
|
||||||
|
|send\_call\_timeout|[int](../types/int.md) | Required|
|
||||||
|
|is\_password|[Bool](../types/Bool.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ];
|
||||||
|
```
|
36
docs/API_docs_46/constructors/authorization.md
Normal file
36
docs/API_docs_46/constructors/authorization.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
title: authorization
|
||||||
|
description: authorization attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: authorization
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|hash|[long](../types/long.md) | Required|
|
||||||
|
|device\_model|[string](../types/string.md) | Required|
|
||||||
|
|platform|[string](../types/string.md) | Required|
|
||||||
|
|system\_version|[string](../types/string.md) | Required|
|
||||||
|
|api\_id|[int](../types/int.md) | Required|
|
||||||
|
|app\_name|[string](../types/string.md) | Required|
|
||||||
|
|app\_version|[string](../types/string.md) | Required|
|
||||||
|
|date\_created|[int](../types/int.md) | Required|
|
||||||
|
|date\_active|[int](../types/int.md) | Required|
|
||||||
|
|ip|[string](../types/string.md) | Required|
|
||||||
|
|country|[string](../types/string.md) | Required|
|
||||||
|
|region|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Authorization](../types/Authorization.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$authorization = ['_' => 'authorization', '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, ];
|
||||||
|
```
|
8
docs/API_docs_46/constructors/boolFalse.md
Normal file
8
docs/API_docs_46/constructors/boolFalse.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: boolFalse
|
||||||
|
description: Represents a boolean with value equal to false
|
||||||
|
---
|
||||||
|
# boolFalse
|
||||||
|
[Back to constructor index](index.md)
|
||||||
|
|
||||||
|
Represents a boolean with value equal to `false`.
|
8
docs/API_docs_46/constructors/boolTrue.md
Normal file
8
docs/API_docs_46/constructors/boolTrue.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: boolTrue
|
||||||
|
description: Represents a boolean with value equal to true
|
||||||
|
---
|
||||||
|
# boolTrue
|
||||||
|
[Back to constructor index](index.md)
|
||||||
|
|
||||||
|
Represents a boolean with value equal to `true`.
|
26
docs/API_docs_46/constructors/botCommand.md
Normal file
26
docs/API_docs_46/constructors/botCommand.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: botCommand
|
||||||
|
description: botCommand attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botCommand
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|command|[string](../types/string.md) | Required|
|
||||||
|
|description|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotCommand](../types/BotCommand.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ];
|
||||||
|
```
|
29
docs/API_docs_46/constructors/botInfo.md
Normal file
29
docs/API_docs_46/constructors/botInfo.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: botInfo
|
||||||
|
description: botInfo attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInfo
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|version|[int](../types/int.md) | Required|
|
||||||
|
|share\_text|[string](../types/string.md) | Required|
|
||||||
|
|description|[string](../types/string.md) | Required|
|
||||||
|
|commands|Array of [BotCommand](../types/BotCommand.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInfo](../types/BotInfo.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/botInfoEmpty.md
Normal file
20
docs/API_docs_46/constructors/botInfoEmpty.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: botInfoEmpty
|
||||||
|
description: botInfoEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInfoEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInfo](../types/BotInfo.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInfoEmpty = ['_' => 'botInfoEmpty', ];
|
||||||
|
```
|
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMediaResultDocument
|
||||||
|
description: botInlineMediaResultDocument attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMediaResultDocument
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[string](../types/string.md) | Required|
|
||||||
|
|type|[string](../types/string.md) | Required|
|
||||||
|
|document|[Document](../types/Document.md) | Required|
|
||||||
|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineResult](../types/BotInlineResult.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ];
|
||||||
|
```
|
28
docs/API_docs_46/constructors/botInlineMediaResultPhoto.md
Normal file
28
docs/API_docs_46/constructors/botInlineMediaResultPhoto.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMediaResultPhoto
|
||||||
|
description: botInlineMediaResultPhoto attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMediaResultPhoto
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[string](../types/string.md) | Required|
|
||||||
|
|type|[string](../types/string.md) | Required|
|
||||||
|
|photo|[Photo](../types/Photo.md) | Required|
|
||||||
|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineResult](../types/BotInlineResult.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/botInlineMessageMediaAuto.md
Normal file
25
docs/API_docs_46/constructors/botInlineMessageMediaAuto.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMessageMediaAuto
|
||||||
|
description: botInlineMessageMediaAuto attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMessageMediaAuto
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|caption|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/botInlineMessageText.md
Normal file
27
docs/API_docs_46/constructors/botInlineMessageText.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMessageText
|
||||||
|
description: botInlineMessageText attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMessageText
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|no\_webpage|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|message|[string](../types/string.md) | Required|
|
||||||
|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], ];
|
||||||
|
```
|
36
docs/API_docs_46/constructors/botInlineResult.md
Normal file
36
docs/API_docs_46/constructors/botInlineResult.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
title: botInlineResult
|
||||||
|
description: botInlineResult attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineResult
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[string](../types/string.md) | Required|
|
||||||
|
|type|[string](../types/string.md) | Required|
|
||||||
|
|title|[string](../types/string.md) | Optional|
|
||||||
|
|description|[string](../types/string.md) | Optional|
|
||||||
|
|url|[string](../types/string.md) | Optional|
|
||||||
|
|thumb\_url|[string](../types/string.md) | Optional|
|
||||||
|
|content\_url|[string](../types/string.md) | Optional|
|
||||||
|
|content\_type|[string](../types/string.md) | Optional|
|
||||||
|
|w|[int](../types/int.md) | Optional|
|
||||||
|
|h|[int](../types/int.md) | Optional|
|
||||||
|
|duration|[int](../types/int.md) | Optional|
|
||||||
|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineResult](../types/BotInlineResult.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ];
|
||||||
|
```
|
41
docs/API_docs_46/constructors/channel.md
Normal file
41
docs/API_docs_46/constructors/channel.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
title: channel
|
||||||
|
description: channel attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channel
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|creator|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|kicked|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|left|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|editor|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|moderator|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|broadcast|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|verified|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|megagroup|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|restricted|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|access\_hash|[long](../types/long.md) | Required|
|
||||||
|
|title|[string](../types/string.md) | Required|
|
||||||
|
|username|[string](../types/string.md) | Optional|
|
||||||
|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|version|[int](../types/int.md) | Required|
|
||||||
|
|restriction\_reason|[string](../types/string.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/channelForbidden.md
Normal file
27
docs/API_docs_46/constructors/channelForbidden.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: channelForbidden
|
||||||
|
description: channelForbidden attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelForbidden
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|access\_hash|[long](../types/long.md) | Required|
|
||||||
|
|title|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ];
|
||||||
|
```
|
39
docs/API_docs_46/constructors/channelFull.md
Normal file
39
docs/API_docs_46/constructors/channelFull.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: channelFull
|
||||||
|
description: channelFull attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelFull
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|about|[string](../types/string.md) | Required|
|
||||||
|
|participants\_count|[int](../types/int.md) | Optional|
|
||||||
|
|admins\_count|[int](../types/int.md) | Optional|
|
||||||
|
|kicked\_count|[int](../types/int.md) | Optional|
|
||||||
|
|read\_inbox\_max\_id|[int](../types/int.md) | Required|
|
||||||
|
|unread\_count|[int](../types/int.md) | Required|
|
||||||
|
|unread\_important\_count|[int](../types/int.md) | Required|
|
||||||
|
|chat\_photo|[Photo](../types/Photo.md) | Required|
|
||||||
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|
||||||
|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required|
|
||||||
|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required|
|
||||||
|
|migrated\_from\_chat\_id|[int](../types/int.md) | Optional|
|
||||||
|
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatFull](../types/ChatFull.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => 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 t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/channelMessagesFilter.md
Normal file
27
docs/API_docs_46/constructors/channelMessagesFilter.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: channelMessagesFilter
|
||||||
|
description: channelMessagesFilter attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelMessagesFilter
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|important\_only|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|ranges|Array of [MessageRange](../types/MessageRange.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [Vector t], ];
|
||||||
|
```
|
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelMessagesFilterCollapsed
|
||||||
|
description: channelMessagesFilterCollapsed attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelMessagesFilterCollapsed
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelMessagesFilterEmpty.md
Normal file
20
docs/API_docs_46/constructors/channelMessagesFilterEmpty.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelMessagesFilterEmpty
|
||||||
|
description: channelMessagesFilterEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelMessagesFilterEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/channelParticipant.md
Normal file
26
docs/API_docs_46/constructors/channelParticipant.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipant
|
||||||
|
description: channelParticipant attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipant
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/channelParticipantCreator.md
Normal file
25
docs/API_docs_46/constructors/channelParticipantCreator.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantCreator
|
||||||
|
description: channelParticipantCreator attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantCreator
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/channelParticipantEditor.md
Normal file
27
docs/API_docs_46/constructors/channelParticipantEditor.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantEditor
|
||||||
|
description: channelParticipantEditor attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantEditor
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/channelParticipantKicked.md
Normal file
27
docs/API_docs_46/constructors/channelParticipantKicked.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantKicked
|
||||||
|
description: channelParticipantKicked attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantKicked
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|kicked\_by|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/channelParticipantModerator.md
Normal file
27
docs/API_docs_46/constructors/channelParticipantModerator.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantModerator
|
||||||
|
description: channelParticipantModerator attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantModerator
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/channelParticipantSelf.md
Normal file
27
docs/API_docs_46/constructors/channelParticipantSelf.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantSelf
|
||||||
|
description: channelParticipantSelf attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantSelf
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelParticipantsAdmins.md
Normal file
20
docs/API_docs_46/constructors/channelParticipantsAdmins.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsAdmins
|
||||||
|
description: channelParticipantsAdmins attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsAdmins
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelParticipantsBots.md
Normal file
20
docs/API_docs_46/constructors/channelParticipantsBots.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsBots
|
||||||
|
description: channelParticipantsBots attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsBots
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsBots = ['_' => 'channelParticipantsBots', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelParticipantsKicked.md
Normal file
20
docs/API_docs_46/constructors/channelParticipantsKicked.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsKicked
|
||||||
|
description: channelParticipantsKicked attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsKicked
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelParticipantsRecent.md
Normal file
20
docs/API_docs_46/constructors/channelParticipantsRecent.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsRecent
|
||||||
|
description: channelParticipantsRecent attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsRecent
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelRoleEditor.md
Normal file
20
docs/API_docs_46/constructors/channelRoleEditor.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelRoleEditor
|
||||||
|
description: channelRoleEditor attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelRoleEditor
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelRoleEditor = ['_' => 'channelRoleEditor', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelRoleEmpty.md
Normal file
20
docs/API_docs_46/constructors/channelRoleEmpty.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelRoleEmpty
|
||||||
|
description: channelRoleEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelRoleEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelRoleEmpty = ['_' => 'channelRoleEmpty', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/channelRoleModerator.md
Normal file
20
docs/API_docs_46/constructors/channelRoleModerator.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: channelRoleModerator
|
||||||
|
description: channelRoleModerator attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelRoleModerator
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelRoleModerator = ['_' => 'channelRoleModerator', ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/channels_channelParticipant.md
Normal file
26
docs/API_docs_46/constructors/channels_channelParticipant.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: channels_channelParticipant
|
||||||
|
description: channels_channelParticipant attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channels\_channelParticipant
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ];
|
||||||
|
```
|
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: channels_channelParticipants
|
||||||
|
description: channels_channelParticipants attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channels\_channelParticipants
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|count|[int](../types/int.md) | Required|
|
||||||
|
|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
37
docs/API_docs_46/constructors/chat.md
Normal file
37
docs/API_docs_46/constructors/chat.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
title: chat
|
||||||
|
description: chat attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chat
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|creator|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|kicked|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|left|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|admins\_enabled|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|admin|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|deactivated|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|title|[string](../types/string.md) | Required|
|
||||||
|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Required|
|
||||||
|
|participants\_count|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|version|[int](../types/int.md) | Required|
|
||||||
|
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/chatEmpty.md
Normal file
25
docs/API_docs_46/constructors/chatEmpty.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: chatEmpty
|
||||||
|
description: chatEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/chatForbidden.md
Normal file
26
docs/API_docs_46/constructors/chatForbidden.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: chatForbidden
|
||||||
|
description: chatForbidden attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatForbidden
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|title|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ];
|
||||||
|
```
|
30
docs/API_docs_46/constructors/chatFull.md
Normal file
30
docs/API_docs_46/constructors/chatFull.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: chatFull
|
||||||
|
description: chatFull attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatFull
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|participants|[ChatParticipants](../types/ChatParticipants.md) | Required|
|
||||||
|
|chat\_photo|[Photo](../types/Photo.md) | Required|
|
||||||
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|
||||||
|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required|
|
||||||
|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatFull](../types/ChatFull.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ];
|
||||||
|
```
|
29
docs/API_docs_46/constructors/chatInvite.md
Normal file
29
docs/API_docs_46/constructors/chatInvite.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: chatInvite
|
||||||
|
description: chatInvite attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatInvite
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|channel|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|broadcast|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|public|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|megagroup|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|title|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatInvite](../types/ChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/chatInviteAlready.md
Normal file
25
docs/API_docs_46/constructors/chatInviteAlready.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: chatInviteAlready
|
||||||
|
description: chatInviteAlready attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatInviteAlready
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|chat|[Chat](../types/Chat.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatInvite](../types/ChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/chatInviteEmpty.md
Normal file
20
docs/API_docs_46/constructors/chatInviteEmpty.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: chatInviteEmpty
|
||||||
|
description: chatInviteEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatInviteEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInviteEmpty = ['_' => 'chatInviteEmpty', ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/chatInviteExported.md
Normal file
25
docs/API_docs_46/constructors/chatInviteExported.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: chatInviteExported
|
||||||
|
description: chatInviteExported attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatInviteExported
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|link|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/chatParticipant.md
Normal file
27
docs/API_docs_46/constructors/chatParticipant.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: chatParticipant
|
||||||
|
description: chatParticipant attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatParticipant
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/chatParticipantAdmin.md
Normal file
27
docs/API_docs_46/constructors/chatParticipantAdmin.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: chatParticipantAdmin
|
||||||
|
description: chatParticipantAdmin attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatParticipantAdmin
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/chatParticipantCreator.md
Normal file
25
docs/API_docs_46/constructors/chatParticipantCreator.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: chatParticipantCreator
|
||||||
|
description: chatParticipantCreator attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatParticipantCreator
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/chatParticipants.md
Normal file
27
docs/API_docs_46/constructors/chatParticipants.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: chatParticipants
|
||||||
|
description: chatParticipants attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatParticipants
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|chat\_id|[int](../types/int.md) | Required|
|
||||||
|
|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required|
|
||||||
|
|version|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipants](../types/ChatParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/chatParticipantsForbidden.md
Normal file
26
docs/API_docs_46/constructors/chatParticipantsForbidden.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: chatParticipantsForbidden
|
||||||
|
description: chatParticipantsForbidden attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatParticipantsForbidden
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|chat\_id|[int](../types/int.md) | Required|
|
||||||
|
|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipants](../types/ChatParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/chatPhoto.md
Normal file
26
docs/API_docs_46/constructors/chatPhoto.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: chatPhoto
|
||||||
|
description: chatPhoto attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatPhoto
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|photo\_small|[FileLocation](../types/FileLocation.md) | Required|
|
||||||
|
|photo\_big|[FileLocation](../types/FileLocation.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatPhoto](../types/ChatPhoto.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/chatPhotoEmpty.md
Normal file
20
docs/API_docs_46/constructors/chatPhotoEmpty.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: chatPhotoEmpty
|
||||||
|
description: chatPhotoEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatPhotoEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatPhoto](../types/ChatPhoto.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ];
|
||||||
|
```
|
43
docs/API_docs_46/constructors/config.md
Normal file
43
docs/API_docs_46/constructors/config.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: config
|
||||||
|
description: config attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: config
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|expires|[int](../types/int.md) | Required|
|
||||||
|
|test\_mode|[Bool](../types/Bool.md) | Required|
|
||||||
|
|this\_dc|[int](../types/int.md) | Required|
|
||||||
|
|dc\_options|Array of [DcOption](../types/DcOption.md) | Required|
|
||||||
|
|chat\_size\_max|[int](../types/int.md) | Required|
|
||||||
|
|megagroup\_size\_max|[int](../types/int.md) | Required|
|
||||||
|
|forwarded\_count\_max|[int](../types/int.md) | Required|
|
||||||
|
|online\_update\_period\_ms|[int](../types/int.md) | Required|
|
||||||
|
|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required|
|
||||||
|
|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required|
|
||||||
|
|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required|
|
||||||
|
|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required|
|
||||||
|
|notify\_default\_delay\_ms|[int](../types/int.md) | Required|
|
||||||
|
|chat\_big\_size|[int](../types/int.md) | Required|
|
||||||
|
|push\_chat\_period\_ms|[int](../types/int.md) | Required|
|
||||||
|
|push\_chat\_limit|[int](../types/int.md) | Required|
|
||||||
|
|saved\_gifs\_limit|[int](../types/int.md) | Required|
|
||||||
|
|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Config](../types/Config.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], '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 t], ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/contact.md
Normal file
26
docs/API_docs_46/constructors/contact.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: contact
|
||||||
|
description: contact attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contact
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|mutual|[Bool](../types/Bool.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Contact](../types/Contact.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/contactBlocked.md
Normal file
26
docs/API_docs_46/constructors/contactBlocked.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: contactBlocked
|
||||||
|
description: contactBlocked attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactBlocked
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactBlocked](../types/ContactBlocked.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/contactLinkContact.md
Normal file
20
docs/API_docs_46/constructors/contactLinkContact.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkContact
|
||||||
|
description: contactLinkContact attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkContact
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkContact = ['_' => 'contactLinkContact', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/contactLinkHasPhone.md
Normal file
20
docs/API_docs_46/constructors/contactLinkHasPhone.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkHasPhone
|
||||||
|
description: contactLinkHasPhone attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkHasPhone
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/contactLinkNone.md
Normal file
20
docs/API_docs_46/constructors/contactLinkNone.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkNone
|
||||||
|
description: contactLinkNone attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkNone
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkNone = ['_' => 'contactLinkNone', ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/contactLinkUnknown.md
Normal file
20
docs/API_docs_46/constructors/contactLinkUnknown.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkUnknown
|
||||||
|
description: contactLinkUnknown attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkUnknown
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkUnknown = ['_' => 'contactLinkUnknown', ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/contactStatus.md
Normal file
26
docs/API_docs_46/constructors/contactStatus.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: contactStatus
|
||||||
|
description: contactStatus attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactStatus
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|status|[UserStatus](../types/UserStatus.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactStatus](../types/ContactStatus.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/contactSuggested.md
Normal file
26
docs/API_docs_46/constructors/contactSuggested.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: contactSuggested
|
||||||
|
description: contactSuggested attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactSuggested
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|user\_id|[int](../types/int.md) | Required|
|
||||||
|
|mutual\_contacts|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactSuggested](../types/ContactSuggested.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/contacts_blocked.md
Normal file
26
docs/API_docs_46/constructors/contacts_blocked.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: contacts_blocked
|
||||||
|
description: contacts_blocked attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_blocked
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/contacts_blockedSlice.md
Normal file
27
docs/API_docs_46/constructors/contacts_blockedSlice.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: contacts_blockedSlice
|
||||||
|
description: contacts_blockedSlice attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_blockedSlice
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|count|[int](../types/int.md) | Required|
|
||||||
|
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/contacts_contacts.md
Normal file
26
docs/API_docs_46/constructors/contacts_contacts.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: contacts_contacts
|
||||||
|
description: contacts_contacts attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_contacts
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|contacts|Array of [Contact](../types/Contact.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: contacts_contactsNotModified
|
||||||
|
description: contacts_contactsNotModified attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_contactsNotModified
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/contacts_found.md
Normal file
27
docs/API_docs_46/constructors/contacts_found.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: contacts_found
|
||||||
|
description: contacts_found attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_found
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|results|Array of [Peer](../types/Peer.md) | Required|
|
||||||
|
|chats|Array of [Chat](../types/Chat.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Found](../types/contacts_Found.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/contacts_importedContacts.md
Normal file
27
docs/API_docs_46/constructors/contacts_importedContacts.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: contacts_importedContacts
|
||||||
|
description: contacts_importedContacts attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_importedContacts
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required|
|
||||||
|
|retry\_contacts|Array of [long](../types/long.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/contacts_link.md
Normal file
27
docs/API_docs_46/constructors/contacts_link.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: contacts_link
|
||||||
|
description: contacts_link attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_link
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|my\_link|[ContactLink](../types/ContactLink.md) | Required|
|
||||||
|
|foreign\_link|[ContactLink](../types/ContactLink.md) | Required|
|
||||||
|
|user|[User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Link](../types/contacts_Link.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/contacts_resolvedPeer.md
Normal file
27
docs/API_docs_46/constructors/contacts_resolvedPeer.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: contacts_resolvedPeer
|
||||||
|
description: contacts_resolvedPeer attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_resolvedPeer
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|peer|[Peer](../types/Peer.md) | Required|
|
||||||
|
|chats|Array of [Chat](../types/Chat.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/contacts_suggested.md
Normal file
26
docs/API_docs_46/constructors/contacts_suggested.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: contacts_suggested
|
||||||
|
description: contacts_suggested attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contacts\_suggested
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required|
|
||||||
|
|users|Array of [User](../types/User.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Suggested](../types/contacts_Suggested.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ];
|
||||||
|
```
|
29
docs/API_docs_46/constructors/dcOption.md
Normal file
29
docs/API_docs_46/constructors/dcOption.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: dcOption
|
||||||
|
description: dcOption attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: dcOption
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|ipv6|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|media\_only|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Required|
|
||||||
|
|ip\_address|[string](../types/string.md) | Required|
|
||||||
|
|port|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DcOption](../types/DcOption.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ];
|
||||||
|
```
|
29
docs/API_docs_46/constructors/dialog.md
Normal file
29
docs/API_docs_46/constructors/dialog.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: dialog
|
||||||
|
description: dialog attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: dialog
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|peer|[Peer](../types/Peer.md) | Required|
|
||||||
|
|top\_message|[int](../types/int.md) | Required|
|
||||||
|
|read\_inbox\_max\_id|[int](../types/int.md) | Required|
|
||||||
|
|unread\_count|[int](../types/int.md) | Required|
|
||||||
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Dialog](../types/Dialog.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ];
|
||||||
|
```
|
32
docs/API_docs_46/constructors/dialogChannel.md
Normal file
32
docs/API_docs_46/constructors/dialogChannel.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
title: dialogChannel
|
||||||
|
description: dialogChannel attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: dialogChannel
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|peer|[Peer](../types/Peer.md) | Required|
|
||||||
|
|top\_message|[int](../types/int.md) | Required|
|
||||||
|
|top\_important\_message|[int](../types/int.md) | Required|
|
||||||
|
|read\_inbox\_max\_id|[int](../types/int.md) | Required|
|
||||||
|
|unread\_count|[int](../types/int.md) | Required|
|
||||||
|
|unread\_important\_count|[int](../types/int.md) | Required|
|
||||||
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|
||||||
|
|pts|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Dialog](../types/Dialog.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$dialogChannel = ['_' => 'dialogChannel', '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, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/disabledFeature.md
Normal file
26
docs/API_docs_46/constructors/disabledFeature.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: disabledFeature
|
||||||
|
description: disabledFeature attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: disabledFeature
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|feature|[string](../types/string.md) | Required|
|
||||||
|
|description|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DisabledFeature](../types/DisabledFeature.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ];
|
||||||
|
```
|
32
docs/API_docs_46/constructors/document.md
Normal file
32
docs/API_docs_46/constructors/document.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
title: document
|
||||||
|
description: document attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: document
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[long](../types/long.md) | Required|
|
||||||
|
|access\_hash|[long](../types/long.md) | Required|
|
||||||
|
|date|[int](../types/int.md) | Required|
|
||||||
|
|mime\_type|[string](../types/string.md) | Required|
|
||||||
|
|size|[int](../types/int.md) | Required|
|
||||||
|
|thumb|[PhotoSize](../types/PhotoSize.md) | Required|
|
||||||
|
|dc\_id|[int](../types/int.md) | Required|
|
||||||
|
|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Document](../types/Document.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ];
|
||||||
|
```
|
20
docs/API_docs_46/constructors/documentAttributeAnimated.md
Normal file
20
docs/API_docs_46/constructors/documentAttributeAnimated.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: documentAttributeAnimated
|
||||||
|
description: documentAttributeAnimated attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: documentAttributeAnimated
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ];
|
||||||
|
```
|
27
docs/API_docs_46/constructors/documentAttributeAudio.md
Normal file
27
docs/API_docs_46/constructors/documentAttributeAudio.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: documentAttributeAudio
|
||||||
|
description: documentAttributeAudio attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: documentAttributeAudio
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|duration|[int](../types/int.md) | Required|
|
||||||
|
|title|[string](../types/string.md) | Required|
|
||||||
|
|performer|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ];
|
||||||
|
```
|
25
docs/API_docs_46/constructors/documentAttributeFilename.md
Normal file
25
docs/API_docs_46/constructors/documentAttributeFilename.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
title: documentAttributeFilename
|
||||||
|
description: documentAttributeFilename attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: documentAttributeFilename
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|file\_name|[string](../types/string.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/documentAttributeImageSize.md
Normal file
26
docs/API_docs_46/constructors/documentAttributeImageSize.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: documentAttributeImageSize
|
||||||
|
description: documentAttributeImageSize attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: documentAttributeImageSize
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|w|[int](../types/int.md) | Required|
|
||||||
|
|h|[int](../types/int.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ];
|
||||||
|
```
|
26
docs/API_docs_46/constructors/documentAttributeSticker.md
Normal file
26
docs/API_docs_46/constructors/documentAttributeSticker.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: documentAttributeSticker
|
||||||
|
description: documentAttributeSticker attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: documentAttributeSticker
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|alt|[string](../types/string.md) | Required|
|
||||||
|
|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ];
|
||||||
|
```
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user