-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
573 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: accessPointRule | ||
description: Access point rule | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
--- | ||
# Constructor: accessPointRule | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
Access point rule | ||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | Description | | ||
|----------|---------------|----------|-------------| | ||
|phone\_prefix\_rules|[string](../types/string.md) | Yes|Phone prefix rules| | ||
|dc\_id|[int](../types/int.md) | Yes|DC ID| | ||
|ips|Array of [IpPort](../types/IpPort.md) | Yes|Ips| | ||
|
||
|
||
|
||
### Type: [AccessPointRule](../types/AccessPointRule.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]]; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
accessPointRule={_='accessPointRule', phone_prefix_rules='string', dc_id=int, ips={IpPort}} | ||
|
||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: bankCardOpenUrl | ||
description: bankCardOpenUrl attributes, type and example | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
--- | ||
# Constructor: bankCardOpenUrl | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | | ||
|----------|---------------|----------| | ||
|url|[string](../types/string.md) | Yes| | ||
|name|[string](../types/string.md) | Yes| | ||
|
||
|
||
|
||
### Type: [BankCardOpenUrl](../types/BankCardOpenUrl.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$bankCardOpenUrl = ['_' => 'bankCardOpenUrl', 'url' => 'string', 'name' => 'string']; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
bankCardOpenUrl={_='bankCardOpenUrl', url='string', name='string'} | ||
|
||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: help.configSimple | ||
description: Config simple | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
redirect_from: /API_docs/constructors/help_configSimple.html | ||
--- | ||
# Constructor: help.configSimple | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
Config simple | ||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | Description | | ||
|----------|---------------|----------|-------------| | ||
|date|[int](../types/int.md) | Yes|Date| | ||
|expires|[int](../types/int.md) | Yes|Expires| | ||
|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules| | ||
|
||
|
||
|
||
### Type: [help.ConfigSimple](../types/help.ConfigSimple.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]]; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}} | ||
|
||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: ipPort | ||
description: Ip port | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
--- | ||
# Constructor: ipPort | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
Ip port | ||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | Description | | ||
|----------|---------------|----------|-------------| | ||
|ipv4|[int](../types/int.md) | Yes|Ipv4| | ||
|port|[int](../types/int.md) | Yes|Port| | ||
|
||
|
||
|
||
### Type: [IpPort](../types/IpPort.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int]; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
ipPort={_='ipPort', ipv4=int, port=int} | ||
|
||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: ipPortSecret | ||
description: Ip port secret | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
--- | ||
# Constructor: ipPortSecret | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
Ip port secret | ||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | Description | | ||
|----------|---------------|----------|-------------| | ||
|ipv4|[int](../types/int.md) | Yes|Ipv4| | ||
|port|[int](../types/int.md) | Yes|Port| | ||
|secret|[bytes](../types/bytes.md) | Yes|Secret| | ||
|
||
|
||
|
||
### Type: [IpPort](../types/IpPort.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' => 'bytes']; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
ipPortSecret={_='ipPortSecret', ipv4=int, port=int, secret='bytes'} | ||
|
||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: messageEntityBankCard | ||
description: messageEntityBankCard attributes, type and example | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
--- | ||
# Constructor: messageEntityBankCard | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | | ||
|----------|---------------|----------| | ||
|offset|[int](../types/int.md) | Yes| | ||
|length|[int](../types/int.md) | Yes| | ||
|
||
|
||
|
||
### Type: [MessageEntity](../types/MessageEntity.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$messageEntityBankCard = ['_' => 'messageEntityBankCard', 'offset' => int, 'length' => int]; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
messageEntityBankCard={_='messageEntityBankCard', offset=int, length=int} | ||
|
||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: payments.bankCardData | ||
description: payments.bankCardData attributes, type and example | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
redirect_from: /API_docs/constructors/payments_bankCardData.html | ||
--- | ||
# Constructor: payments.bankCardData | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | | ||
|----------|---------------|----------| | ||
|title|[string](../types/string.md) | Yes| | ||
|open\_urls|Array of [BankCardOpenUrl](../types/BankCardOpenUrl.md) | Yes| | ||
|
||
|
||
|
||
### Type: [payments.BankCardData](../types/payments.BankCardData.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$payments.bankCardData = ['_' => 'payments.bankCardData', 'title' => 'string', 'open_urls' => [BankCardOpenUrl, BankCardOpenUrl]]; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
payments.bankCardData={_='payments.bankCardData', title='string', open_urls={BankCardOpenUrl}} | ||
|
||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: peerSelfLocated | ||
description: peerSelfLocated attributes, type and example | ||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | ||
--- | ||
# Constructor: peerSelfLocated | ||
[Back to constructors index](index.md) | ||
|
||
|
||
|
||
### Attributes: | ||
|
||
| Name | Type | Required | | ||
|----------|---------------|----------| | ||
|expires|[int](../types/int.md) | Yes| | ||
|
||
|
||
|
||
### Type: [PeerLocated](../types/PeerLocated.md) | ||
|
||
|
||
### Example: | ||
|
||
```php | ||
$peerSelfLocated = ['_' => 'peerSelfLocated', 'expires' => int]; | ||
``` | ||
|
||
|
||
Or, if you're into Lua: | ||
|
||
```lua | ||
peerSelfLocated={_='peerSelfLocated', expires=int} | ||
|
||
``` | ||
|
||
|
Oops, something went wrong.