1.0 KiB
1.0 KiB
title | description | image |
---|---|---|
dcOption | Data centre | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: dcOption
Data centre
Attributes:
Name | Type | Required | Description |
---|---|---|---|
ipv6 | Bool | Optional | Whether the specified IP is an IPv6 address |
media_only | Bool | Optional | Whether this DC should only be used to download or upload files |
id | int | Yes | DC ID |
ip_address | string | Yes | IP address of DC |
port | int | Yes | Port |
Type: DcOption
Example:
$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int];
Or, if you're into Lua:
dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address='string', port=int}