fix
This commit is contained in:
parent
f2602fb377
commit
1eb2fc0b4f
35
docs/API_docs/constructors/cdnConfig.md
Normal file
35
docs/API_docs/constructors/cdnConfig.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: cdnConfig
|
||||||
|
description: cdnConfig attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: cdnConfig
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [CdnConfig](../types/CdnConfig.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
docs/API_docs/constructors/cdnPublicKey.md
Normal file
36
docs/API_docs/constructors/cdnPublicKey.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
title: cdnPublicKey
|
||||||
|
description: cdnPublicKey attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: cdnPublicKey
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|dc\_id|[int](../types/int.md) | Yes|
|
||||||
|
|public\_key|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [CdnPublicKey](../types/CdnPublicKey.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
docs/API_docs/constructors/inputMessagesFilterRoundVideo.md
Normal file
30
docs/API_docs/constructors/inputMessagesFilterRoundVideo.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: inputMessagesFilterRoundVideo
|
||||||
|
description: inputMessagesFilterRoundVideo attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: inputMessagesFilterRoundVideo
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [MessagesFilter](../types/MessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$inputMessagesFilterRoundVideo = ['_' => 'inputMessagesFilterRoundVideo', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
inputMessagesFilterRoundVideo={_='inputMessagesFilterRoundVideo', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
docs/API_docs/constructors/inputMessagesFilterRoundVoice.md
Normal file
30
docs/API_docs/constructors/inputMessagesFilterRoundVoice.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: inputMessagesFilterRoundVoice
|
||||||
|
description: inputMessagesFilterRoundVoice attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: inputMessagesFilterRoundVoice
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [MessagesFilter](../types/MessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$inputMessagesFilterRoundVoice = ['_' => 'inputMessagesFilterRoundVoice', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
inputMessagesFilterRoundVoice={_='inputMessagesFilterRoundVoice', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
docs/API_docs/constructors/pageBlockChannel.md
Normal file
35
docs/API_docs/constructors/pageBlockChannel.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: pageBlockChannel
|
||||||
|
description: pageBlockChannel attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: pageBlockChannel
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|channel|[Chat](../types/Chat.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [PageBlock](../types/PageBlock.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$pageBlockChannel = ['_' => 'pageBlockChannel', 'channel' => Chat, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
pageBlockChannel={_='pageBlockChannel', channel=Chat, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
docs/API_docs/constructors/sendMessageRecordRoundAction.md
Normal file
30
docs/API_docs/constructors/sendMessageRecordRoundAction.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: sendMessageRecordRoundAction
|
||||||
|
description: sendMessageRecordRoundAction attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: sendMessageRecordRoundAction
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [SendMessageAction](../types/SendMessageAction.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$sendMessageRecordRoundAction = ['_' => 'sendMessageRecordRoundAction', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
sendMessageRecordRoundAction={_='sendMessageRecordRoundAction', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
docs/API_docs/constructors/sendMessageUploadRoundAction.md
Normal file
35
docs/API_docs/constructors/sendMessageUploadRoundAction.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: sendMessageUploadRoundAction
|
||||||
|
description: sendMessageUploadRoundAction attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: sendMessageUploadRoundAction
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|progress|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [SendMessageAction](../types/SendMessageAction.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$sendMessageUploadRoundAction = ['_' => 'sendMessageUploadRoundAction', 'progress' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
sendMessageUploadRoundAction={_='sendMessageUploadRoundAction', progress=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
docs/API_docs/constructors/upload_cdnFile.md
Normal file
35
docs/API_docs/constructors/upload_cdnFile.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: upload.cdnFile
|
||||||
|
description: upload_cdnFile attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: upload.cdnFile
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|bytes|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [upload\_CdnFile](../types/upload_CdnFile.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$upload_cdnFile = ['_' => 'upload.cdnFile', 'bytes' => bytes, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
upload_cdnFile={_='upload.cdnFile', bytes=bytes, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md
Normal file
35
docs/API_docs/constructors/upload_cdnFileReuploadNeeded.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: upload.cdnFileReuploadNeeded
|
||||||
|
description: upload_cdnFileReuploadNeeded attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: upload.cdnFileReuploadNeeded
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|request\_token|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [upload\_CdnFile](../types/upload_CdnFile.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$upload_cdnFileReuploadNeeded = ['_' => 'upload.cdnFileReuploadNeeded', 'request_token' => bytes, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
upload_cdnFileReuploadNeeded={_='upload.cdnFileReuploadNeeded', request_token=bytes, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
38
docs/API_docs/constructors/upload_fileCdnRedirect.md
Normal file
38
docs/API_docs/constructors/upload_fileCdnRedirect.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: upload.fileCdnRedirect
|
||||||
|
description: upload_fileCdnRedirect attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: upload.fileCdnRedirect
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|dc\_id|[int](../types/int.md) | Yes|
|
||||||
|
|file\_token|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|encryption\_key|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|encryption\_iv|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [upload\_File](../types/upload_File.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => bytes, 'encryption_key' => bytes, 'encryption_iv' => bytes, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token=bytes, encryption_key=bytes, encryption_iv=bytes, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
39
docs/API_docs/methods/help_getCdnConfig.md
Normal file
39
docs/API_docs/methods/help_getCdnConfig.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: help.getCdnConfig
|
||||||
|
description: help.getCdnConfig parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: help.getCdnConfig
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [CdnConfig](../types/CdnConfig.md)
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$this->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$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);
|
||||||
|
}
|
||||||
|
|
||||||
|
$CdnConfig = $MadelineProto->help->getCdnConfig();
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
CdnConfig = help.getCdnConfig({})
|
||||||
|
```
|
||||||
|
|
46
docs/API_docs/methods/upload_getCdnFile.md
Normal file
46
docs/API_docs/methods/upload_getCdnFile.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: upload.getCdnFile
|
||||||
|
description: upload.getCdnFile parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: upload.getCdnFile
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|file\_token|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|offset|[int](../types/int.md) | Yes|
|
||||||
|
|limit|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [upload\_CdnFile](../types/upload_CdnFile.md)
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$this->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$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);
|
||||||
|
}
|
||||||
|
|
||||||
|
$upload_CdnFile = $MadelineProto->upload->getCdnFile(['file_token' => bytes, 'offset' => int, 'limit' => int, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
upload_CdnFile = upload.getCdnFile({file_token=bytes, offset=int, limit=int, })
|
||||||
|
```
|
||||||
|
|
45
docs/API_docs/methods/upload_reuploadCdnFile.md
Normal file
45
docs/API_docs/methods/upload_reuploadCdnFile.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
title: upload.reuploadCdnFile
|
||||||
|
description: upload.reuploadCdnFile parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: upload.reuploadCdnFile
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|file\_token|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|request\_token|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$this->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$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);
|
||||||
|
}
|
||||||
|
|
||||||
|
$Bool = $MadelineProto->upload->reuploadCdnFile(['file_token' => bytes, 'request_token' => bytes, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
Bool = upload.reuploadCdnFile({file_token=bytes, request_token=bytes, })
|
||||||
|
```
|
||||||
|
|
21
docs/API_docs/types/CdnConfig.md
Normal file
21
docs/API_docs/types/CdnConfig.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: CdnConfig
|
||||||
|
description: constructors and methods of type CdnConfig
|
||||||
|
---
|
||||||
|
## Type: CdnConfig
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[cdnConfig](../constructors/cdnConfig.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
[$MadelineProto->help->getCdnConfig](../methods/help_getCdnConfig.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
19
docs/API_docs/types/CdnPublicKey.md
Normal file
19
docs/API_docs/types/CdnPublicKey.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
title: CdnPublicKey
|
||||||
|
description: constructors and methods of type CdnPublicKey
|
||||||
|
---
|
||||||
|
## Type: CdnPublicKey
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[cdnPublicKey](../constructors/cdnPublicKey.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
|
||||||
|
|
23
docs/API_docs/types/upload_CdnFile.md
Normal file
23
docs/API_docs/types/upload_CdnFile.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
title: upload_CdnFile
|
||||||
|
description: constructors and methods of type upload_CdnFile
|
||||||
|
---
|
||||||
|
## Type: upload\_CdnFile
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[upload\_cdnFileReuploadNeeded](../constructors/upload_cdnFileReuploadNeeded.md)
|
||||||
|
|
||||||
|
[upload\_cdnFile](../constructors/upload_cdnFile.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
[$MadelineProto->upload->getCdnFile](../methods/upload_getCdnFile.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
14
old_docs/API_docs_v65/README.md
Normal file
14
old_docs/API_docs_v65/README.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
title: MadelineProto API documentation (layer v65)
|
||||||
|
description: MadelineProto API documentation (layer v65)
|
||||||
|
---
|
||||||
|
# MadelineProto API documentation (layer v65)
|
||||||
|
|
||||||
|
[Methods](methods/)
|
||||||
|
|
||||||
|
[Constructors](constructors/)
|
||||||
|
|
||||||
|
[Types](types/)
|
||||||
|
|
||||||
|
|
||||||
|
[Back to main documentation](..)
|
1613
old_docs/API_docs_v65/constructors/README.md
Normal file
1613
old_docs/API_docs_v65/constructors/README.md
Normal file
File diff suppressed because it is too large
Load Diff
35
old_docs/API_docs_v65/constructors/accountDaysTTL.md
Normal file
35
old_docs/API_docs_v65/constructors/accountDaysTTL.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
accountDaysTTL={_='accountDaysTTL', days=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/account_authorizations.md
Normal file
35
old_docs/API_docs_v65/constructors/account_authorizations.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_Authorizations](../types/account_Authorizations.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
account_authorizations={_='account.authorizations', authorizations={Authorization}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/account_noPassword.md
Normal file
36
old_docs/API_docs_v65/constructors/account_noPassword.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_Password](../types/account_Password.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
39
old_docs/API_docs_v65/constructors/account_password.md
Normal file
39
old_docs/API_docs_v65/constructors/account_password.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|new\_salt|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|hint|[string](../types/string.md) | Yes|
|
||||||
|
|has\_recovery|[Bool](../types/Bool.md) | Yes|
|
||||||
|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 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, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
account_password={_='account.password', current_salt=bytes, new_salt=bytes, hint=string, has_recovery=Bool, email_unconfirmed_pattern=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
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, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
account_passwordInputSettings={_='account.passwordInputSettings', new_salt=bytes, new_password_hash=bytes, hint=string, email=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
account_passwordSettings={_='account.passwordSettings', email=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/account_privacyRules.md
Normal file
36
old_docs/API_docs_v65/constructors/account_privacyRules.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/account_tmpPassword.md
Normal file
36
old_docs/API_docs_v65/constructors/account_tmpPassword.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
title: account.tmpPassword
|
||||||
|
description: account_tmpPassword attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: account.tmpPassword
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|tmp\_password|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|valid\_until|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [account\_TmpPassword](../types/account_TmpPassword.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
account_tmpPassword={_='account.tmpPassword', tmp_password=bytes, valid_until=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/auth_authorization.md
Normal file
36
old_docs/API_docs_v65/constructors/auth_authorization.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
title: auth.authorization
|
||||||
|
description: auth_authorization attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.authorization
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|tmp\_sessions|[int](../types/int.md) | Optional|
|
||||||
|
|user|[User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/auth_checkedPhone.md
Normal file
35
old_docs/API_docs_v65/constructors/auth_checkedPhone.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/auth_codeTypeCall.md
Normal file
30
old_docs/API_docs_v65/constructors/auth_codeTypeCall.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: auth.codeTypeCall
|
||||||
|
description: auth_codeTypeCall attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.codeTypeCall
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_CodeType](../types/auth_CodeType.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_codeTypeCall={_='auth.codeTypeCall', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md
Normal file
30
old_docs/API_docs_v65/constructors/auth_codeTypeFlashCall.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: auth.codeTypeFlashCall
|
||||||
|
description: auth_codeTypeFlashCall attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.codeTypeFlashCall
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_CodeType](../types/auth_CodeType.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_codeTypeFlashCall={_='auth.codeTypeFlashCall', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/auth_codeTypeSms.md
Normal file
30
old_docs/API_docs_v65/constructors/auth_codeTypeSms.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: auth.codeTypeSms
|
||||||
|
description: auth_codeTypeSms attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.codeTypeSms
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_CodeType](../types/auth_CodeType.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_codeTypeSms={_='auth.codeTypeSms', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|bytes|[bytes](../types/bytes.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/auth_passwordRecovery.md
Normal file
35
old_docs/API_docs_v65/constructors/auth_passwordRecovery.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
39
old_docs/API_docs_v65/constructors/auth_sentCode.md
Normal file
39
old_docs/API_docs_v65/constructors/auth_sentCode.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
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) | Optional|
|
||||||
|
|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|
|
||||||
|
|phone\_code\_hash|[string](../types/string.md) | Yes|
|
||||||
|
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|
|
||||||
|
|timeout|[int](../types/int.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md
Normal file
35
old_docs/API_docs_v65/constructors/auth_sentCodeTypeApp.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: auth.sentCodeTypeApp
|
||||||
|
description: auth_sentCodeTypeApp attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.sentCodeTypeApp
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|length|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md
Normal file
35
old_docs/API_docs_v65/constructors/auth_sentCodeTypeCall.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: auth.sentCodeTypeCall
|
||||||
|
description: auth_sentCodeTypeCall attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.sentCodeTypeCall
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|length|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: auth.sentCodeTypeFlashCall
|
||||||
|
description: auth_sentCodeTypeFlashCall attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.sentCodeTypeFlashCall
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|pattern|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md
Normal file
35
old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
title: auth.sentCodeTypeSms
|
||||||
|
description: auth_sentCodeTypeSms attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: auth.sentCodeTypeSms
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|length|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
46
old_docs/API_docs_v65/constructors/authorization.md
Normal file
46
old_docs/API_docs_v65/constructors/authorization.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|device\_model|[string](../types/string.md) | Yes|
|
||||||
|
|platform|[string](../types/string.md) | Yes|
|
||||||
|
|system\_version|[string](../types/string.md) | Yes|
|
||||||
|
|api\_id|[int](../types/int.md) | Yes|
|
||||||
|
|app\_name|[string](../types/string.md) | Yes|
|
||||||
|
|app\_version|[string](../types/string.md) | Yes|
|
||||||
|
|date\_created|[int](../types/int.md) | Yes|
|
||||||
|
|date\_active|[int](../types/int.md) | Yes|
|
||||||
|
|ip|[string](../types/string.md) | Yes|
|
||||||
|
|country|[string](../types/string.md) | Yes|
|
||||||
|
|region|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 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, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
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, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
old_docs/API_docs_v65/constructors/bad_msg_notification.md
Normal file
37
old_docs/API_docs_v65/constructors/bad_msg_notification.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
title: bad_msg_notification
|
||||||
|
description: bad_msg_notification attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: bad\_msg\_notification
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|bad\_msg\_id|[long](../types/long.md) | Yes|
|
||||||
|
|bad\_msg\_seqno|[int](../types/int.md) | Yes|
|
||||||
|
|error\_code|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BadMsgNotification](../types/BadMsgNotification.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
38
old_docs/API_docs_v65/constructors/bad_server_salt.md
Normal file
38
old_docs/API_docs_v65/constructors/bad_server_salt.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: bad_server_salt
|
||||||
|
description: bad_server_salt attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: bad\_server\_salt
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|bad\_msg\_id|[long](../types/long.md) | Yes|
|
||||||
|
|bad\_msg\_seqno|[int](../types/int.md) | Yes|
|
||||||
|
|error\_code|[int](../types/int.md) | Yes|
|
||||||
|
|new\_server\_salt|[long](../types/long.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BadMsgNotification](../types/BadMsgNotification.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
8
old_docs/API_docs_v65/constructors/boolFalse.md
Normal file
8
old_docs/API_docs_v65/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
old_docs/API_docs_v65/constructors/boolTrue.md
Normal file
8
old_docs/API_docs_v65/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`.
|
36
old_docs/API_docs_v65/constructors/botCommand.md
Normal file
36
old_docs/API_docs_v65/constructors/botCommand.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|description|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotCommand](../types/BotCommand.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botCommand={_='botCommand', command=string, description=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
old_docs/API_docs_v65/constructors/botInfo.md
Normal file
37
old_docs/API_docs_v65/constructors/botInfo.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|description|[string](../types/string.md) | Yes|
|
||||||
|
|commands|Array of [BotCommand](../types/BotCommand.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInfo](../types/BotInfo.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [BotCommand], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botInfo={_='botInfo', user_id=int, description=string, commands={BotCommand}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
41
old_docs/API_docs_v65/constructors/botInlineMediaResult.md
Normal file
41
old_docs/API_docs_v65/constructors/botInlineMediaResult.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMediaResult
|
||||||
|
description: botInlineMediaResult attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMediaResult
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|id|[string](../types/string.md) | Yes|
|
||||||
|
|type|[string](../types/string.md) | Yes|
|
||||||
|
|photo|[Photo](../types/Photo.md) | Optional|
|
||||||
|
|document|[Document](../types/Document.md) | Optional|
|
||||||
|
|title|[string](../types/string.md) | Optional|
|
||||||
|
|description|[string](../types/string.md) | Optional|
|
||||||
|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineResult](../types/BotInlineResult.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botInlineMediaResult={_='botInlineMediaResult', id=string, type=string, photo=Photo, document=Document, title=string, description=string, send_message=BotInlineMessage, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption=string, reply_markup=ReplyMarkup, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Usage of reply_markup
|
||||||
|
|
||||||
|
You can provide bot API reply_markup objects here.
|
||||||
|
|
||||||
|
|
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMessageMediaContact
|
||||||
|
description: botInlineMessageMediaContact attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMessageMediaContact
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|phone\_number|[string](../types/string.md) | Yes|
|
||||||
|
|first\_name|[string](../types/string.md) | Yes|
|
||||||
|
|last\_name|[string](../types/string.md) | Yes|
|
||||||
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number=string, first_name=string, last_name=string, reply_markup=ReplyMarkup, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Usage of reply_markup
|
||||||
|
|
||||||
|
You can provide bot API reply_markup objects here.
|
||||||
|
|
||||||
|
|
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMessageMediaGeo
|
||||||
|
description: botInlineMessageMediaGeo attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMessageMediaGeo
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|
||||||
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Usage of reply_markup
|
||||||
|
|
||||||
|
You can provide bot API reply_markup objects here.
|
||||||
|
|
||||||
|
|
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: botInlineMessageMediaVenue
|
||||||
|
description: botInlineMessageMediaVenue attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: botInlineMessageMediaVenue
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|
||||||
|
|title|[string](../types/string.md) | Yes|
|
||||||
|
|address|[string](../types/string.md) | Yes|
|
||||||
|
|provider|[string](../types/string.md) | Yes|
|
||||||
|
|venue\_id|[string](../types/string.md) | Yes|
|
||||||
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title=string, address=string, provider=string, venue_id=string, reply_markup=ReplyMarkup, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Usage of reply_markup
|
||||||
|
|
||||||
|
You can provide bot API reply_markup objects here.
|
||||||
|
|
||||||
|
|
44
old_docs/API_docs_v65/constructors/botInlineMessageText.md
Normal file
44
old_docs/API_docs_v65/constructors/botInlineMessageText.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||||
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Usage of reply_markup
|
||||||
|
|
||||||
|
You can provide bot API reply_markup objects here.
|
||||||
|
|
||||||
|
|
46
old_docs/API_docs_v65/constructors/botInlineResult.md
Normal file
46
old_docs/API_docs_v65/constructors/botInlineResult.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|type|[string](../types/string.md) | Yes|
|
||||||
|
|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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 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, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
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, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
54
old_docs/API_docs_v65/constructors/channel.md
Normal file
54
old_docs/API_docs_v65/constructors/channel.md
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
---
|
||||||
|
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|
|
||||||
|
|democracy|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|signatures|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|min|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Yes|
|
||||||
|
|access\_hash|[long](../types/long.md) | Optional|
|
||||||
|
|title|[string](../types/string.md) | Yes|
|
||||||
|
|username|[string](../types/string.md) | Optional|
|
||||||
|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|version|[int](../types/int.md) | Yes|
|
||||||
|
|restriction\_reason|[string](../types/string.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
39
old_docs/API_docs_v65/constructors/channelForbidden.md
Normal file
39
old_docs/API_docs_v65/constructors/channelForbidden.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: channelForbidden
|
||||||
|
description: channelForbidden attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelForbidden
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|broadcast|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|megagroup|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Yes|
|
||||||
|
|access\_hash|[long](../types/long.md) | Yes|
|
||||||
|
|title|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
51
old_docs/API_docs_v65/constructors/channelFull.md
Normal file
51
old_docs/API_docs_v65/constructors/channelFull.md
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
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|
|
||||||
|
|can\_set\_username|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|id|[int](../types/int.md) | Yes|
|
||||||
|
|about|[string](../types/string.md) | Yes|
|
||||||
|
|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) | Yes|
|
||||||
|
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|
|
||||||
|
|unread\_count|[int](../types/int.md) | Yes|
|
||||||
|
|chat\_photo|[Photo](../types/Photo.md) | Yes|
|
||||||
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||||
|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|
||||||
|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|
||||||
|
|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)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, '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' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, 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={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/channelMessagesFilter.md
Normal file
36
old_docs/API_docs_v65/constructors/channelMessagesFilter.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
title: channelMessagesFilter
|
||||||
|
description: channelMessagesFilter attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelMessagesFilter
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|ranges|Array of [MessageRange](../types/MessageRange.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelMessagesFilterEmpty
|
||||||
|
description: channelMessagesFilterEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelMessagesFilterEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelMessagesFilterEmpty={_='channelMessagesFilterEmpty', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/channelParticipant.md
Normal file
36
old_docs/API_docs_v65/constructors/channelParticipant.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipant={_='channelParticipant', user_id=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantCreator={_='channelParticipantCreator', user_id=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantEditor={_='channelParticipantEditor', user_id=int, inviter_id=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|kicked\_by|[int](../types/int.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantKicked={_='channelParticipantKicked', user_id=int, kicked_by=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantModerator={_='channelParticipantModerator', user_id=int, inviter_id=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
old_docs/API_docs_v65/constructors/channelParticipantSelf.md
Normal file
37
old_docs/API_docs_v65/constructors/channelParticipantSelf.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsAdmins
|
||||||
|
description: channelParticipantsAdmins attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsAdmins
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantsAdmins={_='channelParticipantsAdmins', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsBots
|
||||||
|
description: channelParticipantsBots attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsBots
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsBots = ['_' => 'channelParticipantsBots', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantsBots={_='channelParticipantsBots', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsKicked
|
||||||
|
description: channelParticipantsKicked attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsKicked
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantsKicked={_='channelParticipantsKicked', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelParticipantsRecent
|
||||||
|
description: channelParticipantsRecent attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelParticipantsRecent
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelParticipantsRecent={_='channelParticipantsRecent', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/channelRoleEditor.md
Normal file
30
old_docs/API_docs_v65/constructors/channelRoleEditor.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelRoleEditor
|
||||||
|
description: channelRoleEditor attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelRoleEditor
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelRoleEditor = ['_' => 'channelRoleEditor', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelRoleEditor={_='channelRoleEditor', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/channelRoleEmpty.md
Normal file
30
old_docs/API_docs_v65/constructors/channelRoleEmpty.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelRoleEmpty
|
||||||
|
description: channelRoleEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelRoleEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelRoleEmpty = ['_' => 'channelRoleEmpty', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelRoleEmpty={_='channelRoleEmpty', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/channelRoleModerator.md
Normal file
30
old_docs/API_docs_v65/constructors/channelRoleModerator.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: channelRoleModerator
|
||||||
|
description: channelRoleModerator attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelRoleModerator
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelRoleModerator = ['_' => 'channelRoleModerator', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelRoleModerator={_='channelRoleModerator', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
47
old_docs/API_docs_v65/constructors/chat.md
Normal file
47
old_docs/API_docs_v65/constructors/chat.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|title|[string](../types/string.md) | Yes|
|
||||||
|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|
||||||
|
|participants\_count|[int](../types/int.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|version|[int](../types/int.md) | Yes|
|
||||||
|
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/chatEmpty.md
Normal file
35
old_docs/API_docs_v65/constructors/chatEmpty.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatEmpty={_='chatEmpty', id=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/chatForbidden.md
Normal file
36
old_docs/API_docs_v65/constructors/chatForbidden.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|title|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Chat](../types/Chat.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatForbidden={_='chatForbidden', id=int, title=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
40
old_docs/API_docs_v65/constructors/chatFull.md
Normal file
40
old_docs/API_docs_v65/constructors/chatFull.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|
|
||||||
|
|chat\_photo|[Photo](../types/Photo.md) | Yes|
|
||||||
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||||
|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|
||||||
|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatFull](../types/ChatFull.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
42
old_docs/API_docs_v65/constructors/chatInvite.md
Normal file
42
old_docs/API_docs_v65/constructors/chatInvite.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|
||||||
|
|participants\_count|[int](../types/int.md) | Yes|
|
||||||
|
|participants|Array of [User](../types/User.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatInvite](../types/ChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/chatInviteAlready.md
Normal file
35
old_docs/API_docs_v65/constructors/chatInviteAlready.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatInvite](../types/ChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatInviteAlready={_='chatInviteAlready', chat=Chat, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/chatInviteEmpty.md
Normal file
30
old_docs/API_docs_v65/constructors/chatInviteEmpty.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: chatInviteEmpty
|
||||||
|
description: chatInviteEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatInviteEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInviteEmpty = ['_' => 'chatInviteEmpty', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatInviteEmpty={_='chatInviteEmpty', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/chatInviteExported.md
Normal file
35
old_docs/API_docs_v65/constructors/chatInviteExported.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatInviteExported={_='chatInviteExported', link=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
old_docs/API_docs_v65/constructors/chatParticipant.md
Normal file
37
old_docs/API_docs_v65/constructors/chatParticipant.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
old_docs/API_docs_v65/constructors/chatParticipantAdmin.md
Normal file
37
old_docs/API_docs_v65/constructors/chatParticipantAdmin.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|inviter\_id|[int](../types/int.md) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
35
old_docs/API_docs_v65/constructors/chatParticipantCreator.md
Normal file
35
old_docs/API_docs_v65/constructors/chatParticipantCreator.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipant](../types/ChatParticipant.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatParticipantCreator={_='chatParticipantCreator', user_id=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
old_docs/API_docs_v65/constructors/chatParticipants.md
Normal file
37
old_docs/API_docs_v65/constructors/chatParticipants.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Yes|
|
||||||
|
|version|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipants](../types/ChatParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatParticipants](../types/ChatParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/chatPhoto.md
Normal file
36
old_docs/API_docs_v65/constructors/chatPhoto.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatPhoto](../types/ChatPhoto.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/chatPhotoEmpty.md
Normal file
30
old_docs/API_docs_v65/constructors/chatPhotoEmpty.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: chatPhotoEmpty
|
||||||
|
description: chatPhotoEmpty attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: chatPhotoEmpty
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChatPhoto](../types/ChatPhoto.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
chatPhotoEmpty={_='chatPhotoEmpty', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
38
old_docs/API_docs_v65/constructors/client_DH_inner_data.md
Normal file
38
old_docs/API_docs_v65/constructors/client_DH_inner_data.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: client_DH_inner_data
|
||||||
|
description: client_DH_inner_data attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: client\_DH\_inner\_data
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|nonce|[int128](../types/int128.md) | Yes|
|
||||||
|
|server\_nonce|[int128](../types/int128.md) | Yes|
|
||||||
|
|retry\_id|[long](../types/long.md) | Yes|
|
||||||
|
|g\_b|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Client\_DH\_Inner\_Data](../types/Client_DH_Inner_Data.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => string, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b=string, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
64
old_docs/API_docs_v65/constructors/config.md
Normal file
64
old_docs/API_docs_v65/constructors/config.md
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
---
|
||||||
|
title: config
|
||||||
|
description: config attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: config
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|:-------------:|---------:|
|
||||||
|
|phonecalls\_enabled|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|expires|[int](../types/int.md) | Yes|
|
||||||
|
|test\_mode|[Bool](../types/Bool.md) | Yes|
|
||||||
|
|this\_dc|[int](../types/int.md) | Yes|
|
||||||
|
|dc\_options|Array of [DcOption](../types/DcOption.md) | Yes|
|
||||||
|
|chat\_size\_max|[int](../types/int.md) | Yes|
|
||||||
|
|megagroup\_size\_max|[int](../types/int.md) | Yes|
|
||||||
|
|forwarded\_count\_max|[int](../types/int.md) | Yes|
|
||||||
|
|online\_update\_period\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|offline\_blur\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|offline\_idle\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|online\_cloud\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|notify\_cloud\_delay\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|notify\_default\_delay\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|chat\_big\_size|[int](../types/int.md) | Yes|
|
||||||
|
|push\_chat\_period\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|push\_chat\_limit|[int](../types/int.md) | Yes|
|
||||||
|
|saved\_gifs\_limit|[int](../types/int.md) | Yes|
|
||||||
|
|edit\_time\_limit|[int](../types/int.md) | Yes|
|
||||||
|
|rating\_e\_decay|[int](../types/int.md) | Yes|
|
||||||
|
|stickers\_recent\_limit|[int](../types/int.md) | Yes|
|
||||||
|
|tmp\_sessions|[int](../types/int.md) | Optional|
|
||||||
|
|pinned\_dialogs\_count\_max|[int](../types/int.md) | Yes|
|
||||||
|
|call\_receive\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|call\_ring\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|call\_packet\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|
|me\_url\_prefix|[string](../types/string.md) | Yes|
|
||||||
|
|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Config](../types/Config.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => string, 'disabled_features' => [DisabledFeature], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, 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, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix=string, disabled_features={DisabledFeature}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/contact.md
Normal file
36
old_docs/API_docs_v65/constructors/contact.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|mutual|[Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Contact](../types/Contact.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contact={_='contact', user_id=int, mutual=Bool, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/contactBlocked.md
Normal file
36
old_docs/API_docs_v65/constructors/contactBlocked.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|date|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactBlocked](../types/ContactBlocked.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contactBlocked={_='contactBlocked', user_id=int, date=int, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/contactLinkContact.md
Normal file
30
old_docs/API_docs_v65/constructors/contactLinkContact.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkContact
|
||||||
|
description: contactLinkContact attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkContact
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkContact = ['_' => 'contactLinkContact', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contactLinkContact={_='contactLinkContact', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/contactLinkHasPhone.md
Normal file
30
old_docs/API_docs_v65/constructors/contactLinkHasPhone.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkHasPhone
|
||||||
|
description: contactLinkHasPhone attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkHasPhone
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contactLinkHasPhone={_='contactLinkHasPhone', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/contactLinkNone.md
Normal file
30
old_docs/API_docs_v65/constructors/contactLinkNone.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkNone
|
||||||
|
description: contactLinkNone attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkNone
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkNone = ['_' => 'contactLinkNone', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contactLinkNone={_='contactLinkNone', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
30
old_docs/API_docs_v65/constructors/contactLinkUnknown.md
Normal file
30
old_docs/API_docs_v65/constructors/contactLinkUnknown.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
title: contactLinkUnknown
|
||||||
|
description: contactLinkUnknown attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: contactLinkUnknown
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactLink](../types/ContactLink.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactLinkUnknown = ['_' => 'contactLinkUnknown', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contactLinkUnknown={_='contactLinkUnknown', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/contactStatus.md
Normal file
36
old_docs/API_docs_v65/constructors/contactStatus.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|status|[UserStatus](../types/UserStatus.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ContactStatus](../types/ContactStatus.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contactStatus={_='contactStatus', user_id=int, status=UserStatus, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/contacts_blocked.md
Normal file
36
old_docs/API_docs_v65/constructors/contacts_blocked.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_blocked = ['_' => 'contacts.blocked', 'blocked' => [ContactBlocked], 'users' => [User], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contacts_blocked={_='contacts.blocked', blocked={ContactBlocked}, users={User}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
old_docs/API_docs_v65/constructors/contacts_blockedSlice.md
Normal file
37
old_docs/API_docs_v65/constructors/contacts_blockedSlice.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Blocked](../types/contacts_Blocked.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_blockedSlice = ['_' => 'contacts.blockedSlice', 'count' => int, 'blocked' => [ContactBlocked], 'users' => [User], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contacts_blockedSlice={_='contacts.blockedSlice', count=int, blocked={ContactBlocked}, users={User}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
36
old_docs/API_docs_v65/constructors/contacts_contacts.md
Normal file
36
old_docs/API_docs_v65/constructors/contacts_contacts.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
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) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [contacts\_Contacts](../types/contacts_Contacts.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$contacts_contacts = ['_' => 'contacts.contacts', 'contacts' => [Contact], 'users' => [User], ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contacts_contacts={_='contacts.contacts', contacts={Contact}, users={User}, }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
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', ];
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
contacts_contactsNotModified={_='contacts.contactsNotModified', }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user