Fixing markdown syntax
This commit is contained in:
parent
ddafe3d879
commit
e3a5cf5ba1
@ -121,10 +121,10 @@ foreach ($TL->methods->method as $key => $method) {
|
||||
';
|
||||
$return = '### Return type: ['.str_replace('_', '\_', $type).'](../types/'.$real_type.'.md)
|
||||
|
||||
### Example:
|
||||
|
||||
';
|
||||
$example = str_replace('[]', '', '
|
||||
$example = str_replace('[]', '', '### Example:
|
||||
|
||||
|
||||
```
|
||||
$MadelineProto = new \danog\MadelineProto\API();
|
||||
if (isset($token)) {
|
||||
@ -247,9 +247,13 @@ foreach ($TL->constructors->predicate as $key => $constructor) {
|
||||
$header = str_replace('_', '\_', '## Constructor: '.$constructor.'
|
||||
|
||||
');
|
||||
$type = '### Type:
|
||||
$table .= '
|
||||
|
||||
|
||||
';
|
||||
$type = '### Type: ['.str_replace('_', '\_', $real_type).'](../types/'.$real_type.'.md)
|
||||
|
||||
|
||||
['.str_replace('_', '\_', $real_type).'](../types/'.$real_type.'.md)
|
||||
';
|
||||
$example = '### Example:
|
||||
|
||||
@ -299,6 +303,13 @@ foreach ($types as $type => $keys) {
|
||||
file_put_contents('types/'.$type.'.md', $header.$constructors);
|
||||
}
|
||||
|
||||
\danog\MadelineProto\Logger::log('Generating types index...');
|
||||
|
||||
file_put_contents('types/index.md', '# Types
|
||||
|
||||
'.$index);
|
||||
|
||||
|
||||
\danog\MadelineProto\Logger::log('Generating additional types...');
|
||||
|
||||
file_put_contents('types/string.md', '## Type: string
|
||||
@ -329,12 +340,6 @@ file_put_contents('types/X.md', '## Type: X
|
||||
|
||||
Represents a TL serialized payload.');
|
||||
|
||||
\danog\MadelineProto\Logger::log('Generating types index...');
|
||||
|
||||
file_put_contents('types/index.md', '# Types
|
||||
|
||||
'.$index);
|
||||
|
||||
file_put_contents('constructors/boolFalse.md', '# boolFalse
|
||||
|
||||
Represents boolean with value equal to `false`.');
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|days|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[AccountDaysTTL](../types/AccountDaysTTL.md)
|
||||
|
||||
|
||||
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|authorizations|Array of [Authorization](../types/Authorization.md) | Required|
|
||||
### Type:
|
||||
|
||||
[account\_Authorizations](../types/account_Authorizations.md)
|
||||
|
||||
|
||||
### Type: [account\_Authorizations](../types/account_Authorizations.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|new\_salt|[bytes](../types/bytes.md) | Required|
|
||||
|email\_unconfirmed\_pattern|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[account\_Password](../types/account_Password.md)
|
||||
|
||||
|
||||
### Type: [account\_Password](../types/account_Password.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -9,9 +9,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [account\_Password](../types/account_Password.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -8,9 +8,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|email|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[account\_PasswordSettings](../types/account_PasswordSettings.md)
|
||||
|
||||
|
||||
### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required|
|
||||
|users|Array of [User](../types/User.md) | Required|
|
||||
### Type:
|
||||
|
||||
[account\_PrivacyRules](../types/account_PrivacyRules.md)
|
||||
|
||||
|
||||
### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|tmp\_sessions|[int](../types/int.md) | Optional|
|
||||
|user|[User](../types/User.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_Authorization](../types/auth_Authorization.md)
|
||||
|
||||
|
||||
### Type: [auth\_Authorization](../types/auth_Authorization.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|phone\_registered|[Bool](../types/Bool.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_CheckedPhone](../types/auth_CheckedPhone.md)
|
||||
|
||||
|
||||
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: auth\_codeTypeCall
|
||||
|
||||
### Type:
|
||||
|
||||
[auth\_CodeType](../types/auth_CodeType.md)
|
||||
|
||||
|
||||
### Type: [auth\_CodeType](../types/auth_CodeType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: auth\_codeTypeFlashCall
|
||||
|
||||
### Type:
|
||||
|
||||
[auth\_CodeType](../types/auth_CodeType.md)
|
||||
|
||||
|
||||
### Type: [auth\_CodeType](../types/auth_CodeType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: auth\_codeTypeSms
|
||||
|
||||
### Type:
|
||||
|
||||
[auth\_CodeType](../types/auth_CodeType.md)
|
||||
|
||||
|
||||
### Type: [auth\_CodeType](../types/auth_CodeType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|id|[int](../types/int.md) | Required|
|
||||
|bytes|[bytes](../types/bytes.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
|
||||
|
||||
|
||||
### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|email\_pattern|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
|
||||
|
||||
|
||||
### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -9,9 +9,12 @@
|
||||
|phone\_code\_hash|[string](../types/string.md) | Required|
|
||||
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|
|
||||
|timeout|[int](../types/int.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[auth\_SentCode](../types/auth_SentCode.md)
|
||||
|
||||
|
||||
### Type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|length|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|length|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|pattern|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|length|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -16,9 +16,12 @@
|
||||
|ip|[string](../types/string.md) | Required|
|
||||
|country|[string](../types/string.md) | Required|
|
||||
|region|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[Authorization](../types/Authorization.md)
|
||||
|
||||
|
||||
### Type: [Authorization](../types/Authorization.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|command|[string](../types/string.md) | Required|
|
||||
|description|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[BotCommand](../types/BotCommand.md)
|
||||
|
||||
|
||||
### Type: [BotCommand](../types/BotCommand.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|user\_id|[int](../types/int.md) | Required|
|
||||
|description|[string](../types/string.md) | Required|
|
||||
|commands|Array of [BotCommand](../types/BotCommand.md) | Required|
|
||||
### Type:
|
||||
|
||||
[BotInfo](../types/BotInfo.md)
|
||||
|
||||
|
||||
### Type: [BotInfo](../types/BotInfo.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -11,9 +11,12 @@
|
||||
|title|[string](../types/string.md) | Optional|
|
||||
|description|[string](../types/string.md) | Optional|
|
||||
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required|
|
||||
### Type:
|
||||
|
||||
[BotInlineResult](../types/BotInlineResult.md)
|
||||
|
||||
|
||||
### Type: [BotInlineResult](../types/BotInlineResult.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|caption|[string](../types/string.md) | Required|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -8,9 +8,12 @@
|
||||
|first\_name|[string](../types/string.md) | Required|
|
||||
|last\_name|[string](../types/string.md) | Required|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|geo|[GeoPoint](../types/GeoPoint.md) | Required|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -10,9 +10,12 @@
|
||||
|provider|[string](../types/string.md) | Required|
|
||||
|venue\_id|[string](../types/string.md) | Required|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -8,9 +8,12 @@
|
||||
|message|[string](../types/string.md) | Required|
|
||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -16,9 +16,12 @@
|
||||
|h|[int](../types/int.md) | Optional|
|
||||
|duration|[int](../types/int.md) | Optional|
|
||||
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required|
|
||||
### Type:
|
||||
|
||||
[BotInlineResult](../types/BotInlineResult.md)
|
||||
|
||||
|
||||
### Type: [BotInlineResult](../types/BotInlineResult.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -24,9 +24,12 @@
|
||||
|date|[int](../types/int.md) | Required|
|
||||
|version|[int](../types/int.md) | Required|
|
||||
|restriction\_reason|[string](../types/string.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Type: [Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -9,9 +9,12 @@
|
||||
|id|[int](../types/int.md) | Required|
|
||||
|access\_hash|[long](../types/long.md) | Required|
|
||||
|title|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Type: [Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -21,9 +21,12 @@
|
||||
|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:
|
||||
|
||||
[ChatFull](../types/ChatFull.md)
|
||||
|
||||
|
||||
### Type: [ChatFull](../types/ChatFull.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|ranges|Array of [MessageRange](../types/MessageRange.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||
|
||||
|
||||
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelMessagesFilterEmpty
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||
|
||||
|
||||
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|user\_id|[int](../types/int.md) | Required|
|
||||
|date|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|user\_id|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelParticipantsAdmins
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelParticipantsBots
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelParticipantsKicked
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelParticipantsRecent
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelRoleEditor
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelRoleEmpty
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: channelRoleModerator
|
||||
|
||||
### Type:
|
||||
|
||||
[ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||
|
||||
|
||||
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required|
|
||||
|users|Array of [User](../types/User.md) | Required|
|
||||
### Type:
|
||||
|
||||
[channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
|
||||
|
||||
|
||||
### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -17,9 +17,12 @@
|
||||
|date|[int](../types/int.md) | Required|
|
||||
|version|[int](../types/int.md) | Required|
|
||||
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Type: [Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|id|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Type: [Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|id|[int](../types/int.md) | Required|
|
||||
|title|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Type: [Chat](../types/Chat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -10,9 +10,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChatFull](../types/ChatFull.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -12,9 +12,12 @@
|
||||
|photo|[ChatPhoto](../types/ChatPhoto.md) | Required|
|
||||
|participants\_count|[int](../types/int.md) | Required|
|
||||
|participants|Array of [User](../types/User.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[ChatInvite](../types/ChatInvite.md)
|
||||
|
||||
|
||||
### Type: [ChatInvite](../types/ChatInvite.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|chat|[Chat](../types/Chat.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ChatInvite](../types/ChatInvite.md)
|
||||
|
||||
|
||||
### Type: [ChatInvite](../types/ChatInvite.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: chatInviteEmpty
|
||||
|
||||
### Type:
|
||||
|
||||
[ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||
|
||||
|
||||
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|link|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||
|
||||
|
||||
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|user\_id|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ChatParticipant](../types/ChatParticipant.md)
|
||||
|
||||
|
||||
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [ChatParticipants](../types/ChatParticipants.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|chat\_id|[int](../types/int.md) | Required|
|
||||
|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[ChatParticipants](../types/ChatParticipants.md)
|
||||
|
||||
|
||||
### Type: [ChatParticipants](../types/ChatParticipants.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|photo\_small|[FileLocation](../types/FileLocation.md) | Required|
|
||||
|photo\_big|[FileLocation](../types/FileLocation.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ChatPhoto](../types/ChatPhoto.md)
|
||||
|
||||
|
||||
### Type: [ChatPhoto](../types/ChatPhoto.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: chatPhotoEmpty
|
||||
|
||||
### Type:
|
||||
|
||||
[ChatPhoto](../types/ChatPhoto.md)
|
||||
|
||||
|
||||
### Type: [ChatPhoto](../types/ChatPhoto.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -27,9 +27,12 @@
|
||||
|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:
|
||||
|
||||
[Config](../types/Config.md)
|
||||
|
||||
|
||||
### Type: [Config](../types/Config.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|user\_id|[int](../types/int.md) | Required|
|
||||
|mutual|[Bool](../types/Bool.md) | Required|
|
||||
### Type:
|
||||
|
||||
[Contact](../types/Contact.md)
|
||||
|
||||
|
||||
### Type: [Contact](../types/Contact.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|user\_id|[int](../types/int.md) | Required|
|
||||
|date|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ContactBlocked](../types/ContactBlocked.md)
|
||||
|
||||
|
||||
### Type: [ContactBlocked](../types/ContactBlocked.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: contactLinkContact
|
||||
|
||||
### Type:
|
||||
|
||||
[ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Type: [ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: contactLinkHasPhone
|
||||
|
||||
### Type:
|
||||
|
||||
[ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Type: [ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: contactLinkNone
|
||||
|
||||
### Type:
|
||||
|
||||
[ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Type: [ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: contactLinkUnknown
|
||||
|
||||
### Type:
|
||||
|
||||
[ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Type: [ContactLink](../types/ContactLink.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|user\_id|[int](../types/int.md) | Required|
|
||||
|status|[UserStatus](../types/UserStatus.md) | Required|
|
||||
### Type:
|
||||
|
||||
[ContactStatus](../types/ContactStatus.md)
|
||||
|
||||
|
||||
### Type: [ContactStatus](../types/ContactStatus.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required|
|
||||
|users|Array of [User](../types/User.md) | Required|
|
||||
### Type:
|
||||
|
||||
[contacts\_Blocked](../types/contacts_Blocked.md)
|
||||
|
||||
|
||||
### Type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|contacts|Array of [Contact](../types/Contact.md) | Required|
|
||||
|users|Array of [User](../types/User.md) | Required|
|
||||
### Type:
|
||||
|
||||
[contacts\_Contacts](../types/contacts_Contacts.md)
|
||||
|
||||
|
||||
### Type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: contacts\_contactsNotModified
|
||||
|
||||
### Type:
|
||||
|
||||
[contacts\_Contacts](../types/contacts_Contacts.md)
|
||||
|
||||
|
||||
### Type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [contacts\_Found](../types/contacts_Found.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [contacts\_Link](../types/contacts_Link.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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)
|
||||
|
||||
|
||||
### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|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:
|
||||
|
||||
[contacts\_TopPeers](../types/contacts_TopPeers.md)
|
||||
|
||||
|
||||
### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: contacts\_topPeersNotModified
|
||||
|
||||
### Type:
|
||||
|
||||
[contacts\_TopPeers](../types/contacts_TopPeers.md)
|
||||
|
||||
|
||||
### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -10,9 +10,12 @@
|
||||
|id|[int](../types/int.md) | Required|
|
||||
|ip\_address|[string](../types/string.md) | Required|
|
||||
|port|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[DcOption](../types/DcOption.md)
|
||||
|
||||
|
||||
### Type: [DcOption](../types/DcOption.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -12,9 +12,12 @@
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required|
|
||||
|pts|[int](../types/int.md) | Optional|
|
||||
|draft|[DraftMessage](../types/DraftMessage.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[Dialog](../types/Dialog.md)
|
||||
|
||||
|
||||
### Type: [Dialog](../types/Dialog.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|feature|[string](../types/string.md) | Required|
|
||||
|description|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[DisabledFeature](../types/DisabledFeature.md)
|
||||
|
||||
|
||||
### Type: [DisabledFeature](../types/DisabledFeature.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -13,9 +13,12 @@
|
||||
|dc\_id|[int](../types/int.md) | Required|
|
||||
|version|[int](../types/int.md) | Required|
|
||||
|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required|
|
||||
### Type:
|
||||
|
||||
[Document](../types/Document.md)
|
||||
|
||||
|
||||
### Type: [Document](../types/Document.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: documentAttributeAnimated
|
||||
|
||||
### Type:
|
||||
|
||||
[DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -9,9 +9,12 @@
|
||||
|title|[string](../types/string.md) | Optional|
|
||||
|performer|[string](../types/string.md) | Optional|
|
||||
|waveform|[bytes](../types/bytes.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|file\_name|[string](../types/string.md) | Required|
|
||||
### Type:
|
||||
|
||||
[DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: documentAttributeHasStickers
|
||||
|
||||
### Type:
|
||||
|
||||
[DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -6,9 +6,12 @@
|
||||
|----------|:-------------:|---------:|
|
||||
|w|[int](../types/int.md) | Required|
|
||||
|h|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -8,9 +8,12 @@
|
||||
|alt|[string](../types/string.md) | Required|
|
||||
|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required|
|
||||
|mask\_coords|[MaskCoords](../types/MaskCoords.md) | Optional|
|
||||
### Type:
|
||||
|
||||
[DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -7,9 +7,12 @@
|
||||
|duration|[int](../types/int.md) | Required|
|
||||
|w|[int](../types/int.md) | Required|
|
||||
|h|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|id|[long](../types/long.md) | Required|
|
||||
### Type:
|
||||
|
||||
[Document](../types/Document.md)
|
||||
|
||||
|
||||
### Type: [Document](../types/Document.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -9,9 +9,12 @@
|
||||
|message|[string](../types/string.md) | Required|
|
||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||
|date|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[DraftMessage](../types/DraftMessage.md)
|
||||
|
||||
|
||||
### Type: [DraftMessage](../types/DraftMessage.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,11 @@
|
||||
## Constructor: draftMessageEmpty
|
||||
|
||||
### Type:
|
||||
|
||||
[DraftMessage](../types/DraftMessage.md)
|
||||
|
||||
|
||||
### Type: [DraftMessage](../types/DraftMessage.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -11,9 +11,12 @@
|
||||
|participant\_id|[int](../types/int.md) | Required|
|
||||
|g\_a\_or\_b|[bytes](../types/bytes.md) | Required|
|
||||
|key\_fingerprint|[long](../types/long.md) | Required|
|
||||
### Type:
|
||||
|
||||
[EncryptedChat](../types/EncryptedChat.md)
|
||||
|
||||
|
||||
### Type: [EncryptedChat](../types/EncryptedChat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|id|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[EncryptedChat](../types/EncryptedChat.md)
|
||||
|
||||
|
||||
### Type: [EncryptedChat](../types/EncryptedChat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
@ -5,9 +5,12 @@
|
||||
| Name | Type | Required |
|
||||
|----------|:-------------:|---------:|
|
||||
|id|[int](../types/int.md) | Required|
|
||||
### Type:
|
||||
|
||||
[EncryptedChat](../types/EncryptedChat.md)
|
||||
|
||||
|
||||
### Type: [EncryptedChat](../types/EncryptedChat.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user