1003 B
1003 B
title | description | image |
---|---|---|
dcOption | DC option | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: dcOption
DC option
Attributes:
Name | Type | Required | Description |
---|---|---|---|
ipv6 | Bool | Optional | Ipv6? |
media_only | Bool | Optional | Media only? |
tcpo_only | Bool | Optional | Tcpo only? |
id | int | Yes | ID |
ip_address | string | Yes | Ip address |
port | int | Yes | Port |
Type: DcOption
Example:
$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int];
Or, if you're into Lua:
dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address='string', port=int}