Fixing markdown syntax

This commit is contained in:
danogentili 2016-12-19 20:35:27 +03:00
parent 7094200f40
commit 5ba1457d0a
583 changed files with 1578 additions and 2463 deletions

View File

@ -78,11 +78,18 @@ foreach ($TL->methods->method as $key => $method) {
$ptype = 'Bool';
}
$params .= "'".$param['name']."' => ";
$params .= (isset($param['subtype']) ? '[' : '').'['.$ptype.'](../'.$link_type.'/'.$ptype.'.md)'.(isset($param['subtype']) ? ']' : '').', ';
}
$methods[$method] = str_replace(['_', '\[\]'], ['\_', ''], '$MadelineProto->['.str_replace('.', '->', $method).']('.$method.'.md)(\['.$params.'\]) == [$'.$type.'](../types/'.$real_type.'.md);
$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)
';
$params = '';
$table = empty($TL->methods->params[$key]) ? '' : '### Parameters:
@ -100,12 +107,23 @@ foreach ($TL->methods->method as $key => $method) {
case 'false':
$ptype = 'Bool';
}
$table .= '|'.$param['name'].'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.$ptype.'](../types/'.$ptype.'.md) | '.($param['flag'] ? 'Optional' : 'Required').'|
$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 = str_replace('_', '\_', '## Method: '.$method.'
');
$table .= '
';
$return = '### Return type: ['.str_replace('_', '\_', $type).'](../types/'.$real_type.'.md)
### Example:
';
$example = str_replace('[]', '', '
```
$MadelineProto = new \danog\MadelineProto\API();
@ -124,16 +142,7 @@ if (isset($number)) {
$'.$type.' = $MadelineProto->'.str_replace('.', '->', $method).'(['.$params.']);
```');
$header = str_replace('_', '\_', '## Method: '.$method.'
'.$table.'
### Return type: ['.$type.'](../types/'.$real_type.'.md)
### Example:
');
file_put_contents('methods/'.$method.'.md', $header.$example);
file_put_contents('methods/'.$method.'.md', $header.$table.$return.$example);
}
\danog\MadelineProto\Logger::log('Generating methods index...');
@ -183,13 +192,20 @@ foreach ($TL->constructors->predicate as $key => $constructor) {
case 'false':
$ptype = 'Bool';
}
$params .= "'".$param['name']."' => ";
$params .= (isset($param['subtype']) ? '[' : '').'['.$ptype.'](../'.$link_type.'/'.$ptype.'.md)'.(isset($param['subtype']) ? ']' : '').', ';
}
$params = "\[".$params.'\]';
$constructors[$constructor] = str_replace(['_'], ['\_'], '[$'.$real_type.'](../types/'.$real_type.'.md) = '.$params.';
');
$params .= "'".$param['name']."' => ";
$ptype =
'['.
str_replace('_', '\_', $ptype).
'](../'.$link_type.'/'.$ptype.'.md)';
$params .= (isset($param['subtype']) ? '\[' . $ptype . '\]' : $ptype).', ';
}
$constructors[$constructor] = '[$'.str_replace('_', '\_', $real_type).'](../types/'.$real_type.'.md) = \['.$params.'\];
';
if (!isset($types[$real_type])) {
$types[$real_type] = [];
@ -220,7 +236,7 @@ foreach ($TL->constructors->predicate as $key => $constructor) {
case 'false':
$ptype = 'Bool';
}
$table .= '|'.$param['name'].'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.$ptype.'](../'.$link_type.'/'.$ptype.'.md) | '.($param['flag'] ? 'Optional' : 'Required').'|
$table .= '|'.str_replace('_', '\_', $param['name']).'|'.(isset($param['subtype']) ? 'Array of ' : '').'['.str_replace('_', '\_', $ptype).'](../'.$link_type.'/'.$ptype.'.md) | '.($param['flag'] ? 'Optional' : 'Required').'|
';
$params .= "'".$param['name']."' => ";
@ -228,20 +244,19 @@ foreach ($TL->constructors->predicate as $key => $constructor) {
}
$params = "['_' => ".$constructor."', ".$params.']';
$example = '
$header = str_replace('_', '\_', '## Constructor: '.$constructor.'
');
$type = '### Type:
['.str_replace('_', '\_', $real_type).'](../types/'.$real_type.'.md)
';
$example = '### Example:
```
$'.$constructor.' = '.$params.';
```';
$header = str_replace('_', '\_', '## Constructor: '.$constructor.'
'.$table.'
### Type: ['.$real_type.'](../types/'.$real_type.'.md)
### Example:
');
file_put_contents('constructors/'.$constructor.'.md', $header.$example);
file_put_contents('constructors/'.$constructor.'.md', $header.$table.$type.$example);
}
\danog\MadelineProto\Logger::log('Generating constructors index...');
@ -272,7 +287,7 @@ foreach ($types as $type => $keys) {
$constructors = '';
foreach ($keys as $key) {
$predicate = str_replace('.', '_', $TL->constructors->predicate[$key]);
$constructors .= '['.$predicate.'](../constructors/'.$predicate.'.md)
$constructors .= '['.str_replace('_', '\_', $predicate).'](../constructors/'.$predicate.'.md)
';
}
@ -280,8 +295,8 @@ foreach ($types as $type => $keys) {
### Possible values (constructors):
'.$constructors);
file_put_contents('types/'.$type.'.md', $header);
');
file_put_contents('types/'.$type.'.md', $header.$constructors);
}
\danog\MadelineProto\Logger::log('Generating additional types...');

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|days|[int](../types/int.md) | Required|
### Type:
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
[AccountDaysTTL](../types/AccountDaysTTL.md)
### Example:
```
$accountDaysTTL = ['_' => accountDaysTTL', 'days' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|authorizations|Array of [Authorization](../types/Authorization.md) | Required|
### Type:
### Type: [account\_Authorizations](../types/account\_Authorizations.md)
[account\_Authorizations](../types/account_Authorizations.md)
### Example:
```
$account_authorizations = ['_' => account_authorizations', 'authorizations' => [Vector t], ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|new\_salt|[bytes](../types/bytes.md) | Required|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Required|
### Type:
### Type: [account\_Password](../types/account\_Password.md)
[account\_Password](../types/account_Password.md)
### Example:
```
$account_noPassword = ['_' => account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ];
```

View File

@ -9,13 +9,11 @@
|hint|[string](../types/string.md) | Required|
|has\_recovery|[Bool](../types/Bool.md) | Required|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Required|
### Type:
### Type: [account\_Password](../types/account\_Password.md)
[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, ];
```

View File

@ -8,13 +8,11 @@
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|
|hint|[string](../types/string.md) | Optional|
|email|[string](../types/string.md) | Optional|
### Type:
### Type: [account\_PasswordInputSettings](../types/account\_PasswordInputSettings.md)
[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md)
### Example:
```
$account_passwordInputSettings = ['_' => account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|email|[string](../types/string.md) | Required|
### Type:
### Type: [account\_PasswordSettings](../types/account\_PasswordSettings.md)
[account\_PasswordSettings](../types/account_PasswordSettings.md)
### Example:
```
$account_passwordSettings = ['_' => account_passwordSettings', 'email' => string, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [account\_PrivacyRules](../types/account\_PrivacyRules.md)
[account\_PrivacyRules](../types/account_PrivacyRules.md)
### Example:
```
$account_privacyRules = ['_' => account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|tmp\_sessions|[int](../types/int.md) | Optional|
|user|[User](../types/User.md) | Required|
### Type:
### Type: [auth\_Authorization](../types/auth\_Authorization.md)
[auth\_Authorization](../types/auth_Authorization.md)
### Example:
```
$auth_authorization = ['_' => auth_authorization', 'tmp_sessions' => int, 'user' => User, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_registered|[Bool](../types/Bool.md) | Required|
### Type:
### Type: [auth\_CheckedPhone](../types/auth\_CheckedPhone.md)
[auth\_CheckedPhone](../types/auth_CheckedPhone.md)
### Example:
```
$auth_checkedPhone = ['_' => auth_checkedPhone', 'phone_registered' => Bool, ];
```

View File

@ -1,12 +1,10 @@
## Constructor: auth\_codeTypeCall
### Type:
### Type: [auth\_CodeType](../types/auth\_CodeType.md)
[auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeCall = ['_' => auth_codeTypeCall', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: auth\_codeTypeFlashCall
### Type:
### Type: [auth\_CodeType](../types/auth\_CodeType.md)
[auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeFlashCall = ['_' => auth_codeTypeFlashCall', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: auth\_codeTypeSms
### Type:
### Type: [auth\_CodeType](../types/auth\_CodeType.md)
[auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeSms = ['_' => auth_codeTypeSms', ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Required|
|bytes|[bytes](../types/bytes.md) | Required|
### Type:
### Type: [auth\_ExportedAuthorization](../types/auth\_ExportedAuthorization.md)
[auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
### Example:
```
$auth_exportedAuthorization = ['_' => auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|email\_pattern|[string](../types/string.md) | Required|
### Type:
### Type: [auth\_PasswordRecovery](../types/auth\_PasswordRecovery.md)
[auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
### Example:
```
$auth_passwordRecovery = ['_' => auth_passwordRecovery', 'email_pattern' => string, ];
```

View File

@ -5,17 +5,15 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_registered|[Bool](../types/Bool.md) | Optional|
|type|[auth\_SentCodeType](../types/auth\_SentCodeType.md) | Required|
|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Required|
|phone\_code\_hash|[string](../types/string.md) | Required|
|next\_type|[auth\_CodeType](../types/auth\_CodeType.md) | Optional|
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|
|timeout|[int](../types/int.md) | Optional|
### Type:
### Type: [auth\_SentCode](../types/auth\_SentCode.md)
[auth\_SentCode](../types/auth_SentCode.md)
### Example:
```
$auth_sentCode = ['_' => auth_sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|length|[int](../types/int.md) | Required|
### Type:
### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md)
[auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeApp = ['_' => auth_sentCodeTypeApp', 'length' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|length|[int](../types/int.md) | Required|
### Type:
### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md)
[auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeCall = ['_' => auth_sentCodeTypeCall', 'length' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|pattern|[string](../types/string.md) | Required|
### Type:
### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md)
[auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeFlashCall = ['_' => auth_sentCodeTypeFlashCall', 'pattern' => string, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|length|[int](../types/int.md) | Required|
### Type:
### Type: [auth\_SentCodeType](../types/auth\_SentCodeType.md)
[auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeSms = ['_' => auth_sentCodeTypeSms', 'length' => int, ];
```

View File

@ -16,13 +16,11 @@
|ip|[string](../types/string.md) | Required|
|country|[string](../types/string.md) | Required|
|region|[string](../types/string.md) | Required|
### Type:
### Type: [Authorization](../types/Authorization.md)
[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, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|command|[string](../types/string.md) | Required|
|description|[string](../types/string.md) | Required|
### Type:
### Type: [BotCommand](../types/BotCommand.md)
[BotCommand](../types/BotCommand.md)
### Example:
```
$botCommand = ['_' => botCommand', 'command' => string, 'description' => string, ];
```

View File

@ -7,13 +7,11 @@
|user\_id|[int](../types/int.md) | Required|
|description|[string](../types/string.md) | Required|
|commands|Array of [BotCommand](../types/BotCommand.md) | Required|
### Type:
### Type: [BotInfo](../types/BotInfo.md)
[BotInfo](../types/BotInfo.md)
### Example:
```
$botInfo = ['_' => botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ];
```

View File

@ -11,13 +11,11 @@
|title|[string](../types/string.md) | Optional|
|description|[string](../types/string.md) | Optional|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required|
### Type:
### Type: [BotInlineResult](../types/BotInlineResult.md)
[BotInlineResult](../types/BotInlineResult.md)
### Example:
```
$botInlineMediaResult = ['_' => botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|caption|[string](../types/string.md) | Required|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type:
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
[BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaAuto = ['_' => botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ];
```

View File

@ -8,13 +8,11 @@
|first\_name|[string](../types/string.md) | Required|
|last\_name|[string](../types/string.md) | Required|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type:
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
[BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaContact = ['_' => botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|geo|[GeoPoint](../types/GeoPoint.md) | Required|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type:
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
[BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaGeo = ['_' => botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ];
```

View File

@ -10,13 +10,11 @@
|provider|[string](../types/string.md) | Required|
|venue\_id|[string](../types/string.md) | Required|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type:
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
[BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaVenue = ['_' => botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ];
```

View File

@ -8,13 +8,11 @@
|message|[string](../types/string.md) | Required|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type:
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
[BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageText = ['_' => botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ];
```

View File

@ -16,13 +16,11 @@
|h|[int](../types/int.md) | Optional|
|duration|[int](../types/int.md) | Optional|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required|
### Type:
### Type: [BotInlineResult](../types/BotInlineResult.md)
[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, ];
```

View File

@ -24,13 +24,11 @@
|date|[int](../types/int.md) | Required|
|version|[int](../types/int.md) | Required|
|restriction\_reason|[string](../types/string.md) | Optional|
### Type:
### Type: [Chat](../types/Chat.md)
[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, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ];
```

View File

@ -9,13 +9,11 @@
|id|[int](../types/int.md) | Required|
|access\_hash|[long](../types/long.md) | Required|
|title|[string](../types/string.md) | Required|
### Type:
### Type: [Chat](../types/Chat.md)
[Chat](../types/Chat.md)
### Example:
```
$channelForbidden = ['_' => channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ];
```

View File

@ -21,13 +21,11 @@
|migrated\_from\_chat\_id|[int](../types/int.md) | Optional|
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|
|pinned\_msg\_id|[int](../types/int.md) | Optional|
### Type:
### Type: [ChatFull](../types/ChatFull.md)
[ChatFull](../types/ChatFull.md)
### Example:
```
$channelFull = ['_' => channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|ranges|Array of [MessageRange](../types/MessageRange.md) | Required|
### Type:
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
[ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
### Example:
```
$channelMessagesFilter = ['_' => channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [Vector t], ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelMessagesFilterEmpty
### Type:
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
[ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
### Example:
```
$channelMessagesFilterEmpty = ['_' => channelMessagesFilterEmpty', ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
[ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipant = ['_' => channelParticipant', 'user_id' => int, 'date' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
### Type:
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
[ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantCreator = ['_' => channelParticipantCreator', 'user_id' => int, ];
```

View File

@ -7,13 +7,11 @@
|user\_id|[int](../types/int.md) | Required|
|inviter\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
[ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantEditor = ['_' => channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
```

View File

@ -7,13 +7,11 @@
|user\_id|[int](../types/int.md) | Required|
|kicked\_by|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
[ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantKicked = ['_' => channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ];
```

View File

@ -7,13 +7,11 @@
|user\_id|[int](../types/int.md) | Required|
|inviter\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
[ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantModerator = ['_' => channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
```

View File

@ -7,13 +7,11 @@
|user\_id|[int](../types/int.md) | Required|
|inviter\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
[ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantSelf = ['_' => channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelParticipantsAdmins
### Type:
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsAdmins = ['_' => channelParticipantsAdmins', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelParticipantsBots
### Type:
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsBots = ['_' => channelParticipantsBots', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelParticipantsKicked
### Type:
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsKicked = ['_' => channelParticipantsKicked', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelParticipantsRecent
### Type:
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsRecent = ['_' => channelParticipantsRecent', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelRoleEditor
### Type:
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
[ChannelParticipantRole](../types/ChannelParticipantRole.md)
### Example:
```
$channelRoleEditor = ['_' => channelRoleEditor', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelRoleEmpty
### Type:
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
[ChannelParticipantRole](../types/ChannelParticipantRole.md)
### Example:
```
$channelRoleEmpty = ['_' => channelRoleEmpty', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: channelRoleModerator
### Type:
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
[ChannelParticipantRole](../types/ChannelParticipantRole.md)
### Example:
```
$channelRoleModerator = ['_' => channelRoleModerator', ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [channels\_ChannelParticipant](../types/channels\_ChannelParticipant.md)
[channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
### Example:
```
$channels_channelParticipant = ['_' => channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ];
```

View File

@ -7,13 +7,11 @@
|count|[int](../types/int.md) | Required|
|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [channels\_ChannelParticipants](../types/channels\_ChannelParticipants.md)
[channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
### Example:
```
$channels_channelParticipants = ['_' => channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -17,13 +17,11 @@
|date|[int](../types/int.md) | Required|
|version|[int](../types/int.md) | Required|
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|
### Type:
### Type: [Chat](../types/Chat.md)
[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, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Required|
### Type:
### Type: [Chat](../types/Chat.md)
[Chat](../types/Chat.md)
### Example:
```
$chatEmpty = ['_' => chatEmpty', 'id' => int, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Required|
|title|[string](../types/string.md) | Required|
### Type:
### Type: [Chat](../types/Chat.md)
[Chat](../types/Chat.md)
### Example:
```
$chatForbidden = ['_' => chatForbidden', 'id' => int, 'title' => string, ];
```

View File

@ -10,13 +10,11 @@
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required|
### Type:
### Type: [ChatFull](../types/ChatFull.md)
[ChatFull](../types/ChatFull.md)
### Example:
```
$chatFull = ['_' => chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ];
```

View File

@ -12,13 +12,11 @@
|photo|[ChatPhoto](../types/ChatPhoto.md) | Required|
|participants\_count|[int](../types/int.md) | Required|
|participants|Array of [User](../types/User.md) | Optional|
### Type:
### Type: [ChatInvite](../types/ChatInvite.md)
[ChatInvite](../types/ChatInvite.md)
### Example:
```
$chatInvite = ['_' => chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [Vector t], ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|chat|[Chat](../types/Chat.md) | Required|
### Type:
### Type: [ChatInvite](../types/ChatInvite.md)
[ChatInvite](../types/ChatInvite.md)
### Example:
```
$chatInviteAlready = ['_' => chatInviteAlready', 'chat' => Chat, ];
```

View File

@ -1,12 +1,10 @@
## Constructor: chatInviteEmpty
### Type:
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
[ExportedChatInvite](../types/ExportedChatInvite.md)
### Example:
```
$chatInviteEmpty = ['_' => chatInviteEmpty', ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|link|[string](../types/string.md) | Required|
### Type:
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
[ExportedChatInvite](../types/ExportedChatInvite.md)
### Example:
```
$chatInviteExported = ['_' => chatInviteExported', 'link' => string, ];
```

View File

@ -7,13 +7,11 @@
|user\_id|[int](../types/int.md) | Required|
|inviter\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ChatParticipant](../types/ChatParticipant.md)
[ChatParticipant](../types/ChatParticipant.md)
### Example:
```
$chatParticipant = ['_' => chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
```

View File

@ -7,13 +7,11 @@
|user\_id|[int](../types/int.md) | Required|
|inviter\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ChatParticipant](../types/ChatParticipant.md)
[ChatParticipant](../types/ChatParticipant.md)
### Example:
```
$chatParticipantAdmin = ['_' => chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
### Type:
### Type: [ChatParticipant](../types/ChatParticipant.md)
[ChatParticipant](../types/ChatParticipant.md)
### Example:
```
$chatParticipantCreator = ['_' => chatParticipantCreator', 'user_id' => int, ];
```

View File

@ -7,13 +7,11 @@
|chat\_id|[int](../types/int.md) | Required|
|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required|
|version|[int](../types/int.md) | Required|
### Type:
### Type: [ChatParticipants](../types/ChatParticipants.md)
[ChatParticipants](../types/ChatParticipants.md)
### Example:
```
$chatParticipants = ['_' => chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|chat\_id|[int](../types/int.md) | Required|
|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional|
### Type:
### Type: [ChatParticipants](../types/ChatParticipants.md)
[ChatParticipants](../types/ChatParticipants.md)
### Example:
```
$chatParticipantsForbidden = ['_' => chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|photo\_small|[FileLocation](../types/FileLocation.md) | Required|
|photo\_big|[FileLocation](../types/FileLocation.md) | Required|
### Type:
### Type: [ChatPhoto](../types/ChatPhoto.md)
[ChatPhoto](../types/ChatPhoto.md)
### Example:
```
$chatPhoto = ['_' => chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ];
```

View File

@ -1,12 +1,10 @@
## Constructor: chatPhotoEmpty
### Type:
### Type: [ChatPhoto](../types/ChatPhoto.md)
[ChatPhoto](../types/ChatPhoto.md)
### Example:
```
$chatPhotoEmpty = ['_' => chatPhotoEmpty', ];
```

View File

@ -27,13 +27,11 @@
|stickers\_recent\_limit|[int](../types/int.md) | Required|
|tmp\_sessions|[int](../types/int.md) | Optional|
|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required|
### Type:
### Type: [Config](../types/Config.md)
[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, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [Vector t], ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
|mutual|[Bool](../types/Bool.md) | Required|
### Type:
### Type: [Contact](../types/Contact.md)
[Contact](../types/Contact.md)
### Example:
```
$contact = ['_' => contact', 'user_id' => int, 'mutual' => Bool, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [ContactBlocked](../types/ContactBlocked.md)
[ContactBlocked](../types/ContactBlocked.md)
### Example:
```
$contactBlocked = ['_' => contactBlocked', 'user_id' => int, 'date' => int, ];
```

View File

@ -1,12 +1,10 @@
## Constructor: contactLinkContact
### Type:
### Type: [ContactLink](../types/ContactLink.md)
[ContactLink](../types/ContactLink.md)
### Example:
```
$contactLinkContact = ['_' => contactLinkContact', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: contactLinkHasPhone
### Type:
### Type: [ContactLink](../types/ContactLink.md)
[ContactLink](../types/ContactLink.md)
### Example:
```
$contactLinkHasPhone = ['_' => contactLinkHasPhone', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: contactLinkNone
### Type:
### Type: [ContactLink](../types/ContactLink.md)
[ContactLink](../types/ContactLink.md)
### Example:
```
$contactLinkNone = ['_' => contactLinkNone', ];
```

View File

@ -1,12 +1,10 @@
## Constructor: contactLinkUnknown
### Type:
### Type: [ContactLink](../types/ContactLink.md)
[ContactLink](../types/ContactLink.md)
### Example:
```
$contactLinkUnknown = ['_' => contactLinkUnknown', ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
|status|[UserStatus](../types/UserStatus.md) | Required|
### Type:
### Type: [ContactStatus](../types/ContactStatus.md)
[ContactStatus](../types/ContactStatus.md)
### Example:
```
$contactStatus = ['_' => contactStatus', 'user_id' => int, 'status' => UserStatus, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [contacts\_Blocked](../types/contacts\_Blocked.md)
[contacts\_Blocked](../types/contacts_Blocked.md)
### Example:
```
$contacts_blocked = ['_' => contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -7,13 +7,11 @@
|count|[int](../types/int.md) | Required|
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [contacts\_Blocked](../types/contacts\_Blocked.md)
[contacts\_Blocked](../types/contacts_Blocked.md)
### Example:
```
$contacts_blockedSlice = ['_' => contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|contacts|Array of [Contact](../types/Contact.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [contacts\_Contacts](../types/contacts\_Contacts.md)
[contacts\_Contacts](../types/contacts_Contacts.md)
### Example:
```
$contacts_contacts = ['_' => contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -1,12 +1,10 @@
## Constructor: contacts\_contactsNotModified
### Type:
### Type: [contacts\_Contacts](../types/contacts\_Contacts.md)
[contacts\_Contacts](../types/contacts_Contacts.md)
### Example:
```
$contacts_contactsNotModified = ['_' => contacts_contactsNotModified', ];
```

View File

@ -7,13 +7,11 @@
|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:
### Type: [contacts\_Found](../types/contacts\_Found.md)
[contacts\_Found](../types/contacts_Found.md)
### Example:
```
$contacts_found = ['_' => contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -7,13 +7,11 @@
|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:
### Type: [contacts\_ImportedContacts](../types/contacts\_ImportedContacts.md)
[contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)
### Example:
```
$contacts_importedContacts = ['_' => contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -7,13 +7,11 @@
|my\_link|[ContactLink](../types/ContactLink.md) | Required|
|foreign\_link|[ContactLink](../types/ContactLink.md) | Required|
|user|[User](../types/User.md) | Required|
### Type:
### Type: [contacts\_Link](../types/contacts\_Link.md)
[contacts\_Link](../types/contacts_Link.md)
### Example:
```
$contacts_link = ['_' => contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ];
```

View File

@ -7,13 +7,11 @@
|peer|[Peer](../types/Peer.md) | Required|
|chats|Array of [Chat](../types/Chat.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [contacts\_ResolvedPeer](../types/contacts\_ResolvedPeer.md)
[contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md)
### Example:
```
$contacts_resolvedPeer = ['_' => contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -7,13 +7,11 @@
|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Required|
|chats|Array of [Chat](../types/Chat.md) | Required|
|users|Array of [User](../types/User.md) | Required|
### Type:
### Type: [contacts\_TopPeers](../types/contacts\_TopPeers.md)
[contacts\_TopPeers](../types/contacts_TopPeers.md)
### Example:
```
$contacts_topPeers = ['_' => contacts_topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ];
```

View File

@ -1,12 +1,10 @@
## Constructor: contacts\_topPeersNotModified
### Type:
### Type: [contacts\_TopPeers](../types/contacts\_TopPeers.md)
[contacts\_TopPeers](../types/contacts_TopPeers.md)
### Example:
```
$contacts_topPeersNotModified = ['_' => contacts_topPeersNotModified', ];
```

View File

@ -10,13 +10,11 @@
|id|[int](../types/int.md) | Required|
|ip\_address|[string](../types/string.md) | Required|
|port|[int](../types/int.md) | Required|
### Type:
### Type: [DcOption](../types/DcOption.md)
[DcOption](../types/DcOption.md)
### Example:
```
$dcOption = ['_' => dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ];
```

View File

@ -12,13 +12,11 @@
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|pts|[int](../types/int.md) | Optional|
|draft|[DraftMessage](../types/DraftMessage.md) | Optional|
### Type:
### Type: [Dialog](../types/Dialog.md)
[Dialog](../types/Dialog.md)
### Example:
```
$dialog = ['_' => dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|feature|[string](../types/string.md) | Required|
|description|[string](../types/string.md) | Required|
### Type:
### Type: [DisabledFeature](../types/DisabledFeature.md)
[DisabledFeature](../types/DisabledFeature.md)
### Example:
```
$disabledFeature = ['_' => disabledFeature', 'feature' => string, 'description' => string, ];
```

View File

@ -13,13 +13,11 @@
|dc\_id|[int](../types/int.md) | Required|
|version|[int](../types/int.md) | Required|
|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required|
### Type:
### Type: [Document](../types/Document.md)
[Document](../types/Document.md)
### Example:
```
$document = ['_' => document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [Vector t], ];
```

View File

@ -1,12 +1,10 @@
## Constructor: documentAttributeAnimated
### Type:
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
[DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeAnimated = ['_' => documentAttributeAnimated', ];
```

View File

@ -9,13 +9,11 @@
|title|[string](../types/string.md) | Optional|
|performer|[string](../types/string.md) | Optional|
|waveform|[bytes](../types/bytes.md) | Optional|
### Type:
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
[DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeAudio = ['_' => documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|file\_name|[string](../types/string.md) | Required|
### Type:
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
[DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeFilename = ['_' => documentAttributeFilename', 'file_name' => string, ];
```

View File

@ -1,12 +1,10 @@
## Constructor: documentAttributeHasStickers
### Type:
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
[DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeHasStickers = ['_' => documentAttributeHasStickers', ];
```

View File

@ -6,13 +6,11 @@
|----------|:-------------:|---------:|
|w|[int](../types/int.md) | Required|
|h|[int](../types/int.md) | Required|
### Type:
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
[DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeImageSize = ['_' => documentAttributeImageSize', 'w' => int, 'h' => int, ];
```

View File

@ -8,13 +8,11 @@
|alt|[string](../types/string.md) | Required|
|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required|
|mask\_coords|[MaskCoords](../types/MaskCoords.md) | Optional|
### Type:
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
[DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeSticker = ['_' => documentAttributeSticker', 'mask' => true, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ];
```

View File

@ -7,13 +7,11 @@
|duration|[int](../types/int.md) | Required|
|w|[int](../types/int.md) | Required|
|h|[int](../types/int.md) | Required|
### Type:
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
[DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeVideo = ['_' => documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[long](../types/long.md) | Required|
### Type:
### Type: [Document](../types/Document.md)
[Document](../types/Document.md)
### Example:
```
$documentEmpty = ['_' => documentEmpty', 'id' => long, ];
```

View File

@ -9,13 +9,11 @@
|message|[string](../types/string.md) | Required|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|date|[int](../types/int.md) | Required|
### Type:
### Type: [DraftMessage](../types/DraftMessage.md)
[DraftMessage](../types/DraftMessage.md)
### Example:
```
$draftMessage = ['_' => draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [Vector t], 'date' => int, ];
```

View File

@ -1,12 +1,10 @@
## Constructor: draftMessageEmpty
### Type:
### Type: [DraftMessage](../types/DraftMessage.md)
[DraftMessage](../types/DraftMessage.md)
### Example:
```
$draftMessageEmpty = ['_' => draftMessageEmpty', ];
```

View File

@ -11,13 +11,11 @@
|participant\_id|[int](../types/int.md) | Required|
|g\_a\_or\_b|[bytes](../types/bytes.md) | Required|
|key\_fingerprint|[long](../types/long.md) | Required|
### Type:
### Type: [EncryptedChat](../types/EncryptedChat.md)
[EncryptedChat](../types/EncryptedChat.md)
### Example:
```
$encryptedChat = ['_' => encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Required|
### Type:
### Type: [EncryptedChat](../types/EncryptedChat.md)
[EncryptedChat](../types/EncryptedChat.md)
### Example:
```
$encryptedChatDiscarded = ['_' => encryptedChatDiscarded', 'id' => int, ];
```

View File

@ -5,13 +5,11 @@
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Required|
### Type:
### Type: [EncryptedChat](../types/EncryptedChat.md)
[EncryptedChat](../types/EncryptedChat.md)
### Example:
```
$encryptedChatEmpty = ['_' => encryptedChatEmpty', 'id' => int, ];
```

Some files were not shown because too many files have changed in this diff Show More